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

Public Member Functions | |
| Mean (const Tensor *input, const Tensor *axes, Tensor *output, Tensor *temp_index, Tensor *resolved_axes, Tensor *temp_sum, const ReducerParams ¶ms) | |
| const Tensor * | input () const |
| const Tensor * | axes () const |
| Tensor * | output () const |
| void | configure () override |
| void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< ReducerParams > | |
| const ReducerParams & | 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< ReducerParams > | |
| KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const ReducerParams ¶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< ReducerParams > | |
| const ReducerParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
| const std::vector< const Tensor * > | _inputs |
| const std::vector< Tensor * > | _outputs |
| luci_interpreter::kernels::Mean::Mean | ( | const Tensor * | input, |
| const Tensor * | axes, | ||
| Tensor * | output, | ||
| Tensor * | temp_index, | ||
| Tensor * | resolved_axes, | ||
| Tensor * | temp_sum, | ||
| const ReducerParams & | params | ||
| ) |
Definition at line 37 of file Mean.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and Mean().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 134 of file Mean.cpp.
References luci_interpreter::KernelWithParams< ReducerParams >::_params, axes(), luci_interpreter::Kernel::getOutputTensors(), input(), luci_interpreter::ReducerParams::keep_dims, LUCI_INTERPRETER_CHECK, luci::must_cast(), luci_interpreter::Shape::num_dims(), luci_interpreter::Shape::num_elements(), output(), output_shape, luci_interpreter::KernelWithParams< ReducerParams >::params(), luci_interpreter::Tensor::resize(), and luci_interpreter::Tensor::shape().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 165 of file Mean.cpp.
References input().
Definition at line 36 of file Mean.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Mean().
|
inline |
Definition at line 38 of file Mean.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().