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

Public Member Functions | |
| Unpack (const Tensor *input, std::vector< Tensor * > outputs, const UnpackParams ¶ms) | |
| const Tensor * | input () const |
| Tensor * | output (int index) const |
| void | configure () override |
| void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< UnpackParams > | |
| const UnpackParams & | 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< UnpackParams > | |
| KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const UnpackParams ¶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< UnpackParams > | |
| const UnpackParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
| const std::vector< const Tensor * > | _inputs |
| const std::vector< Tensor * > | _outputs |
| luci_interpreter::kernels::Unpack::Unpack | ( | const Tensor * | input, |
| std::vector< Tensor * > | outputs, | ||
| const UnpackParams & | params | ||
| ) |
Definition at line 31 of file Unpack.cpp.
References input().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 36 of file Unpack.cpp.
References luci_interpreter::Kernel::_outputs, luci_interpreter::KernelWithParams< UnpackParams >::_params, luci_interpreter::UnpackParams::axis, luci_interpreter::Tensor::element_type(), input(), luci::must_cast(), luci_interpreter::Shape::num_dims(), output(), output_shape, luci_interpreter::Tensor::resize(), and luci_interpreter::Tensor::shape().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 70 of file Unpack.cpp.
References input(), and luci::must_cast().
Definition at line 33 of file Unpack.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Unpack().
|
inline |
Definition at line 34 of file Unpack.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().