|
25.11
|
#include <Deserializer.hpp>
Public Member Functions | |
| armnn::INetworkPtr | CreateNetworkFromBinary (const std::vector< uint8_t > &binaryContent) |
| Create an input network from binary file contents. | |
| armnn::INetworkPtr | CreateNetworkFromBinary (std::istream &binaryContent) |
| Create an input network from a binary input stream. | |
| BindingPointInfo | GetNetworkInputBindingInfo (unsigned int layerId, const std::string &name) const |
| Retrieve binding info (layer id and tensor info) for the network input identified by the given layer name. | |
| BindingPointInfo | GetNetworkOutputBindingInfo (unsigned int layerId, const std::string &name) const |
| Retrieve binding info (layer id and tensor info) for the network output identified by the given layer name. | |
| DeserializerImpl () | |
| ~DeserializerImpl ()=default | |
| DeserializerImpl (const DeserializerImpl &)=delete | |
| DeserializerImpl & | operator= (const DeserializerImpl &)=delete |
Definition at line 34 of file Deserializer.hpp.
| DeserializerImpl | ( | ) |
Definition at line 207 of file Deserializer.cpp.
References DeserializerImpl().
Referenced by DeserializerImpl(), DeserializerImpl(), GetLstmInputParams(), and operator=().
|
default |
|
delete |
References DeserializerImpl().
| INetworkPtr CreateNetworkFromBinary | ( | const std::vector< uint8_t > & | binaryContent | ) |
Create an input network from binary file contents.
Definition at line 878 of file Deserializer.cpp.
References LoadGraphFromBinary().
| armnn::INetworkPtr CreateNetworkFromBinary | ( | std::istream & | binaryContent | ) |
Create an input network from a binary input stream.
Definition at line 885 of file Deserializer.cpp.
References ARMNN_LOG, armnn::error, and LoadGraphFromBinary().
|
static |
Definition at line 286 of file Deserializer.cpp.
Referenced by GetInputs(), GetLayerName(), and GetOutputs().
|
static |
Definition at line 451 of file Deserializer.cpp.
|
static |
Definition at line 827 of file Deserializer.cpp.
References CHECK_LAYERS, CHECKED_NON_NEGATIVE, and GetBaseLayer().
|
static |
Definition at line 444 of file Deserializer.cpp.
References GetBaseLayer().
|
static |
Definition at line 3309 of file Deserializer.cpp.
References LstmDescriptor::m_ActivationFunc, LstmDescriptor::m_CifgEnabled, LstmDescriptor::m_ClippingThresCell, LstmDescriptor::m_ClippingThresProj, LstmDescriptor::m_LayerNormEnabled, LstmDescriptor::m_PeepholeEnabled, and LstmDescriptor::m_ProjectionEnabled.
|
static |
References DeserializerImpl().
| BindingPointInfo GetNetworkInputBindingInfo | ( | unsigned int | layerId, |
| const std::string & | name ) const |
Retrieve binding info (layer id and tensor info) for the network input identified by the given layer name.
Definition at line 963 of file Deserializer.cpp.
References CHECK_LOCATION, and armnn::IgnoreUnused().
| BindingPointInfo GetNetworkOutputBindingInfo | ( | unsigned int | layerId, |
| const std::string & | name ) const |
Retrieve binding info (layer id and tensor info) for the network output identified by the given layer name.
Definition at line 979 of file Deserializer.cpp.
References CHECK_LOCATION, and armnn::IgnoreUnused().
|
static |
Definition at line 2974 of file Deserializer.cpp.
References armnn::Across, armnn::IgnoreUnused(), armnn::LocalBrightness, armnn::LocalContrast, NormalizationDescriptor::m_Alpha, NormalizationDescriptor::m_Beta, NormalizationDescriptor::m_DataLayout, NormalizationDescriptor::m_K, NormalizationDescriptor::m_NormChannelType, NormalizationDescriptor::m_NormMethodType, NormalizationDescriptor::m_NormSize, armnn::NCHW, armnn::NHWC, and armnn::Within.
|
static |
Definition at line 844 of file Deserializer.cpp.
References CHECK_LAYERS, and GetBaseLayer().
|
static |
Definition at line 2385 of file Deserializer.cpp.
References armnn::Average, armnn::Ceiling, armnn::Exclude, armnn::Floor, armnn::IgnoreUnused(), armnn::IgnoreValue, armnn::L2, Pooling2dDescriptor::m_DataLayout, Pooling2dDescriptor::m_OutputShapeRounding, Pooling2dDescriptor::m_PadBottom, Pooling2dDescriptor::m_PaddingMethod, Pooling2dDescriptor::m_PadLeft, Pooling2dDescriptor::m_PadRight, Pooling2dDescriptor::m_PadTop, Pooling2dDescriptor::m_PoolHeight, Pooling2dDescriptor::m_PoolType, Pooling2dDescriptor::m_PoolWidth, Pooling2dDescriptor::m_StrideX, Pooling2dDescriptor::m_StrideY, armnn::Max, armnn::NCHW, and armnn::NHWC.
|
static |
Definition at line 2480 of file Deserializer.cpp.
References armnn::Average, armnn::Ceiling, armnn::Exclude, armnn::Floor, armnn::IgnoreUnused(), armnn::IgnoreValue, armnn::L2, Pooling3dDescriptor::m_DataLayout, Pooling3dDescriptor::m_OutputShapeRounding, Pooling3dDescriptor::m_PadBack, Pooling3dDescriptor::m_PadBottom, Pooling3dDescriptor::m_PaddingMethod, Pooling3dDescriptor::m_PadFront, Pooling3dDescriptor::m_PadLeft, Pooling3dDescriptor::m_PadRight, Pooling3dDescriptor::m_PadTop, Pooling3dDescriptor::m_PoolDepth, Pooling3dDescriptor::m_PoolHeight, Pooling3dDescriptor::m_PoolType, Pooling3dDescriptor::m_PoolWidth, Pooling3dDescriptor::m_StrideX, Pooling3dDescriptor::m_StrideY, Pooling3dDescriptor::m_StrideZ, armnn::Max, armnn::NCDHW, and armnn::NDHWC.
|
static |
Definition at line 3440 of file Deserializer.cpp.
References QLstmDescriptor::m_CellClip, QLstmDescriptor::m_CellIntermediateScale, QLstmDescriptor::m_CifgEnabled, QLstmDescriptor::m_ForgetIntermediateScale, QLstmDescriptor::m_HiddenStateScale, QLstmDescriptor::m_HiddenStateZeroPoint, QLstmDescriptor::m_InputIntermediateScale, QLstmDescriptor::m_LayerNormEnabled, QLstmDescriptor::m_OutputIntermediateScale, QLstmDescriptor::m_PeepholeEnabled, QLstmDescriptor::m_ProjectionClip, and QLstmDescriptor::m_ProjectionEnabled.
|
static |
Definition at line 3899 of file Deserializer.cpp.
References LstmDescriptor::m_ActivationFunc, LstmDescriptor::m_CifgEnabled, LstmDescriptor::m_ClippingThresCell, LstmDescriptor::m_ClippingThresProj, LstmDescriptor::m_LayerNormEnabled, LstmDescriptor::m_PeepholeEnabled, LstmDescriptor::m_ProjectionEnabled, and LstmDescriptor::m_TimeMajor.
|
static |
Definition at line 901 of file Deserializer.cpp.
References CHECK_LOCATION.
Referenced by CreateNetworkFromBinary(), and CreateNetworkFromBinary().
|
delete |
References DeserializerImpl().
|
static |
Definition at line 2640 of file Deserializer.cpp.
References CHECK_LOCATION, TensorInfo::GetNumElements(), armnn::numeric_cast(), and TensorInfo::SetShape().