21.05
|
#include <boost/test/unit_test.hpp>
#include <armnn/BackendHelper.hpp>
#include <armnn/Utils.hpp>
#include <armnn/Types.hpp>
#include <armnn/TypesUtils.hpp>
#include <armnn/Descriptors.hpp>
#include <armnnUtils/Permute.hpp>
#include <GraphTopologicalSort.hpp>
#include <Graph.hpp>
#include <ResolveType.hpp>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (DataTypeSize) | |
BOOST_AUTO_TEST_CASE (PermuteDescriptorWithTooManyMappings) | |
BOOST_AUTO_TEST_CASE (PermuteDescriptorWithInvalidMappings1d) | |
BOOST_AUTO_TEST_CASE (PermuteDescriptorWithInvalidMappings2d) | |
BOOST_AUTO_TEST_CASE (PermuteDescriptorWithInvalidMappings3d) | |
BOOST_AUTO_TEST_CASE (PermuteDescriptorWithInvalidMappings4d) | |
BOOST_AUTO_TEST_CASE (PermuteDescriptorWithInvalidMappings5d) | |
BOOST_AUTO_TEST_CASE (PermuteDescriptorWithDuplicatedMappings) | |
BOOST_AUTO_TEST_CASE (HalfType) | |
BOOST_AUTO_TEST_CASE (BFloatType) | |
BOOST_AUTO_TEST_CASE (Float32ToBFloat16Test) | |
BOOST_AUTO_TEST_CASE (BFloat16ToFloat32Test) | |
BOOST_AUTO_TEST_CASE (GraphTopologicalSortSimpleTest) | |
BOOST_AUTO_TEST_CASE (GraphTopologicalSortVariantTest) | |
BOOST_AUTO_TEST_CASE (CyclicalGraphTopologicalSortTest) | |
BOOST_AUTO_TEST_CASE (PermuteQuantizationDim) | |
BOOST_AUTO_TEST_CASE (IsCapabilitySupported_CpuAcc) | |
BOOST_AUTO_TEST_CASE | ( | DataTypeSize | ) |
Definition at line 20 of file UtilsTests.cpp.
References armnn::Boolean, armnn::Float32, armnn::GetDataTypeSize(), armnn::QAsymmU8, and armnn::Signed32.
Referenced by BOOST_AUTO_TEST_CASE().
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithTooManyMappings | ) |
Definition at line 28 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithInvalidMappings1d | ) |
Definition at line 33 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithInvalidMappings2d | ) |
Definition at line 38 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithInvalidMappings3d | ) |
Definition at line 43 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithInvalidMappings4d | ) |
Definition at line 48 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithInvalidMappings5d | ) |
Definition at line 53 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithDuplicatedMappings | ) |
Definition at line 58 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | HalfType | ) |
Definition at line 63 of file UtilsTests.cpp.
References armnn::Float16, armnn::GetDataTypeName(), and armnn::GetDataTypeSize().
BOOST_AUTO_TEST_CASE | ( | BFloatType | ) |
Definition at line 90 of file UtilsTests.cpp.
References armnn::BFloat16, armnn::GetDataTypeName(), armnn::GetDataTypeSize(), BFloat16::Inf(), BFloat16::Nan(), and BFloat16::Val().
BOOST_AUTO_TEST_CASE | ( | Float32ToBFloat16Test | ) |
Definition at line 126 of file UtilsTests.cpp.
References BFloat16::Float32ToBFloat16(), BFloat16::Inf(), and BFloat16::Val().
BOOST_AUTO_TEST_CASE | ( | BFloat16ToFloat32Test | ) |
Definition at line 157 of file UtilsTests.cpp.
References BFloat16::Inf(), BFloat16::Nan(), and BFloat16::ToFloat32().
BOOST_AUTO_TEST_CASE | ( | GraphTopologicalSortSimpleTest | ) |
Definition at line 174 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | GraphTopologicalSortVariantTest | ) |
Definition at line 201 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | CyclicalGraphTopologicalSortTest | ) |
Definition at line 229 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteQuantizationDim | ) |
Definition at line 250 of file UtilsTests.cpp.
References BOOST_AUTO_TEST_CASE(), armnn::CpuRef, armnn::Float32, armnn::GetILayerSupportByBackendId(), armnn::IsCapabilitySupported(), armnn::NonConstWeights, and armnnUtils::Permuted().
BOOST_AUTO_TEST_CASE | ( | IsCapabilitySupported_CpuAcc | ) |
Definition at line 291 of file UtilsTests.cpp.
References BOOST_AUTO_TEST_SUITE_END(), armnn::CpuAcc, armnn::IsCapabilitySupported(), and armnn::NonConstWeights.