From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- ...mnn_tf_lite_parser_2test_2_transpose_8cpp.xhtml | 193 +++++++++++++++++++++ 1 file changed, 193 insertions(+) create mode 100644 20.02/armnn_tf_lite_parser_2test_2_transpose_8cpp.xhtml (limited to '20.02/armnn_tf_lite_parser_2test_2_transpose_8cpp.xhtml') diff --git a/20.02/armnn_tf_lite_parser_2test_2_transpose_8cpp.xhtml b/20.02/armnn_tf_lite_parser_2test_2_transpose_8cpp.xhtml new file mode 100644 index 0000000000..e76997a324 --- /dev/null +++ b/20.02/armnn_tf_lite_parser_2test_2_transpose_8cpp.xhtml @@ -0,0 +1,193 @@ + + + + + + + + + + + + + +ArmNN: src/armnnTfLiteParser/test/Transpose.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Transpose.cpp File Reference
+
+
+
#include <boost/test/unit_test.hpp>
+#include "ParserFlatbuffersFixture.hpp"
+#include "../TfLiteParser.hpp"
+
+

Go to the source code of this file.

+ + + + + + +

+Functions

 BOOST_FIXTURE_TEST_CASE (TransposeWithPermuteData, TransposeFixtureWithPermuteData)
 
 BOOST_FIXTURE_TEST_CASE (TransposeWithoutPermuteDims, TransposeFixtureWithoutPermuteData)
 
+

Function Documentation

+ +

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (TransposeWithPermuteData ,
TransposeFixtureWithPermuteData  
)
+
+ +

Definition at line 121 of file Transpose.cpp.

+
122 {
123  RunTest<3, armnn::DataType::Float32>(
124  0,
125  {{"inputTensor", { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 }}},
126  {{"outputTensor", { 1, 4, 2, 5, 3, 6, 7, 10, 8, 11, 9, 12 }}});
127 
128  BOOST_TEST((m_Parser->GetNetworkOutputBindingInfo(0, "outputTensor").second.GetShape()
129  == armnn::TensorShape({2,3,2})));
130 }
+
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (TransposeWithoutPermuteDims ,
TransposeFixtureWithoutPermuteData  
)
+
+ +

Definition at line 142 of file Transpose.cpp.

+ +

References BOOST_AUTO_TEST_SUITE_END().

+
143 {
144  RunTest<3, armnn::DataType::Float32>(
145  0,
146  {{"inputTensor", { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 }}},
147  {{"outputTensor", { 1, 7, 4, 10, 2, 8, 5, 11, 3, 9, 6, 12 }}});
148 
149  BOOST_TEST((m_Parser->GetNetworkOutputBindingInfo(0, "outputTensor").second.GetShape()
150  == armnn::TensorShape({3,2,2})));
151 }
+
+
+
+
+
+ + + + -- cgit v1.2.1