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

Public Member Functions | |
| ReduceMax (const Tensor *input, const Tensor *axes, Tensor *output, Tensor *temp_index, Tensor *resolved_axes, 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 |
Definition at line 30 of file ReduceMax.h.
| luci_interpreter::kernels::ReduceMax::ReduceMax | ( | const Tensor * | input, |
| const Tensor * | axes, | ||
| Tensor * | output, | ||
| Tensor * | temp_index, | ||
| Tensor * | resolved_axes, | ||
| const ReducerParams & | params | ||
| ) |
Definition at line 114 of file ReduceMax.cpp.
Definition at line 37 of file ReduceMax.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and ReduceMax().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 120 of file ReduceMax.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::Tensor::resize(), and luci_interpreter::Tensor::shape().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 145 of file ReduceMax.cpp.
References input().
Definition at line 36 of file ReduceMax.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and ReduceMax().
|
inline |
Definition at line 38 of file ReduceMax.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().