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

Public Member Functions | |
| Add (const Tensor *input1, const Tensor *input2, Tensor *output, const AddParams ¶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< AddParams > | |
| const AddParams & | 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< AddParams > | |
| KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const AddParams ¶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< AddParams > | |
| const AddParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
| const std::vector< const Tensor * > | _inputs |
| const std::vector< Tensor * > | _outputs |
| luci_interpreter::kernels::Add::Add | ( | const Tensor * | input1, |
| const Tensor * | input2, | ||
| Tensor * | output, | ||
| const AddParams & | params | ||
| ) |
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 38 of file Add.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 53 of file Add.cpp.
References input1(), and luci::must_cast().
Definition at line 33 of file Add.h.
References luci_interpreter::Kernel::_inputs.
Referenced by Add(), configure(), and execute().
Definition at line 34 of file Add.h.
References luci_interpreter::Kernel::_inputs.
Referenced by Add(), and configure().
|
inline |
Definition at line 35 of file Add.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().