ONE - On-device Neural Engine
|
#include <ElementwiseActivation.h>
Data Structures | |
struct | Param |
Public Types | |
enum | Input { INPUT = 0 } |
enum class | Type { ELU , LOGISTIC , RELU , TANH , LEAKY_RELU } |
Static Public Attributes | |
static float | infinity = std::numeric_limits<float>::infinity() |
Definition at line 29 of file ElementwiseActivation.h.
|
strong |
Enumerator | |
---|---|
ELU | |
LOGISTIC | |
RELU | |
TANH | |
LEAKY_RELU |
Definition at line 37 of file ElementwiseActivation.h.
onert::ir::operation::ElementwiseActivation::ElementwiseActivation | ( | const OperandIndexSequence & | inputs, |
const OperandIndexSequence & | outputs, | ||
const Param & | param | ||
) |
Definition at line 31 of file ElementwiseActivation.cc.
References onert::ir::operation::ElementwiseActivation::Param::alpha, onert::ir::operation::ElementwiseActivation::Param::beta, LOGISTIC, onert::ir::operation::ElementwiseActivation::Param::op_type, param(), RELU, and TANH.
|
overridevirtual |
Implements onert::ir::IOperation.
Reimplemented in onert::ir::train::operation::ElementwiseActivation.
Definition at line 29 of file ElementwiseActivation.cc.
|
overridevirtual |
Reimplemented from onert::ir::IOperation.
Definition at line 56 of file ElementwiseActivation.cc.
References onert::ir::operation::ElementwiseActivation::Param::op_type.
|
inlinefinalvirtual |
Implements onert::ir::IOperation.
Definition at line 61 of file ElementwiseActivation.h.
|
inline |
Definition at line 64 of file ElementwiseActivation.h.
Referenced by ElementwiseActivation(), onert::backend::cpu::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::ir::OperationDumper::visit(), onert::ir::OperationValidator::visit(), and onert::ir::train::UseDefGenerator::visit().
|
static |
Definition at line 67 of file ElementwiseActivation.h.
Referenced by onert::backend::acl_common::asActivationLayerInfo(), and onert::loader::BaseLoader< LoaderDomain >::loadOperation().