ONE - On-device Neural Engine
|
#include <Shape.h>
Public Member Functions | |
ShapeKernel (const Tensor *input, Tensor *output, const ShapeParams ¶ms) | |
const Tensor * | input () const |
Tensor * | output () const |
void | configure () override |
void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< ShapeParams > | |
const ShapeParams & | 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< ShapeParams > | |
KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const ShapeParams ¶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< ShapeParams > | |
const ShapeParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
const std::vector< const Tensor * > | _inputs |
const std::vector< Tensor * > | _outputs |
luci_interpreter::kernels::ShapeKernel::ShapeKernel | ( | const Tensor * | input, |
Tensor * | output, | ||
const ShapeParams & | params | ||
) |
Definition at line 25 of file Shape.cpp.
References input().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 30 of file Shape.cpp.
References input(), LUCI_INTERPRETER_CHECK, output(), output_shape, luci_interpreter::Tensor::resize(), and luci_interpreter::Tensor::shape().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 42 of file Shape.cpp.
References luci_interpreter::KernelWithParams< ShapeParams >::params().
|
inline |
Definition at line 33 of file Shape.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and ShapeKernel().
|
inline |
Definition at line 34 of file Shape.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().