ONE - On-device Neural Engine
|
#include <UnidirectionalSequenceLSTM.h>
Additional Inherited Members | |
Protected Member Functions inherited from luci_interpreter::KernelWithParams< UnidirectionalSequenceLSTMParams > | |
KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const UnidirectionalSequenceLSTMParams ¶ms) | |
Protected Member Functions inherited from luci_interpreter::Kernel | |
Kernel (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs) | |
Protected Attributes inherited from luci_interpreter::KernelWithParams< UnidirectionalSequenceLSTMParams > | |
const UnidirectionalSequenceLSTMParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
const std::vector< const Tensor * > | _inputs |
const std::vector< Tensor * > | _outputs |
Definition at line 29 of file UnidirectionalSequenceLSTM.h.
luci_interpreter::kernels::UnidirectionalSequenceLSTM::UnidirectionalSequenceLSTM | ( | const Tensor * | input, |
const Tensor * | input_to_input_weights, | ||
const Tensor * | input_to_forget_weights, | ||
const Tensor * | input_to_cell_weights, | ||
const Tensor * | input_to_output_weights, | ||
const Tensor * | recurrent_to_input_weights, | ||
const Tensor * | recurrent_to_forget_weights, | ||
const Tensor * | recurrent_to_cell_weights, | ||
const Tensor * | recurrent_to_output_weights, | ||
const Tensor * | cell_to_input_weights, | ||
const Tensor * | cell_to_forget_weights, | ||
const Tensor * | cell_to_output_weights, | ||
const Tensor * | input_gate_bias, | ||
const Tensor * | forget_gate_bias, | ||
const Tensor * | cell_gate_bias, | ||
const Tensor * | output_gate_bias, | ||
const Tensor * | projection_weights, | ||
const Tensor * | projection_bias, | ||
const Tensor * | output_state, | ||
const Tensor * | cell_state, | ||
const Tensor * | input_layer_norm_coefficients, | ||
const Tensor * | forget_layer_norm_coefficients, | ||
const Tensor * | cell_layer_norm_coefficients, | ||
const Tensor * | output_layer_norm_coefficients, | ||
Tensor * | output, | ||
Tensor * | scratchpad_1, | ||
Tensor * | scratchpad_2, | ||
Tensor * | scratchpad_3, | ||
const UnidirectionalSequenceLSTMParams & | params | ||
) |
Definition at line 440 of file UnidirectionalSequenceLSTM.cpp.
References cell_gate_bias(), cell_layer_norm_coefficients(), cell_state(), cell_to_forget_weights(), cell_to_input_weights(), cell_to_output_weights(), forget_gate_bias(), forget_layer_norm_coefficients(), input(), input_gate_bias(), input_layer_norm_coefficients(), input_to_cell_weights(), input_to_forget_weights(), input_to_input_weights(), input_to_output_weights(), output_gate_bias(), output_layer_norm_coefficients(), output_state(), projection_bias(), projection_weights(), recurrent_to_cell_weights(), recurrent_to_forget_weights(), recurrent_to_input_weights(), and recurrent_to_output_weights().
|
inline |
Definition at line 75 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 86 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 82 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and UnidirectionalSequenceLSTM().
|
inline |
Definition at line 70 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 69 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 71 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 751 of file UnidirectionalSequenceLSTM.cpp.
References cell_state(), luci_interpreter::Shape::dim(), forget_layer_norm_coefficients(), luci_interpreter::Kernel::getInputTensors(), luci_interpreter::Kernel::getOutputTensors(), input(), input_to_input_weights(), input_to_output_weights(), LUCI_INTERPRETER_CHECK, luci_interpreter::Shape::num_dims(), luci_interpreter::Shape::num_elements(), output(), output_shape, output_state(), luci_interpreter::KernelWithParams< UnidirectionalSequenceLSTMParams >::params(), recurrent_to_output_weights(), luci_interpreter::Tensor::resize(), luci_interpreter::Tensor::shape(), size, and luci_interpreter::UnidirectionalSequenceLSTMParams::time_major.
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 824 of file UnidirectionalSequenceLSTM.cpp.
References input().
|
inline |
Definition at line 74 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 85 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and UnidirectionalSequenceLSTM().
|
inline |
Definition at line 57 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and UnidirectionalSequenceLSTM().
|
inline |
Definition at line 73 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 84 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 61 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 60 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 59 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and UnidirectionalSequenceLSTM().
|
inline |
Definition at line 62 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and UnidirectionalSequenceLSTM().
|
inline |
Definition at line 89 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().
|
inline |
Definition at line 76 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 87 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 81 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and UnidirectionalSequenceLSTM().
|
inline |
Definition at line 79 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 78 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 66 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 65 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 64 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by UnidirectionalSequenceLSTM().
|
inline |
Definition at line 67 of file UnidirectionalSequenceLSTM.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and UnidirectionalSequenceLSTM().