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