ONE - On-device Neural Engine
|
#include <While.h>
Public Member Functions | |
While (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, RuntimeGraph *cond_graph, RuntimeGraph *body_graph) | |
const Tensor * | input (int index) const |
Tensor * | output (int index) 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::While::While | ( | std::vector< const Tensor * > | inputs, |
std::vector< Tensor * > | outputs, | ||
RuntimeGraph * | cond_graph, | ||
RuntimeGraph * | body_graph | ||
) |
Definition at line 61 of file While.cpp.
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 67 of file While.cpp.
References luci_interpreter::Kernel::getInputTensors(), luci_interpreter::RuntimeGraph::getInputTensors(), luci_interpreter::Kernel::getOutputTensors(), luci_interpreter::RuntimeGraph::getOutputTensors(), LUCI_INTERPRETER_CHECK, and size.
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 83 of file While.cpp.
References luci_interpreter::RuntimeGraph::execute(), luci_interpreter::Kernel::getInputTensors(), luci_interpreter::RuntimeGraph::getInputTensors(), luci_interpreter::Kernel::getOutputTensors(), and luci_interpreter::RuntimeGraph::getOutputTensors().
|
inline |
|
inline |