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