|
ONE - On-device Neural Engine
|
#include <Cast.h>

Public Member Functions | |
| Cast (const Tensor *input, Tensor *output) | |
| const Tensor * | input () 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 |
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 126 of file Cast.cpp.
References input(), LUCI_INTERPRETER_CHECK, output(), luci_interpreter::Tensor::resize(), and luci_interpreter::Tensor::shape().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 135 of file Cast.cpp.
References input(), luci::must_cast(), and output().
Definition at line 33 of file Cast.h.
References luci_interpreter::Kernel::_inputs.
Referenced by Cast(), configure(), and execute().
|
inline |
Definition at line 34 of file Cast.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure(), and execute().