ONE - On-device Neural Engine
|
#include <SVDF.h>
Public Member Functions | |
SVDF (const Tensor *input, const Tensor *weight_feature, const Tensor *weight_time, const Tensor *bias, const Tensor *input_activation_state, Tensor *output, Tensor *scratchpad_activation_state, Tensor *scratchpad_1, Tensor *scratchpad_2, Tensor *scratchpad_3, Tensor *scratchpad_4, Tensor *scratchpad_5, Tensor *scratchpad_6, const SVDFParams ¶ms) | |
const Tensor * | input () const |
const Tensor * | weight_feature () const |
const Tensor * | weight_time () const |
const Tensor * | bias () const |
const Tensor * | input_activation_state () const |
Tensor * | output () const |
void | configure () override |
void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< SVDFParams > | |
const SVDFParams & | params () const |
Public Member Functions inherited from luci_interpreter::Kernel | |
virtual | ~Kernel ()=default |
const std::vector< const Tensor * > & | getInputTensors () const |
const std::vector< Tensor * > & | getOutputTensors () const |
Additional Inherited Members | |
Protected Member Functions inherited from luci_interpreter::KernelWithParams< SVDFParams > | |
KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const SVDFParams ¶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< SVDFParams > | |
const SVDFParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
const std::vector< const Tensor * > | _inputs |
const std::vector< Tensor * > | _outputs |
luci_interpreter::kernels::SVDF::SVDF | ( | const Tensor * | input, |
const Tensor * | weight_feature, | ||
const Tensor * | weight_time, | ||
const Tensor * | bias, | ||
const Tensor * | input_activation_state, | ||
Tensor * | output, | ||
Tensor * | scratchpad_activation_state, | ||
Tensor * | scratchpad_1, | ||
Tensor * | scratchpad_2, | ||
Tensor * | scratchpad_3, | ||
Tensor * | scratchpad_4, | ||
Tensor * | scratchpad_5, | ||
Tensor * | scratchpad_6, | ||
const SVDFParams & | params | ||
) |
Definition at line 29 of file SVDF.cpp.
References bias(), input(), input_activation_state(), weight_feature(), and weight_time().
|
inline |
Definition at line 40 of file SVDF.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and SVDF().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 42 of file SVDF.cpp.
References bias(), luci_interpreter::Shape::dim(), luci_interpreter::Kernel::getOutputTensors(), input(), input_activation_state(), LUCI_INTERPRETER_CHECK, luci_interpreter::Shape::num_dims(), output(), luci_interpreter::KernelWithParams< SVDFParams >::params(), luci::RELU, luci_interpreter::Tensor::resize(), luci_interpreter::Tensor::shape(), luci_interpreter::SVDFParams::svdf_rank, weight_feature(), and weight_time().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 131 of file SVDF.cpp.
References input(), and weight_feature().
|
inline |
Definition at line 37 of file SVDF.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and SVDF().
|
inline |
Definition at line 41 of file SVDF.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and SVDF().
|
inline |
Definition at line 43 of file SVDF.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().
|
inline |
Definition at line 38 of file SVDF.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and SVDF().
|
inline |
Definition at line 39 of file SVDF.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and SVDF().