ONE - On-device Neural Engine
|
#include <Mul.h>
Public Member Functions | |
Mul (const Tensor *input1, const Tensor *input2, Tensor *output, const MulParams ¶ms) | |
const Tensor * | input1 () const |
const Tensor * | input2 () const |
Tensor * | output () const |
void | configure () override |
void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< MulParams > | |
const MulParams & | 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< MulParams > | |
KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const MulParams ¶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< MulParams > | |
const MulParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
const std::vector< const Tensor * > | _inputs |
const std::vector< Tensor * > | _outputs |
luci_interpreter::kernels::Mul::Mul | ( | const Tensor * | input1, |
const Tensor * | input2, | ||
Tensor * | output, | ||
const MulParams & | params | ||
) |
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 39 of file Mul.cpp.
References luci_interpreter::kernels::calculateShapeForBroadcast(), input1(), input2(), LUCI_INTERPRETER_CHECK, output(), luci_interpreter::Tensor::resize(), and size.
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 54 of file Mul.cpp.
References input1().
|
inline |
Definition at line 36 of file Mul.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Mul().
|
inline |
Definition at line 37 of file Mul.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and Mul().
|
inline |
Definition at line 38 of file Mul.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().