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