20.11
|
#include "../Serializer.hpp"
#include <armnn/Descriptors.hpp>
#include <armnn/INetwork.hpp>
#include <armnn/TypesUtils.hpp>
#include <armnn/LstmParams.hpp>
#include <armnn/QuantizedLstmParams.hpp>
#include <armnnDeserializer/IDeserializer.hpp>
#include <random>
#include <vector>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Macros | |
#define | DECLARE_LAYER_VERIFIER_CLASS(name) |
#define | DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR(name) |
Functions | |
BOOST_AUTO_TEST_CASE (SerializeAddition) | |
BOOST_AUTO_TEST_CASE (SerializeArgMinMax) | |
BOOST_AUTO_TEST_CASE (SerializeBatchNormalization) | |
BOOST_AUTO_TEST_CASE (SerializeBatchToSpaceNd) | |
BOOST_AUTO_TEST_CASE (SerializeComparison) | |
BOOST_AUTO_TEST_CASE (SerializeConstant) | |
BOOST_AUTO_TEST_CASE (SerializeConvolution2d) | |
BOOST_AUTO_TEST_CASE (SerializeConvolution2dWithPerAxisParams) | |
BOOST_AUTO_TEST_CASE (SerializeDepthToSpace) | |
BOOST_AUTO_TEST_CASE (SerializeDepthwiseConvolution2d) | |
BOOST_AUTO_TEST_CASE (SerializeDepthwiseConvolution2dWithPerAxisParams) | |
BOOST_AUTO_TEST_CASE (SerializeDequantize) | |
BOOST_AUTO_TEST_CASE (SerializeDeserializeDetectionPostProcess) | |
BOOST_AUTO_TEST_CASE (SerializeDivision) | |
BOOST_AUTO_TEST_CASE (SerializeEqual) | |
BOOST_AUTO_TEST_CASE (EnsureEqualBackwardCompatibility) | |
BOOST_AUTO_TEST_CASE (SerializeFill) | |
BOOST_AUTO_TEST_CASE (SerializeFloor) | |
BOOST_AUTO_TEST_CASE (SerializeFullyConnected) | |
BOOST_AUTO_TEST_CASE (SerializeGather) | |
BOOST_AUTO_TEST_CASE (SerializeGreater) | |
BOOST_AUTO_TEST_CASE (EnsureGreaterBackwardCompatibility) | |
BOOST_AUTO_TEST_CASE (SerializeInstanceNormalization) | |
BOOST_AUTO_TEST_CASE (SerializeL2Normalization) | |
BOOST_AUTO_TEST_CASE (EnsureL2NormalizationBackwardCompatibility) | |
BOOST_AUTO_TEST_CASE (SerializeLogicalBinary) | |
BOOST_AUTO_TEST_CASE (SerializeLogicalUnary) | |
BOOST_AUTO_TEST_CASE (SerializeLogSoftmax) | |
BOOST_AUTO_TEST_CASE (SerializeMaximum) | |
BOOST_AUTO_TEST_CASE (SerializeMean) | |
BOOST_AUTO_TEST_CASE (SerializeMerge) | |
BOOST_AUTO_TEST_CASE (SerializeMerger) | |
BOOST_AUTO_TEST_CASE (EnsureMergerLayerBackwardCompatibility) | |
BOOST_AUTO_TEST_CASE (SerializeConcat) | |
BOOST_AUTO_TEST_CASE (SerializeMinimum) | |
BOOST_AUTO_TEST_CASE (SerializeMultiplication) | |
BOOST_AUTO_TEST_CASE (SerializePrelu) | |
BOOST_AUTO_TEST_CASE (SerializeNormalization) | |
BOOST_AUTO_TEST_CASE (SerializePad) | |
BOOST_AUTO_TEST_CASE (EnsurePadBackwardCompatibility) | |
BOOST_AUTO_TEST_CASE (SerializePermute) | |
BOOST_AUTO_TEST_CASE (SerializePooling2d) | |
BOOST_AUTO_TEST_CASE (SerializeQuantize) | |
BOOST_AUTO_TEST_CASE (SerializeRank) | |
BOOST_AUTO_TEST_CASE (SerializeReshape) | |
BOOST_AUTO_TEST_CASE (SerializeResize) | |
BOOST_AUTO_TEST_CASE (SerializeResizeBilinear) | |
BOOST_AUTO_TEST_CASE (EnsureResizeBilinearBackwardCompatibility) | |
BOOST_AUTO_TEST_CASE (SerializeSlice) | |
BOOST_AUTO_TEST_CASE (SerializeSoftmax) | |
BOOST_AUTO_TEST_CASE (SerializeSpaceToBatchNd) | |
BOOST_AUTO_TEST_CASE (SerializeSpaceToDepth) | |
BOOST_AUTO_TEST_CASE (SerializeSplitter) | |
BOOST_AUTO_TEST_CASE (SerializeStack) | |
BOOST_AUTO_TEST_CASE (SerializeStandIn) | |
BOOST_AUTO_TEST_CASE (SerializeStridedSlice) | |
BOOST_AUTO_TEST_CASE (SerializeSubtraction) | |
BOOST_AUTO_TEST_CASE (SerializeSwitch) | |
BOOST_AUTO_TEST_CASE (SerializeTranspose) | |
BOOST_AUTO_TEST_CASE (SerializeTransposeConvolution2d) | |
BOOST_AUTO_TEST_CASE (SerializeDeserializeNonLinearNetwork) | |
BOOST_AUTO_TEST_CASE (SerializeDeserializeLstmCifgPeepholeNoProjection) | |
BOOST_AUTO_TEST_CASE (SerializeDeserializeLstmNoCifgWithPeepholeAndProjection) | |
BOOST_AUTO_TEST_CASE (SerializeDeserializeLstmNoCifgWithPeepholeWithProjectionWithLayerNorm) | |
BOOST_AUTO_TEST_CASE (EnsureLstmLayersBackwardCompatibility) | |
BOOST_AUTO_TEST_CASE (SerializeDeserializeQuantizedLstm) | |
BOOST_AUTO_TEST_CASE (SerializeDeserializeQLstmBasic) | |
BOOST_AUTO_TEST_CASE (SerializeDeserializeQLstmCifgLayerNorm) | |
BOOST_AUTO_TEST_CASE (SerializeDeserializeQLstmAdvanced) | |
#define DECLARE_LAYER_VERIFIER_CLASS | ( | name | ) |
Definition at line 25 of file SerializerTests.cpp.
Referenced by BOOST_AUTO_TEST_CASE().
#define DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR | ( | name | ) |
Definition at line 40 of file SerializerTests.cpp.
Referenced by BOOST_AUTO_TEST_CASE().
BOOST_AUTO_TEST_CASE | ( | SerializeAddition | ) |
Definition at line 275 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeArgMinMax | ) |
Definition at line 303 of file SerializerTests.cpp.
References armnn::ArgMinMax(), IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), ArgMinMaxDescriptor::m_Function, armnn::Max, IOutputSlot::SetTensorInfo(), and armnn::Signed32.
BOOST_AUTO_TEST_CASE | ( | SerializeBatchNormalization | ) |
Definition at line 333 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), BatchNormalizationDescriptor::m_Eps, armnn::NHWC, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeBatchToSpaceNd | ) |
Definition at line 420 of file SerializerTests.cpp.
References armnn::BatchToSpaceNd(), IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), BatchToSpaceNdDescriptor::m_DataLayout, armnn::NCHW, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeComparison | ) |
Definition at line 451 of file SerializerTests.cpp.
References armnn::Boolean, IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::NotEqual, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeConstant | ) |
Definition at line 485 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeConvolution2d | ) |
Definition at line 538 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), OptionalBase::has_value(), Convolution2dDescriptor::m_BiasEnabled, Convolution2dDescriptor::m_DataLayout, Convolution2dDescriptor::m_DilationX, Convolution2dDescriptor::m_DilationY, Convolution2dDescriptor::m_PadBottom, Convolution2dDescriptor::m_PadLeft, Convolution2dDescriptor::m_PadRight, Convolution2dDescriptor::m_PadTop, Convolution2dDescriptor::m_StrideX, Convolution2dDescriptor::m_StrideY, armnn::NHWC, IOutputSlot::SetTensorInfo(), and OptionalReferenceSwitch< IsReference, T >::value().
BOOST_AUTO_TEST_CASE | ( | SerializeConvolution2dWithPerAxisParams | ) |
Definition at line 628 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), OptionalBase::has_value(), Convolution2dDescriptor::m_BiasEnabled, Convolution2dDescriptor::m_DataLayout, Convolution2dDescriptor::m_PadBottom, Convolution2dDescriptor::m_PadLeft, Convolution2dDescriptor::m_PadRight, Convolution2dDescriptor::m_PadTop, Convolution2dDescriptor::m_StrideX, Convolution2dDescriptor::m_StrideY, armnn::NHWC, IOutputSlot::SetTensorInfo(), and OptionalReferenceSwitch< IsReference, T >::value().
BOOST_AUTO_TEST_CASE | ( | SerializeDepthToSpace | ) |
Definition at line 722 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::DepthToSpace(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), SpaceToDepthDescriptor::m_BlockSize, armnn::NHWC, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeDepthwiseConvolution2d | ) |
Definition at line 753 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), OptionalBase::has_value(), DepthwiseConvolution2dDescriptor::m_BiasEnabled, DepthwiseConvolution2dDescriptor::m_DataLayout, DepthwiseConvolution2dDescriptor::m_DilationX, DepthwiseConvolution2dDescriptor::m_DilationY, DepthwiseConvolution2dDescriptor::m_PadBottom, DepthwiseConvolution2dDescriptor::m_PadLeft, DepthwiseConvolution2dDescriptor::m_PadRight, DepthwiseConvolution2dDescriptor::m_PadTop, DepthwiseConvolution2dDescriptor::m_StrideX, DepthwiseConvolution2dDescriptor::m_StrideY, armnn::NHWC, IOutputSlot::SetTensorInfo(), and OptionalReferenceSwitch< IsReference, T >::value().
BOOST_AUTO_TEST_CASE | ( | SerializeDepthwiseConvolution2dWithPerAxisParams | ) |
Definition at line 843 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), OptionalBase::has_value(), DepthwiseConvolution2dDescriptor::m_BiasEnabled, DepthwiseConvolution2dDescriptor::m_DataLayout, DepthwiseConvolution2dDescriptor::m_DilationX, DepthwiseConvolution2dDescriptor::m_DilationY, DepthwiseConvolution2dDescriptor::m_PadBottom, DepthwiseConvolution2dDescriptor::m_PadLeft, DepthwiseConvolution2dDescriptor::m_PadRight, DepthwiseConvolution2dDescriptor::m_PadTop, DepthwiseConvolution2dDescriptor::m_StrideX, DepthwiseConvolution2dDescriptor::m_StrideY, armnn::NHWC, IOutputSlot::SetTensorInfo(), and OptionalReferenceSwitch< IsReference, T >::value().
BOOST_AUTO_TEST_CASE | ( | SerializeDequantize | ) |
Definition at line 939 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS, armnn::Dequantize(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::QAsymmU8, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeDeserializeDetectionPostProcess | ) |
Definition at line 965 of file SerializerTests.cpp.
References anchors(), anchorsInfo, IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), DetectionPostProcessDescriptor::m_DetectionsPerClass, DetectionPostProcessDescriptor::m_MaxClassesPerDetection, DetectionPostProcessDescriptor::m_MaxDetections, DetectionPostProcessDescriptor::m_NmsIouThreshold, DetectionPostProcessDescriptor::m_NmsScoreThreshold, DetectionPostProcessDescriptor::m_NumClasses, DetectionPostProcessDescriptor::m_ScaleH, DetectionPostProcessDescriptor::m_ScaleW, DetectionPostProcessDescriptor::m_ScaleX, DetectionPostProcessDescriptor::m_ScaleY, DetectionPostProcessDescriptor::m_UseRegularNms, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeDivision | ) |
Definition at line 1057 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS, armnn::Division, armnn::Equal, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, ComparisonDescriptor::m_Operation, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeEqual | ) |
Definition at line 1110 of file SerializerTests.cpp.
References ARMNN_NO_DEPRECATE_WARN_BEGIN, ARMNN_NO_DEPRECATE_WARN_END, armnn::Boolean, IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetOutputSlot(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | EnsureEqualBackwardCompatibility | ) |
Definition at line 1142 of file SerializerTests.cpp.
References armnn::Boolean, and armnn::Float32.
BOOST_AUTO_TEST_CASE | ( | SerializeFill | ) |
Definition at line 1202 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Fill(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), IOutputSlot::SetTensorInfo(), and armnn::Signed32.
BOOST_AUTO_TEST_CASE | ( | SerializeFloor | ) |
Definition at line 1231 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS, armnn::Float32, armnn::Floor, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeFullyConnected | ) |
Definition at line 1256 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), OptionalBase::has_value(), FullyConnectedDescriptor::m_BiasEnabled, FullyConnectedDescriptor::m_TransposeWeightMatrix, IOutputSlot::SetTensorInfo(), and OptionalReferenceSwitch< IsReference, T >::value().
BOOST_AUTO_TEST_CASE | ( | SerializeGather | ) |
Definition at line 1334 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::Greater, GatherDescriptor::m_Axis, ComparisonDescriptor::m_Operation, armnn::QAsymmU8, IOutputSlot::SetTensorInfo(), and armnn::Signed32.
BOOST_AUTO_TEST_CASE | ( | SerializeGreater | ) |
Definition at line 1420 of file SerializerTests.cpp.
References ARMNN_NO_DEPRECATE_WARN_BEGIN, ARMNN_NO_DEPRECATE_WARN_END, armnn::Boolean, IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetOutputSlot(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | EnsureGreaterBackwardCompatibility | ) |
Definition at line 1452 of file SerializerTests.cpp.
References armnn::Boolean, and armnn::Float32.
BOOST_AUTO_TEST_CASE | ( | SerializeInstanceNormalization | ) |
Definition at line 1512 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, armnn::InstanceNormalization, armnn::L2Normalization, InstanceNormalizationDescriptor::m_Gamma, armnn::NHWC, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeL2Normalization | ) |
Definition at line 1546 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, L2NormalizationDescriptor::m_DataLayout, armnn::NCHW, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | EnsureL2NormalizationBackwardCompatibility | ) |
Definition at line 1573 of file SerializerTests.cpp.
References armnn::Float32, L2NormalizationDescriptor::m_DataLayout, and armnn::NCHW.
BOOST_AUTO_TEST_CASE | ( | SerializeLogicalBinary | ) |
Definition at line 1629 of file SerializerTests.cpp.
References armnn::Boolean, IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::LogicalAnd, armnn::LogicalBinary, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeLogicalUnary | ) |
Definition at line 1663 of file SerializerTests.cpp.
References armnn::Boolean, IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::ElementwiseUnary, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::LogicalNot, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeLogSoftmax | ) |
Definition at line 1697 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, armnn::LogSoftmax(), SoftmaxDescriptor::m_Beta, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeMaximum | ) |
Definition at line 1726 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, armnn::Maximum, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeMean | ) |
Definition at line 1754 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), MeanDescriptor::m_Axis, armnn::Mean(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeMerge | ) |
Definition at line 1784 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, armnn::Merge, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeMerger | ) |
Definition at line 1840 of file SerializerTests.cpp.
References ARMNN_NO_DEPRECATE_WARN_BEGIN, ARMNN_NO_DEPRECATE_WARN_END, IOutputSlot::Connect(), INetwork::Create(), armnn::CreateDescriptorForConcatenation(), armnn::Float32, IConnectableLayer::GetOutputSlot(), TensorInfo::GetShape(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | EnsureMergerLayerBackwardCompatibility | ) |
Definition at line 1875 of file SerializerTests.cpp.
References armnn::CreateDescriptorForConcatenation(), armnn::Float32, and TensorInfo::GetShape().
BOOST_AUTO_TEST_CASE | ( | SerializeConcat | ) |
Definition at line 1944 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::CreateDescriptorForConcatenation(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), TensorInfo::GetShape(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeMinimum | ) |
Definition at line 1979 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, armnn::Minimum, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeMultiplication | ) |
Definition at line 2007 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, armnn::Multiplication, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializePrelu | ) |
Definition at line 2035 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::Prelu, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeNormalization | ) |
Definition at line 2066 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, NormalizationDescriptor::m_DataLayout, armnn::NCHW, armnn::Normalization, armnn::Pad(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializePad | ) |
Definition at line 2100 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | EnsurePadBackwardCompatibility | ) |
Definition at line 2126 of file SerializerTests.cpp.
References armnn::Float32.
BOOST_AUTO_TEST_CASE | ( | SerializePermute | ) |
Definition at line 2180 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnnUtils::Permute(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializePooling2d | ) |
Definition at line 2208 of file SerializerTests.cpp.
References armnn::Average, IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Exclude, armnn::Float32, armnn::Floor, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), Pooling2dDescriptor::m_DataLayout, armnn::NHWC, armnn::Pooling2d(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeQuantize | ) |
Definition at line 2248 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, armnn::Quantize(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeRank | ) |
Definition at line 2273 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::Rank, IOutputSlot::SetTensorInfo(), and armnn::Signed32.
BOOST_AUTO_TEST_CASE | ( | SerializeReshape | ) |
Definition at line 2299 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::Reshape, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeResize | ) |
Definition at line 2327 of file SerializerTests.cpp.
References armnn::Bilinear, IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), ResizeDescriptor::m_AlignCorners, ResizeDescriptor::m_DataLayout, ResizeDescriptor::m_HalfPixelCenters, ResizeDescriptor::m_Method, ResizeDescriptor::m_TargetHeight, ResizeDescriptor::m_TargetWidth, armnn::NearestNeighbor, armnn::Resize(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeResizeBilinear | ) |
Definition at line 2395 of file SerializerTests.cpp.
References ARMNN_NO_DEPRECATE_WARN_BEGIN, ARMNN_NO_DEPRECATE_WARN_END, IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetOutputSlot(), ResizeBilinearDescriptor::m_TargetWidth, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | EnsureResizeBilinearBackwardCompatibility | ) |
Definition at line 2427 of file SerializerTests.cpp.
References armnn::Float32, and ResizeBilinearDescriptor::m_TargetWidth.
BOOST_AUTO_TEST_CASE | ( | SerializeSlice | ) |
Definition at line 2483 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), IOutputSlot::SetTensorInfo(), and armnn::Slice().
BOOST_AUTO_TEST_CASE | ( | SerializeSoftmax | ) |
Definition at line 2513 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, SoftmaxDescriptor::m_Beta, IOutputSlot::SetTensorInfo(), and armnn::Softmax().
BOOST_AUTO_TEST_CASE | ( | SerializeSpaceToBatchNd | ) |
Definition at line 2541 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), SpaceToBatchNdDescriptor::m_DataLayout, armnn::NCHW, IOutputSlot::SetTensorInfo(), and armnn::SpaceToBatchNd().
BOOST_AUTO_TEST_CASE | ( | SerializeSpaceToDepth | ) |
Definition at line 2572 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), SpaceToDepthDescriptor::m_BlockSize, armnn::NHWC, IOutputSlot::SetTensorInfo(), and armnn::SpaceToDepth().
BOOST_AUTO_TEST_CASE | ( | SerializeSplitter | ) |
Definition at line 2603 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), IOutputSlot::SetTensorInfo(), ViewsDescriptor::SetViewOriginCoord(), ViewsDescriptor::SetViewSize(), and armnn::Splitter().
BOOST_AUTO_TEST_CASE | ( | SerializeStack | ) |
Definition at line 2658 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), IOutputSlot::SetTensorInfo(), and armnn::Stack().
BOOST_AUTO_TEST_CASE | ( | SerializeStandIn | ) |
Definition at line 2690 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), IOutputSlot::SetTensorInfo(), and armnn::StandIn.
BOOST_AUTO_TEST_CASE | ( | SerializeStridedSlice | ) |
Definition at line 2725 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), StridedSliceDescriptor::m_EndMask, armnn::NCHW, IOutputSlot::SetTensorInfo(), and armnn::StridedSlice().
BOOST_AUTO_TEST_CASE | ( | SerializeSubtraction | ) |
Definition at line 2756 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, IOutputSlot::SetTensorInfo(), and armnn::Subtraction.
BOOST_AUTO_TEST_CASE | ( | SerializeSwitch | ) |
Definition at line 2784 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeTranspose | ) |
Definition at line 2834 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), DECLARE_LAYER_VERIFIER_CLASS_WITH_DESCRIPTOR, armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), IOutputSlot::SetTensorInfo(), and armnnUtils::Transpose().
BOOST_AUTO_TEST_CASE | ( | SerializeTransposeConvolution2d | ) |
Definition at line 2862 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), OptionalBase::has_value(), TransposeConvolution2dDescriptor::m_BiasEnabled, TransposeConvolution2dDescriptor::m_DataLayout, TransposeConvolution2dDescriptor::m_PadBottom, TransposeConvolution2dDescriptor::m_PadLeft, TransposeConvolution2dDescriptor::m_PadRight, TransposeConvolution2dDescriptor::m_PadTop, TransposeConvolution2dDescriptor::m_StrideX, TransposeConvolution2dDescriptor::m_StrideY, armnn::NHWC, IOutputSlot::SetTensorInfo(), and OptionalReferenceSwitch< IsReference, T >::value().
BOOST_AUTO_TEST_CASE | ( | SerializeDeserializeNonLinearNetwork | ) |
Definition at line 2951 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::info, LstmInputParams::m_CellBias, LstmInputParams::m_CellLayerNormWeights, LstmInputParams::m_CellToForgetWeights, LstmInputParams::m_CellToInputWeights, LstmInputParams::m_CellToOutputWeights, LstmInputParams::m_ForgetGateBias, LstmInputParams::m_ForgetLayerNormWeights, LstmInputParams::m_InputGateBias, LstmInputParams::m_InputLayerNormWeights, LstmInputParams::m_InputToCellWeights, LstmInputParams::m_InputToForgetWeights, LstmInputParams::m_InputToInputWeights, LstmInputParams::m_InputToOutputWeights, LstmInputParams::m_OutputGateBias, LstmInputParams::m_OutputLayerNormWeights, LstmInputParams::m_ProjectionBias, LstmInputParams::m_ProjectionWeights, LstmInputParams::m_RecurrentToCellWeights, LstmInputParams::m_RecurrentToForgetWeights, LstmInputParams::m_RecurrentToInputWeights, LstmInputParams::m_RecurrentToOutputWeights, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeDeserializeLstmCifgPeepholeNoProjection | ) |
Definition at line 3076 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), LstmDescriptor::m_ActivationFunc, LstmInputParams::m_CellBias, LstmInputParams::m_CellToForgetWeights, LstmInputParams::m_CellToOutputWeights, LstmDescriptor::m_CifgEnabled, LstmDescriptor::m_ClippingThresCell, LstmDescriptor::m_ClippingThresProj, LstmInputParams::m_ForgetGateBias, LstmInputParams::m_InputToCellWeights, LstmInputParams::m_InputToForgetWeights, LstmInputParams::m_InputToOutputWeights, LstmInputParams::m_OutputGateBias, LstmDescriptor::m_PeepholeEnabled, LstmDescriptor::m_ProjectionEnabled, LstmInputParams::m_RecurrentToCellWeights, LstmInputParams::m_RecurrentToForgetWeights, LstmInputParams::m_RecurrentToOutputWeights, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeDeserializeLstmNoCifgWithPeepholeAndProjection | ) |
Definition at line 3190 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), LstmDescriptor::m_ActivationFunc, LstmInputParams::m_CellBias, LstmInputParams::m_CellToForgetWeights, LstmInputParams::m_CellToInputWeights, LstmInputParams::m_CellToOutputWeights, LstmDescriptor::m_CifgEnabled, LstmDescriptor::m_ClippingThresCell, LstmDescriptor::m_ClippingThresProj, LstmInputParams::m_ForgetGateBias, LstmInputParams::m_InputGateBias, LstmInputParams::m_InputToCellWeights, LstmInputParams::m_InputToForgetWeights, LstmInputParams::m_InputToInputWeights, LstmInputParams::m_InputToOutputWeights, LstmInputParams::m_OutputGateBias, LstmDescriptor::m_PeepholeEnabled, LstmInputParams::m_ProjectionBias, LstmDescriptor::m_ProjectionEnabled, LstmInputParams::m_ProjectionWeights, LstmInputParams::m_RecurrentToCellWeights, LstmInputParams::m_RecurrentToForgetWeights, LstmInputParams::m_RecurrentToInputWeights, LstmInputParams::m_RecurrentToOutputWeights, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | SerializeDeserializeLstmNoCifgWithPeepholeWithProjectionWithLayerNorm | ) |
Definition at line 3336 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), LstmDescriptor::m_ActivationFunc, LstmInputParams::m_CellBias, LstmInputParams::m_CellLayerNormWeights, LstmInputParams::m_CellToForgetWeights, LstmInputParams::m_CellToInputWeights, LstmInputParams::m_CellToOutputWeights, LstmDescriptor::m_CifgEnabled, LstmDescriptor::m_ClippingThresCell, LstmDescriptor::m_ClippingThresProj, LstmInputParams::m_ForgetGateBias, LstmInputParams::m_ForgetLayerNormWeights, LstmInputParams::m_InputGateBias, LstmInputParams::m_InputLayerNormWeights, LstmInputParams::m_InputToCellWeights, LstmInputParams::m_InputToForgetWeights, LstmInputParams::m_InputToInputWeights, LstmInputParams::m_InputToOutputWeights, LstmDescriptor::m_LayerNormEnabled, LstmInputParams::m_OutputGateBias, LstmInputParams::m_OutputLayerNormWeights, LstmDescriptor::m_PeepholeEnabled, LstmInputParams::m_ProjectionBias, LstmDescriptor::m_ProjectionEnabled, LstmInputParams::m_ProjectionWeights, LstmInputParams::m_RecurrentToCellWeights, LstmInputParams::m_RecurrentToForgetWeights, LstmInputParams::m_RecurrentToInputWeights, LstmInputParams::m_RecurrentToOutputWeights, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | EnsureLstmLayersBackwardCompatibility | ) |
Definition at line 3501 of file SerializerTests.cpp.
References armnn::Float32, LstmDescriptor::m_ActivationFunc, QuantizedLstmInputParams::m_CellBias, LstmInputParams::m_CellBias, LstmInputParams::m_CellToForgetWeights, LstmInputParams::m_CellToInputWeights, LstmInputParams::m_CellToOutputWeights, LstmDescriptor::m_CifgEnabled, LstmDescriptor::m_ClippingThresCell, LstmDescriptor::m_ClippingThresProj, QuantizedLstmInputParams::m_ForgetGateBias, LstmInputParams::m_ForgetGateBias, QuantizedLstmInputParams::m_InputGateBias, LstmInputParams::m_InputGateBias, QuantizedLstmInputParams::m_InputToCellWeights, LstmInputParams::m_InputToCellWeights, QuantizedLstmInputParams::m_InputToForgetWeights, LstmInputParams::m_InputToForgetWeights, QuantizedLstmInputParams::m_InputToInputWeights, LstmInputParams::m_InputToInputWeights, QuantizedLstmInputParams::m_InputToOutputWeights, LstmInputParams::m_InputToOutputWeights, QuantizedLstmInputParams::m_OutputGateBias, LstmInputParams::m_OutputGateBias, LstmDescriptor::m_PeepholeEnabled, LstmInputParams::m_ProjectionBias, LstmDescriptor::m_ProjectionEnabled, LstmInputParams::m_ProjectionWeights, QuantizedLstmInputParams::m_RecurrentToCellWeights, LstmInputParams::m_RecurrentToCellWeights, QuantizedLstmInputParams::m_RecurrentToForgetWeights, LstmInputParams::m_RecurrentToForgetWeights, QuantizedLstmInputParams::m_RecurrentToInputWeights, LstmInputParams::m_RecurrentToInputWeights, QuantizedLstmInputParams::m_RecurrentToOutputWeights, and LstmInputParams::m_RecurrentToOutputWeights.
BOOST_AUTO_TEST_CASE | ( | SerializeDeserializeQuantizedLstm | ) |
Definition at line 4283 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), QuantizedLstmInputParams::m_CellBias, LstmInputParams::m_CellBias, LstmInputParams::m_CellLayerNormWeights, LstmInputParams::m_CellToForgetWeights, LstmInputParams::m_CellToInputWeights, LstmInputParams::m_CellToOutputWeights, QuantizedLstmInputParams::m_ForgetGateBias, LstmInputParams::m_ForgetGateBias, LstmInputParams::m_ForgetLayerNormWeights, QuantizedLstmInputParams::m_InputGateBias, LstmInputParams::m_InputGateBias, LstmInputParams::m_InputLayerNormWeights, QuantizedLstmInputParams::m_InputToCellWeights, LstmInputParams::m_InputToCellWeights, QuantizedLstmInputParams::m_InputToForgetWeights, LstmInputParams::m_InputToForgetWeights, QuantizedLstmInputParams::m_InputToInputWeights, LstmInputParams::m_InputToInputWeights, QuantizedLstmInputParams::m_InputToOutputWeights, LstmInputParams::m_InputToOutputWeights, QuantizedLstmInputParams::m_OutputGateBias, LstmInputParams::m_OutputGateBias, LstmInputParams::m_OutputLayerNormWeights, LstmInputParams::m_ProjectionBias, LstmInputParams::m_ProjectionWeights, QuantizedLstmInputParams::m_RecurrentToCellWeights, LstmInputParams::m_RecurrentToCellWeights, QuantizedLstmInputParams::m_RecurrentToForgetWeights, LstmInputParams::m_RecurrentToForgetWeights, QuantizedLstmInputParams::m_RecurrentToInputWeights, LstmInputParams::m_RecurrentToInputWeights, QuantizedLstmInputParams::m_RecurrentToOutputWeights, LstmInputParams::m_RecurrentToOutputWeights, armnn::QAsymmU8, armnn::QSymmS16, IOutputSlot::SetTensorInfo(), and armnn::Signed32.
BOOST_AUTO_TEST_CASE | ( | SerializeDeserializeQLstmBasic | ) |
Definition at line 4537 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), LstmInputParams::m_CellBias, QLstmDescriptor::m_CellClip, QLstmDescriptor::m_CellIntermediateScale, QLstmDescriptor::m_CifgEnabled, LstmInputParams::m_ForgetGateBias, QLstmDescriptor::m_ForgetIntermediateScale, QLstmDescriptor::m_HiddenStateScale, QLstmDescriptor::m_HiddenStateZeroPoint, QLstmDescriptor::m_InputIntermediateScale, LstmInputParams::m_InputToCellWeights, LstmInputParams::m_InputToForgetWeights, LstmInputParams::m_InputToOutputWeights, QLstmDescriptor::m_LayerNormEnabled, LstmInputParams::m_OutputGateBias, QLstmDescriptor::m_OutputIntermediateScale, QLstmDescriptor::m_PeepholeEnabled, QLstmDescriptor::m_ProjectionClip, QLstmDescriptor::m_ProjectionEnabled, LstmInputParams::m_RecurrentToCellWeights, LstmInputParams::m_RecurrentToForgetWeights, LstmInputParams::m_RecurrentToOutputWeights, armnn::QAsymmS8, armnn::QSymmS16, armnn::QSymmS8, IOutputSlot::SetTensorInfo(), and armnn::Signed32.
BOOST_AUTO_TEST_CASE | ( | SerializeDeserializeQLstmCifgLayerNorm | ) |
Definition at line 4693 of file SerializerTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), LstmInputParams::m_CellBias, QLstmDescriptor::m_CellClip, QLstmDescriptor::m_CellIntermediateScale, LstmInputParams::m_CellLayerNormWeights, QLstmDescriptor::m_CifgEnabled, LstmInputParams::m_ForgetGateBias, QLstmDescriptor::m_ForgetIntermediateScale, LstmInputParams::m_ForgetLayerNormWeights, QLstmDescriptor::m_HiddenStateScale, QLstmDescriptor::m_HiddenStateZeroPoint, QLstmDescriptor::m_InputIntermediateScale, LstmInputParams::m_InputToCellWeights, LstmInputParams::m_InputToForgetWeights, LstmInputParams::m_InputToOutputWeights, QLstmDescriptor::m_LayerNormEnabled, LstmInputParams::m_OutputGateBias, QLstmDescriptor::m_OutputIntermediateScale, LstmInputParams::m_OutputLayerNormWeights, QLstmDescriptor::m_PeepholeEnabled, QLstmDescriptor::m_ProjectionClip, QLstmDescriptor::m_ProjectionEnabled, LstmInputParams::m_RecurrentToCellWeights, LstmInputParams::m_RecurrentToForgetWeights, LstmInputParams::m_RecurrentToOutputWeights, armnn::QAsymmS8, armnn::QSymmS16, armnn::QSymmS8, IOutputSlot::SetTensorInfo(), and armnn::Signed32.
BOOST_AUTO_TEST_CASE | ( | SerializeDeserializeQLstmAdvanced | ) |
Definition at line 4881 of file SerializerTests.cpp.
References BOOST_AUTO_TEST_SUITE_END(), IOutputSlot::Connect(), INetwork::Create(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), LstmInputParams::m_CellBias, QLstmDescriptor::m_CellClip, QLstmDescriptor::m_CellIntermediateScale, LstmInputParams::m_CellLayerNormWeights, LstmInputParams::m_CellToForgetWeights, LstmInputParams::m_CellToInputWeights, LstmInputParams::m_CellToOutputWeights, QLstmDescriptor::m_CifgEnabled, LstmInputParams::m_ForgetGateBias, QLstmDescriptor::m_ForgetIntermediateScale, LstmInputParams::m_ForgetLayerNormWeights, QLstmDescriptor::m_HiddenStateScale, QLstmDescriptor::m_HiddenStateZeroPoint, LstmInputParams::m_InputGateBias, QLstmDescriptor::m_InputIntermediateScale, LstmInputParams::m_InputLayerNormWeights, LstmInputParams::m_InputToCellWeights, LstmInputParams::m_InputToForgetWeights, LstmInputParams::m_InputToInputWeights, LstmInputParams::m_InputToOutputWeights, QLstmDescriptor::m_LayerNormEnabled, LstmInputParams::m_OutputGateBias, QLstmDescriptor::m_OutputIntermediateScale, LstmInputParams::m_OutputLayerNormWeights, QLstmDescriptor::m_PeepholeEnabled, LstmInputParams::m_ProjectionBias, QLstmDescriptor::m_ProjectionClip, QLstmDescriptor::m_ProjectionEnabled, LstmInputParams::m_ProjectionWeights, LstmInputParams::m_RecurrentToCellWeights, LstmInputParams::m_RecurrentToForgetWeights, LstmInputParams::m_RecurrentToInputWeights, LstmInputParams::m_RecurrentToOutputWeights, armnn::QAsymmS8, armnn::QSymmS16, armnn::QSymmS8, IOutputSlot::SetTensorInfo(), and armnn::Signed32.