ONE - On-device Neural Engine
|
#include <LSTM.h>
Data Structures | |
struct | Param |
Public Types | |
enum | Input { INPUT = 0 , INPUT_TO_INPUT_WEIGHTS = 1 , INPUT_TO_FORGET_WEIGHTS = 2 , INPUT_TO_CELL_WEIGHTS = 3 , INPUT_TO_OUTPUT_WEIGHTS = 4 , RECURRENT_TO_INPUT_WEIGHTS = 5 , RECURRENT_TO_FORGET_WEIGHTS = 6 , RECURRENT_TO_CELL_WEIGHTS = 7 , RECURRENT_TO_OUTPUT_WEIGHTS = 8 , CELL_TO_INPUT_WEIGHTS = 9 , CELL_TO_FORGET_WEIGHTS = 10 , CELL_TO_OUTPUT_WEIGHTS = 11 , INPUT_GATE_BIAS = 12 , FORGET_GATE_BIAS = 13 , CELL_BIAS = 14 , OUTPUT_GATE_BIAS = 15 , PROJECTION_WEIGHTS = 16 , PROJECTION_BIAS = 17 , OUTPUT_STATE_IN = 18 , CELL_STATE_IN = 19 , INPUT_LAYER_NORMALIZATION_WEIGHTS = 20 , FORGET_LAYER_NORMALIZATION_WEIGHTS = 21 , CELL_LAYER_NORMALIZATION_WEIGHTS = 22 , OUTPUT_LAYER_NORMALIZATION_WEIGHTS = 23 } |
enum | Output { SCRATCH_BUFFER = 0 , OUTPUT_STATE_OUT = 1 , CELL_STATE_OUT = 2 , OUTPUT = 3 } |
Definition at line 33 of file LSTM.h.
Enumerator | |
---|---|
SCRATCH_BUFFER | |
OUTPUT_STATE_OUT | |
CELL_STATE_OUT | |
OUTPUT |
onert::ir::operation::LSTM::LSTM | ( | const OperandIndexSequence & | inputs, |
const OperandIndexSequence & | outputs, | ||
const Param & | param | ||
) |
Definition at line 29 of file LSTM.cc.
|
overridevirtual |
|
overridevirtual |
Reimplemented from onert::ir::IOperation.
Definition at line 35 of file LSTM.cc.
References onert::ir::Operation::getOutputs(), onert::ir::IOperation::name(), and SCRATCH_BUFFER.
Referenced by onert::ir::OperationDumper::visit().
|
inlinefinalvirtual |
|
inline |
Definition at line 86 of file LSTM.h.
Referenced by onert::backend::acl_common::kernelGenLSTM(), onert::backend::cpu::KernelGenerator::visit(), onert::compiler::ShapeValidator::visit(), and onert::exec::DynamicShapeInferer::visit().