ONE - On-device Neural Engine
|
#include <ResizeNearestNeighbor.h>
Public Member Functions | |
ResizeNearestNeighbor (const Tensor *input, const Tensor *shape, Tensor *output, const ResizeNearestNeighborParams ¶ms) | |
const Tensor * | input () const |
const Tensor * | size () const |
Tensor * | output () const |
void | configure () override |
void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< ResizeNearestNeighborParams > | |
const ResizeNearestNeighborParams & | 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< ResizeNearestNeighborParams > | |
KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const ResizeNearestNeighborParams ¶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< ResizeNearestNeighborParams > | |
const ResizeNearestNeighborParams | _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 ResizeNearestNeighbor.h.
luci_interpreter::kernels::ResizeNearestNeighbor::ResizeNearestNeighbor | ( | const Tensor * | input, |
const Tensor * | shape, | ||
Tensor * | output, | ||
const ResizeNearestNeighborParams & | params | ||
) |
Definition at line 30 of file ResizeNearestNeighbor.cpp.
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 37 of file ResizeNearestNeighbor.cpp.
References luci_interpreter::Shape::dim(), input(), LUCI_INTERPRETER_CHECK, output(), output_shape, luci_interpreter::Tensor::resize(), luci_interpreter::Tensor::shape(), and size().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 51 of file ResizeNearestNeighbor.cpp.
References luci_interpreter::ResizeNearestNeighborParams::align_corners, luci_interpreter::kernels::getTensorShape(), luci_interpreter::ResizeNearestNeighborParams::half_pixel_centers, input(), output(), luci_interpreter::KernelWithParams< ResizeNearestNeighborParams >::params(), and size().
|
inline |
Definition at line 34 of file ResizeNearestNeighbor.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and ResizeNearestNeighbor().
|
inline |
Definition at line 36 of file ResizeNearestNeighbor.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure(), and execute().
|
inline |
Definition at line 35 of file ResizeNearestNeighbor.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and ResizeNearestNeighbor().