ONE - On-device Neural Engine
|
#include <Softmax.h>
Public Member Functions | |
Softmax (const Tensor *input, Tensor *output, const SoftmaxParams ¶ms) | |
const Tensor * | input () const |
Tensor * | output () const |
void | configure () override |
void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< SoftmaxParams > | |
const SoftmaxParams & | 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< SoftmaxParams > | |
KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const SoftmaxParams ¶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< SoftmaxParams > | |
const SoftmaxParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
const std::vector< const Tensor * > | _inputs |
const std::vector< Tensor * > | _outputs |
luci_interpreter::kernels::Softmax::Softmax | ( | const Tensor * | input, |
Tensor * | output, | ||
const SoftmaxParams & | params | ||
) |
Definition at line 32 of file Softmax.cpp.
References input().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 37 of file Softmax.cpp.
References input(), LUCI_INTERPRETER_CHECK, output(), luci_interpreter::KernelWithParams< SoftmaxParams >::params(), and luci_interpreter::Tensor::resize().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 53 of file Softmax.cpp.
References input().
|
inline |
Definition at line 33 of file Softmax.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and Softmax().
|
inline |
Definition at line 34 of file Softmax.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().