ONE - On-device Neural Engine
|
#include <Reshape.h>
Public Member Functions | |
Reshape (const Tensor *input, const Tensor *shape, Tensor *output) | |
const Tensor * | input () const |
const Tensor * | shape () 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::Reshape::Reshape | ( | const Tensor * | input, |
const Tensor * | shape, | ||
Tensor * | output | ||
) |
Definition at line 84 of file Reshape.cpp.
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 89 of file Reshape.cpp.
References input(), output(), output_shape, luci_interpreter::Tensor::resize(), and shape().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 96 of file Reshape.cpp.
References luci_interpreter::Tensor::data(), luci_interpreter::getDataTypeSize(), input(), luci_interpreter::Shape::num_elements(), output(), and luci_interpreter::Tensor::shape().
|
inline |
Definition at line 32 of file Reshape.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Reshape().
|
inline |
Definition at line 34 of file Reshape.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure(), and execute().
|
inline |
Definition at line 33 of file Reshape.h.
References luci_interpreter::Kernel::_inputs.
Referenced by RandomDataGenerator.RandomDataGenerator::_gen_float32(), RandomDataGenerator.RandomDataGenerator::_gen_int16(), RandomDataGenerator.RandomDataGenerator::_gen_uint8(), configure(), and Reshape().