ONE - On-device Neural Engine
|
#include <MirrorPad.h>
Public Member Functions | |
MirrorPad (const Tensor *input, const Tensor *paddings, Tensor *output, const MirrorPadParams ¶ms) | |
const Tensor * | input () const |
const Tensor * | paddings () const |
Tensor * | output () const |
void | configure () override |
void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< MirrorPadParams > | |
const MirrorPadParams & | 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< MirrorPadParams > | |
KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const MirrorPadParams ¶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< MirrorPadParams > | |
const MirrorPadParams | _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 MirrorPad.h.
luci_interpreter::kernels::MirrorPad::MirrorPad | ( | const Tensor * | input, |
const Tensor * | paddings, | ||
Tensor * | output, | ||
const MirrorPadParams & | params | ||
) |
Definition at line 29 of file MirrorPad.cpp.
References input(), and paddings().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 35 of file MirrorPad.cpp.
References luci_interpreter::Shape::dim(), input(), LUCI_INTERPRETER_CHECK, luci_interpreter::Shape::num_dims(), output(), output_shape, paddings(), luci_interpreter::Tensor::resize(), and luci_interpreter::Tensor::shape().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 147 of file MirrorPad.cpp.
References luci_interpreter::Tensor::data(), luci_interpreter::Shape::dim(), luci_interpreter::Tensor::element_type(), input(), luci_interpreter::MirrorPadParams::mode, luci_interpreter::Shape::num_dims(), luci_interpreter::Shape::num_elements(), offset(), output(), paddings(), luci_interpreter::KernelWithParams< MirrorPadParams >::params(), and luci_interpreter::Tensor::shape().
|
inline |
Definition at line 34 of file MirrorPad.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and MirrorPad().
|
inline |
Definition at line 36 of file MirrorPad.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure(), and execute().
|
inline |
Definition at line 35 of file MirrorPad.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and MirrorPad().