ONE - On-device Neural Engine
|
#include <Slice.h>
Public Member Functions | |
Slice (const Tensor *input, const Tensor *begin, const Tensor *size, Tensor *output) | |
const Tensor * | input () const |
const Tensor * | begin () const |
const Tensor * | size () 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::Slice::Slice | ( | const Tensor * | input, |
const Tensor * | begin, | ||
const Tensor * | size, | ||
Tensor * | output | ||
) |
Definition at line 31 of file Slice.cpp.
|
inline |
Definition at line 33 of file Slice.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Slice().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 74 of file Slice.cpp.
References begin(), input(), luci_interpreter::kernels::max_dim, output(), luci_interpreter::Tensor::resize(), and size().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 97 of file Slice.cpp.
References begin(), luci_interpreter::kernels::getTensorShape(), input(), luci_interpreter::kernels::max_dim, output(), and size().
|
inline |
Definition at line 32 of file Slice.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Slice().
|
inline |
Definition at line 35 of file Slice.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure(), and execute().
|
inline |
Definition at line 34 of file Slice.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Slice().