ONE - On-device Neural Engine
|
#include <Pad.h>
Public Member Functions | |
Pad (const Tensor *input, const Tensor *paddings, Tensor *output) | |
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::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::Kernel | |
Kernel (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs) | |
Protected Attributes inherited from luci_interpreter::Kernel | |
const std::vector< const Tensor * > | _inputs |
const std::vector< Tensor * > | _outputs |
luci_interpreter::kernels::Pad::Pad | ( | const Tensor * | input, |
const Tensor * | paddings, | ||
Tensor * | output | ||
) |
Definition at line 30 of file Pad.cpp.
References input(), and paddings().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 35 of file Pad.cpp.
References luci_interpreter::Shape::dim(), input(), 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 63 of file Pad.cpp.
References luci_interpreter::kernels::getTensorShape(), input(), luci_interpreter::Shape::num_dims(), output(), paddings(), luci_interpreter::Tensor::shape(), and luci_interpreter::Tensor::zero_point().
|
inline |
Definition at line 32 of file Pad.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Pad().
|
inline |
Definition at line 34 of file Pad.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure(), and execute().
|
inline |
Definition at line 33 of file Pad.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Pad().