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