21.11
|
Go to the source code of this file.
Functions | |
void | CompareConstTensor (const armnn::ConstTensor &tensor1, const armnn::ConstTensor &tensor2) |
armnn::INetworkPtr | DeserializeNetwork (const std::string &serializerString) |
std::string | SerializeNetwork (const armnn::INetwork &network) |
void CompareConstTensor | ( | const armnn::ConstTensor & | tensor1, |
const armnn::ConstTensor & | tensor2 | ||
) |
Definition at line 116 of file SerializerTestUtils.cpp.
References armnn::Boolean, armnn::Float32, BaseTensor< MemoryType >::GetDataType(), armnn::GetDataTypeName(), BaseTensor< MemoryType >::GetMemoryArea(), BaseTensor< MemoryType >::GetNumElements(), BaseTensor< MemoryType >::GetShape(), armnn::QAsymmU8, armnn::QSymmS8, and armnn::Signed32.
Referenced by LayerVerifierBaseWithDescriptorAndConstants< Descriptor >::ExecuteStrategy(), and TEST_SUITE().
armnn::INetworkPtr DeserializeNetwork | ( | const std::string & | serializerString | ) |
Definition at line 147 of file SerializerTestUtils.cpp.
Referenced by TEST_SUITE().
std::string SerializeNetwork | ( | const armnn::INetwork & | network | ) |
Definition at line 153 of file SerializerTestUtils.cpp.
References ISerializer::Create().
Referenced by TEST_SUITE().