ONE - On-device Neural Engine
|
#include <ArgMax.h>
Public Member Functions | |
ArgMax (const Tensor *input, const Tensor *axis, Tensor *output, const ArgMaxParams ¶ms) | |
const Tensor * | input () const |
const Tensor * | axis () const |
Tensor * | output () const |
void | configure () override |
void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< ArgMaxParams > | |
const ArgMaxParams & | 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< ArgMaxParams > | |
KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const ArgMaxParams ¶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< ArgMaxParams > | |
const ArgMaxParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
const std::vector< const Tensor * > | _inputs |
const std::vector< Tensor * > | _outputs |
luci_interpreter::kernels::ArgMax::ArgMax | ( | const Tensor * | input, |
const Tensor * | axis, | ||
Tensor * | output, | ||
const ArgMaxParams & | params | ||
) |
Definition at line 26 of file ArgMax.cpp.
|
inline |
Definition at line 34 of file ArgMax.h.
References luci_interpreter::Kernel::_inputs.
Referenced by ArgMax(), configure(), and execute().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 31 of file ArgMax.cpp.
References luci_interpreter::KernelWithParams< ArgMaxParams >::_params, axis(), luci_interpreter::Shape::dim(), input(), luci_interpreter::Shape::num_dims(), output(), output_shape, luci_interpreter::ArgMaxParams::output_type, luci_interpreter::Tensor::resize(), and luci_interpreter::Tensor::shape().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 60 of file ArgMax.cpp.
References luci_interpreter::KernelWithParams< ArgMaxParams >::_params, axis(), input(), luci_interpreter::ArgMaxParams::output_type, and TF_LITE_ARG_MAX.
|
inline |
Definition at line 33 of file ArgMax.h.
References luci_interpreter::Kernel::_inputs.
Referenced by ArgMax(), configure(), and execute().
|
inline |
Definition at line 35 of file ArgMax.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().