20.11
|
An ActivationDescriptor for the ActivationLayer. More...
#include <Descriptors.hpp>
Public Member Functions | |
ActivationDescriptor () | |
ActivationDescriptor (armnn::ActivationFunction activation, float a=0, float b=0) | |
bool | operator== (const ActivationDescriptor &rhs) const |
Public Attributes | |
ActivationFunction | m_Function |
The activation function to use (Sigmoid, TanH, Linear, ReLu, BoundedReLu, SoftReLu, LeakyReLu, Abs, Sqrt, Square, Elu). More... | |
float | m_A |
Alpha upper bound value used by the activation functions. (BoundedReLu, Linear, TanH, Elu). More... | |
float | m_B |
Beta lower bound value used by the activation functions. (BoundedReLu, Linear, TanH). More... | |
An ActivationDescriptor for the ActivationLayer.
Definition at line 20 of file Descriptors.hpp.
|
inline |
Definition at line 22 of file Descriptors.hpp.
|
inline |
Definition at line 28 of file Descriptors.hpp.
|
inline |
Definition at line 36 of file Descriptors.hpp.
References ActivationDescriptor::m_A, ActivationDescriptor::m_B, and ActivationDescriptor::m_Function.
float m_A |
Alpha upper bound value used by the activation functions. (BoundedReLu, Linear, TanH, Elu).
Definition at line 45 of file Descriptors.hpp.
Referenced by armnn::BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BoundedReLuTestCommon(), CompareActivationTestImpl(), CompareBoundedReLuTest(), armnnTfLiteParser::ComputeWrappedIndex(), ConstantLinearActivationTestCommon(), armnn::ConvertActivationDescriptorToAclActivationLayerInfo(), OnnxParser::CreateNetworkFromString(), armnn::CreateStartOfLeakyReluNetwork(), RefActivationWorkload::Execute(), Deserializer::GetNetworkOutputBindingInfo(), ActivationDescriptor::operator==(), armnnTfParser::OutputShapeOfExpandDims(), TfLiteParser::OutputShapeOfSqueeze(), armnnTfParser::OutputShapeOfSqueeze(), CaffeParserBase::ParseReluLayer(), StringifyLayerParameters< ActivationDescriptor >::Serialize(), SimpleActivationTest(), StaticRangeVisitor::VisitActivationLayer(), SerializerVisitor::VisitActivationLayer(), and DynamicQuantizationVisitor::VisitActivationLayer().
float m_B |
Beta lower bound value used by the activation functions. (BoundedReLu, Linear, TanH).
Definition at line 47 of file Descriptors.hpp.
Referenced by armnn::BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BoundedReLuTestCommon(), CompareActivationTestImpl(), CompareBoundedReLuTest(), armnnTfLiteParser::ComputeWrappedIndex(), ConstantLinearActivationTestCommon(), armnn::ConvertActivationDescriptorToAclActivationLayerInfo(), OnnxParser::CreateNetworkFromString(), armnn::CreateStartOfLeakyReluNetwork(), RefActivationWorkload::Execute(), Deserializer::GetNetworkOutputBindingInfo(), ActivationDescriptor::operator==(), TfLiteParser::OutputShapeOfSqueeze(), armnnTfParser::OutputShapeOfSqueeze(), StringifyLayerParameters< ActivationDescriptor >::Serialize(), SimpleActivationTest(), and SerializerVisitor::VisitActivationLayer().
ActivationFunction m_Function |
The activation function to use (Sigmoid, TanH, Linear, ReLu, BoundedReLu, SoftReLu, LeakyReLu, Abs, Sqrt, Square, Elu).
Definition at line 43 of file Descriptors.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), armnn::BOOST_AUTO_TEST_CASE(), BoundedReLuTestCommon(), CompareActivationTestImpl(), CompareBoundedReLuTest(), armnnTfLiteParser::ComputeWrappedIndex(), ConstantLinearActivationTestCommon(), armnn::ConvertActivationDescriptorToAclActivationLayerInfo(), OnnxParser::CreateNetworkFromString(), armnn::CreateStartOfLeakyReluNetwork(), RefActivationWorkload::Execute(), Deserializer::GetNetworkOutputBindingInfo(), RefLayerSupport::IsActivationSupported(), armnn::NeonFullyConnectedWorkloadValidate(), ActivationDescriptor::operator==(), ArgMinMaxDescriptor::operator==(), armnnTfParser::OutputShapeOfExpandDims(), TfLiteParser::OutputShapeOfSqueeze(), armnnTfParser::OutputShapeOfSqueeze(), CaffeParserBase::ParseReluLayer(), StringifyLayerParameters< ActivationDescriptor >::Serialize(), SimpleActivationTest(), SqrtNNTest(), StaticRangeVisitor::VisitActivationLayer(), SerializerVisitor::VisitActivationLayer(), and DynamicQuantizationVisitor::VisitActivationLayer().