20.11
|
#include <boost/test/unit_test.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 | ( | DataTypeSize | ) |
Definition at line 19 of file UtilsTests.cpp.
References armnn::Boolean, armnn::Float32, armnn::GetDataTypeSize(), armnn::QAsymmU8, and armnn::Signed32.
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithTooManyMappings | ) |
Definition at line 27 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithInvalidMappings1d | ) |
Definition at line 32 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithInvalidMappings2d | ) |
Definition at line 37 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithInvalidMappings3d | ) |
Definition at line 42 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithInvalidMappings4d | ) |
Definition at line 47 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithInvalidMappings5d | ) |
Definition at line 52 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteDescriptorWithDuplicatedMappings | ) |
Definition at line 57 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | HalfType | ) |
Definition at line 62 of file UtilsTests.cpp.
References armnn::Float16, armnn::GetDataTypeName(), and armnn::GetDataTypeSize().
BOOST_AUTO_TEST_CASE | ( | BFloatType | ) |
Definition at line 89 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 125 of file UtilsTests.cpp.
References BFloat16::Float32ToBFloat16(), BFloat16::Inf(), and BFloat16::Val().
BOOST_AUTO_TEST_CASE | ( | BFloat16ToFloat32Test | ) |
Definition at line 156 of file UtilsTests.cpp.
References BFloat16::Inf(), BFloat16::Nan(), and BFloat16::ToFloat32().
BOOST_AUTO_TEST_CASE | ( | GraphTopologicalSortSimpleTest | ) |
Definition at line 173 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | GraphTopologicalSortVariantTest | ) |
Definition at line 200 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | CyclicalGraphTopologicalSortTest | ) |
Definition at line 228 of file UtilsTests.cpp.
BOOST_AUTO_TEST_CASE | ( | PermuteQuantizationDim | ) |
Definition at line 249 of file UtilsTests.cpp.
References BOOST_AUTO_TEST_SUITE_END(), armnn::Float32, and armnnUtils::Permuted().