ArmNN
 20.05
DeserializeTranspose.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "ParserFlatbuffersSerializeFixture.hpp"
#include "../Deserializer.hpp"
#include <string>

Go to the source code of this file.

Functions

 BOOST_FIXTURE_TEST_CASE (SimpleTranspose2DQuantisedAsymm8, SimpleTranspose2DFixture)
 
 BOOST_FIXTURE_TEST_CASE (SimpleTranspose4DQuantisedAsymm8, SimpleTranspose4DFixture)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

BOOST_FIXTURE_TEST_CASE ( SimpleTranspose2DQuantisedAsymm8  ,
SimpleTranspose2DFixture   
)

Definition at line 113 of file DeserializeTranspose.cpp.

114 {
115  RunTest<2, armnn::DataType::QAsymmU8>(0,
116  { 1, 2, 3, 4, 5, 6 },
117  { 1, 4, 2, 5, 3, 6 });
118 }

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( SimpleTranspose4DQuantisedAsymm8  ,
SimpleTranspose4DFixture   
)

Definition at line 128 of file DeserializeTranspose.cpp.

References BOOST_AUTO_TEST_SUITE_END().

129 {
130  RunTest<4, armnn::DataType::QAsymmU8>(0,
131  { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
132  13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 },
133  { 1, 13, 5, 17, 9, 21, 2, 14, 6, 18, 10, 22,
134  3, 15, 7, 19, 11, 23, 4, 16, 8, 20, 12, 24 });
135 }