ONE - On-device Neural Engine
|
#include <Select.h>
Public Member Functions | |
Select (const Tensor *cond, const Tensor *t, const Tensor *e, Tensor *output) | |
const Tensor * | condition () const |
const Tensor * | t () const |
const Tensor * | e () 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::Select::Select | ( | const Tensor * | cond, |
const Tensor * | t, | ||
const Tensor * | e, | ||
Tensor * | output | ||
) |
Definition at line 33 of file Select.cpp.
References condition(), e(), and t().
|
inline |
Definition at line 33 of file Select.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and Select().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 39 of file Select.cpp.
References luci_interpreter::kernels::calculateShapeForBroadcast(), condition(), luci_interpreter::Shape::dim(), e(), LUCI_INTERPRETER_CHECK, luci_interpreter::Shape::num_dims(), output(), luci_interpreter::Tensor::resize(), luci_interpreter::Tensor::shape(), and t().
|
inline |
Definition at line 35 of file Select.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and Select().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 57 of file Select.cpp.
References t().
|
inline |
Definition at line 36 of file Select.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().
|
inline |
Definition at line 34 of file Select.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Select().