20.02
|
#include "WorkloadTestUtils.hpp"
#include <armnn/Exceptions.hpp>
#include <backendsCommon/CpuTensorHandle.hpp>
#include <backendsCommon/Workload.hpp>
#include <reference/workloads/RefWorkloads.hpp>
#include <reference/RefWorkloadFactory.hpp>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (BatchNormalizationQueueDescriptor_Validate_DifferentQuantizationData) | |
BOOST_AUTO_TEST_CASE (QueueDescriptor_Validate_WrongNumOfInputsOutputs) | |
BOOST_AUTO_TEST_CASE (RefPooling2dFloat32Workload_Validate_WrongDimTensor) | |
BOOST_AUTO_TEST_CASE (SoftmaxQueueDescriptor_Validate_WrongInputHeight) | |
BOOST_AUTO_TEST_CASE (FullyConnectedQueueDescriptor_Validate_RequiredDataMissing) | |
BOOST_AUTO_TEST_CASE (NormalizationQueueDescriptor_Validate_WrongInputHeight) | |
BOOST_AUTO_TEST_CASE (SplitterQueueDescriptor_Validate_WrongWindow) | |
BOOST_AUTO_TEST_CASE (ConcatQueueDescriptor_Validate_WrongWindow) | |
BOOST_AUTO_TEST_CASE (AdditionQueueDescriptor_Validate_InputNumbers) | |
BOOST_AUTO_TEST_CASE (AdditionQueueDescriptor_Validate_InputShapes) | |
BOOST_AUTO_TEST_CASE (MultiplicationQueueDescriptor_Validate_InputTensorDimensionMismatch) | |
BOOST_AUTO_TEST_CASE (ReshapeQueueDescriptor_Validate_MismatchingNumElements) | |
BOOST_AUTO_TEST_CASE (LstmQueueDescriptor_Validate) | |
BOOST_AUTO_TEST_CASE (BiasPerAxisQuantization_Validate) | |
BOOST_AUTO_TEST_CASE | ( | BatchNormalizationQueueDescriptor_Validate_DifferentQuantizationData | ) |
Definition at line 22 of file WorkloadDataValidation.cpp.
References BatchNormalizationQueueDescriptor::m_Beta, BatchNormalizationQueueDescriptor::m_Gamma, BatchNormalizationQueueDescriptor::m_Mean, BatchNormalizationQueueDescriptor::m_Variance, and armnn::QAsymmU8.
BOOST_AUTO_TEST_CASE | ( | QueueDescriptor_Validate_WrongNumOfInputsOutputs | ) |
Definition at line 48 of file WorkloadDataValidation.cpp.
BOOST_AUTO_TEST_CASE | ( | RefPooling2dFloat32Workload_Validate_WrongDimTensor | ) |
Definition at line 56 of file WorkloadDataValidation.cpp.
References armnn::Float32.
BOOST_AUTO_TEST_CASE | ( | SoftmaxQueueDescriptor_Validate_WrongInputHeight | ) |
Definition at line 77 of file WorkloadDataValidation.cpp.
References armnn::Float32.
BOOST_AUTO_TEST_CASE | ( | FullyConnectedQueueDescriptor_Validate_RequiredDataMissing | ) |
Definition at line 108 of file WorkloadDataValidation.cpp.
References armnn::Float32, FullyConnectedQueueDescriptor::m_Bias, FullyConnectedDescriptor::m_BiasEnabled, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, FullyConnectedDescriptor::m_TransposeWeightMatrix, and FullyConnectedQueueDescriptor::m_Weight.
BOOST_AUTO_TEST_CASE | ( | NormalizationQueueDescriptor_Validate_WrongInputHeight | ) |
Definition at line 156 of file WorkloadDataValidation.cpp.
References armnn::Across, armnn::Float32, armnn::LocalBrightness, NormalizationDescriptor::m_Alpha, NormalizationDescriptor::m_Beta, NormalizationDescriptor::m_K, NormalizationDescriptor::m_NormChannelType, NormalizationDescriptor::m_NormMethodType, NormalizationDescriptor::m_NormSize, and QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters.
BOOST_AUTO_TEST_CASE | ( | SplitterQueueDescriptor_Validate_WrongWindow | ) |
Definition at line 203 of file WorkloadDataValidation.cpp.
References armnn::Float32, and SplitterQueueDescriptor::m_ViewOrigins.
BOOST_AUTO_TEST_CASE | ( | ConcatQueueDescriptor_Validate_WrongWindow | ) |
Definition at line 261 of file WorkloadDataValidation.cpp.
References armnn::Float32, and ConcatQueueDescriptor::m_ViewOrigins.
BOOST_AUTO_TEST_CASE | ( | AdditionQueueDescriptor_Validate_InputNumbers | ) |
Definition at line 318 of file WorkloadDataValidation.cpp.
References armnn::Float32.
BOOST_AUTO_TEST_CASE | ( | AdditionQueueDescriptor_Validate_InputShapes | ) |
Definition at line 352 of file WorkloadDataValidation.cpp.
References armnn::Float32.
BOOST_AUTO_TEST_CASE | ( | MultiplicationQueueDescriptor_Validate_InputTensorDimensionMismatch | ) |
Definition at line 395 of file WorkloadDataValidation.cpp.
References armnn::Float32.
BOOST_AUTO_TEST_CASE | ( | ReshapeQueueDescriptor_Validate_MismatchingNumElements | ) |
Definition at line 455 of file WorkloadDataValidation.cpp.
References armnn::Float32.
BOOST_AUTO_TEST_CASE | ( | LstmQueueDescriptor_Validate | ) |
Definition at line 478 of file WorkloadDataValidation.cpp.
References armnn::Float32, and armnn::info.
BOOST_AUTO_TEST_CASE | ( | BiasPerAxisQuantization_Validate | ) |
Definition at line 625 of file WorkloadDataValidation.cpp.
References BOOST_AUTO_TEST_SUITE_END(), Convolution2dQueueDescriptor::m_Bias, Convolution2dDescriptor::m_BiasEnabled, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, Convolution2dQueueDescriptor::m_Weight, armnn::QAsymmU8, armnn::QSymmS8, armnn::Signed32, and Convolution2dQueueDescriptor::Validate().