ONE - On-device Neural Engine
|
#include <Transpose.h>
Public Member Functions | |
Transpose (const Tensor *input, const Tensor *perm, Tensor *output) | |
const Tensor * | input () const |
const Tensor * | perm () 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 |
Definition at line 28 of file Transpose.h.
luci_interpreter::kernels::Transpose::Transpose | ( | const Tensor * | input, |
const Tensor * | perm, | ||
Tensor * | output | ||
) |
Definition at line 31 of file Transpose.cpp.
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 36 of file Transpose.cpp.
References luci_interpreter::Shape::dim(), input(), luci_interpreter::Shape::num_dims(), output(), output_shape, perm(), luci_interpreter::Tensor::resize(), and luci_interpreter::Tensor::shape().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 58 of file Transpose.cpp.
References luci_interpreter::Shape::dim(), luci_interpreter::kernels::getTensorShape(), input(), output(), perm(), luci_interpreter::Tensor::shape(), and size.
|
inline |
Definition at line 33 of file Transpose.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Transpose().
|
inline |
Definition at line 35 of file Transpose.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure(), and execute().
|
inline |
Definition at line 34 of file Transpose.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Transpose().