|
ONE - On-device Neural Engine
|
#include <BatchMatMul.h>

Public Member Functions | |
| BatchMatMul (const Tensor *x, const Tensor *y, Tensor *output, Tensor *x_tmp, Tensor *y_tmp, const BatchMatMulParams ¶ms) | |
| const Tensor * | x () const |
| const Tensor * | y () const |
| Tensor * | output () const |
| void | configure () override |
| void | execute () const override |
| BatchMatMul (const Tensor *x, const Tensor *y, Tensor *output, Tensor *x_tmp, Tensor *y_tmp, const BatchMatMulParams ¶ms) | |
| const Tensor * | x () const |
| const Tensor * | y () const |
| Tensor * | output () const |
| void | configure () override |
| void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< BatchMatMulParams > | |
| const BatchMatMulParams & | 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< BatchMatMulParams > | |
| KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const BatchMatMulParams ¶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< BatchMatMulParams > | |
| const BatchMatMulParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
| const std::vector< const Tensor * > | _inputs |
| const std::vector< Tensor * > | _outputs |
Definition at line 28 of file BatchMatMul.h.
| luci_interpreter::kernels::BatchMatMul::BatchMatMul | ( | const Tensor * | x, |
| const Tensor * | y, | ||
| Tensor * | output, | ||
| Tensor * | x_tmp, | ||
| Tensor * | y_tmp, | ||
| const BatchMatMulParams & | params | ||
| ) |
Definition at line 46 of file BatchMatMul.cpp.
| luci_interpreter::kernels::BatchMatMul::BatchMatMul | ( | const Tensor * | x, |
| const Tensor * | y, | ||
| Tensor * | output, | ||
| Tensor * | x_tmp, | ||
| Tensor * | y_tmp, | ||
| const BatchMatMulParams & | params | ||
| ) |
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 52 of file BatchMatMul.cpp.
References luci_interpreter::BatchMatMulParams::adj_x, luci_interpreter::BatchMatMulParams::adj_y, luci_interpreter::kernels::getTensorShape(), LUCI_INTERPRETER_CHECK, luci::must_cast(), output(), output_shape, luci_interpreter::KernelWithParams< BatchMatMulParams >::params(), luci_interpreter::Tensor::resize(), x(), and y().
|
overridevirtual |
Implements luci_interpreter::Kernel.
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 151 of file BatchMatMul.cpp.
References luci_interpreter::BatchMatMulParams::adj_x, luci_interpreter::BatchMatMulParams::adj_y, luci_interpreter_pal::BatchMatMul(), luci_interpreter::kernels::getTensorShape(), luci::must_cast(), output(), luci_interpreter::KernelWithParams< BatchMatMulParams >::params(), luci_interpreter::kernels::TransposeRowsColumns(), x(), and y().
|
overridevirtual |
Implements luci_interpreter::Kernel.
|
inline |
Definition at line 36 of file BatchMatMul.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure(), and execute().
|
inline |
Definition at line 34 of file BatchMatMul.h.
References luci_interpreter::Kernel::_inputs.
Referenced by BatchMatMul(), configure(), and execute().
Definition at line 35 of file BatchMatMul.h.
References luci_interpreter::Kernel::_inputs.
Referenced by BatchMatMul(), configure(), and execute().