ONE - On-device Neural Engine
|
#include <Gather.h>
Public Member Functions | |
Gather (const Tensor *params, const Tensor *indices, Tensor *output, const GatherParams &gparams) | |
const Tensor * | params () const |
const Tensor * | indices () const |
Tensor * | output () const |
void | configure () override |
void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< GatherParams > | |
const GatherParams & | 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< GatherParams > | |
KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const GatherParams ¶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< GatherParams > | |
const GatherParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
const std::vector< const Tensor * > | _inputs |
const std::vector< Tensor * > | _outputs |
luci_interpreter::kernels::Gather::Gather | ( | const Tensor * | params, |
const Tensor * | indices, | ||
Tensor * | output, | ||
const GatherParams & | gparams | ||
) |
Definition at line 31 of file Gather.cpp.
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 37 of file Gather.cpp.
References luci_interpreter::KernelWithParams< GatherParams >::_params, luci_interpreter::GatherParams::axis, luci_interpreter::GatherParams::batch_dims, luci_interpreter::Shape::dim(), indices(), LUCI_INTERPRETER_CHECK, luci_interpreter::Shape::num_dims(), output(), output_shape, params(), luci_interpreter::Tensor::resize(), and luci_interpreter::Tensor::shape().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 97 of file Gather.cpp.
References params().
|
inline |
Definition at line 34 of file Gather.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and Gather().
|
inline |
Definition at line 35 of file Gather.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().
|
inline |
Definition at line 33 of file Gather.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Gather().