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

Public Member Functions | |
| BroadcastTo (const Tensor *input, const Tensor *shape, Tensor *output) | |
| const Tensor * | input () const |
| const Tensor * | shape () 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 |
Definition at line 28 of file BroadcastTo.h.
| luci_interpreter::kernels::BroadcastTo::BroadcastTo | ( | const Tensor * | input, |
| const Tensor * | shape, | ||
| Tensor * | output | ||
| ) |
Definition at line 73 of file BroadcastTo.cpp.
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 78 of file BroadcastTo.cpp.
References input(), LUCI_INTERPRETER_CHECK, luci::must_cast(), luci_interpreter::Shape::num_dims(), output(), output_shape, luci_interpreter::Tensor::resize(), luci_interpreter::Tensor::shape(), and shape().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 103 of file BroadcastTo.cpp.
References input().
Definition at line 33 of file BroadcastTo.h.
References luci_interpreter::Kernel::_inputs.
Referenced by BroadcastTo(), configure(), and execute().
|
inline |
Definition at line 35 of file BroadcastTo.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().
Definition at line 34 of file BroadcastTo.h.
References luci_interpreter::Kernel::_inputs.
Referenced by RandomDataGenerator.RandomDataGenerator::_gen_float32(), RandomDataGenerator.RandomDataGenerator::_gen_int16(), RandomDataGenerator.RandomDataGenerator::_gen_uint8(), BroadcastTo(), and configure().