ONE - On-device Neural Engine
|
#include <DepthToSpace.h>
Public Member Functions | |
DepthToSpace (const Tensor *input, Tensor *output, const DepthToSpaceParams ¶ms) | |
const Tensor * | input () const |
Tensor * | output () const |
void | configure () override |
void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< DepthToSpaceParams > | |
const DepthToSpaceParams & | 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< DepthToSpaceParams > | |
KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const DepthToSpaceParams ¶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< DepthToSpaceParams > | |
const DepthToSpaceParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
const std::vector< const Tensor * > | _inputs |
const std::vector< Tensor * > | _outputs |
Definition at line 30 of file DepthToSpace.h.
luci_interpreter::kernels::DepthToSpace::DepthToSpace | ( | const Tensor * | input, |
Tensor * | output, | ||
const DepthToSpaceParams & | params | ||
) |
Definition at line 26 of file DepthToSpace.cpp.
References input().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 31 of file DepthToSpace.cpp.
References luci_interpreter::DepthToSpaceParams::block_size, luci_interpreter::Shape::dim(), input(), LUCI_INTERPRETER_CHECK, output(), output_shape, luci_interpreter::KernelWithParams< DepthToSpaceParams >::params(), luci_interpreter::Tensor::resize(), and luci_interpreter::Tensor::shape().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 58 of file DepthToSpace.cpp.
References luci_interpreter::DepthToSpaceParams::block_size, luci_interpreter::kernels::getTensorShape(), input(), output(), and luci_interpreter::KernelWithParams< DepthToSpaceParams >::params().
|
inline |
Definition at line 35 of file DepthToSpace.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), DepthToSpace(), and execute().
|
inline |
Definition at line 36 of file DepthToSpace.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure(), and execute().