From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/_pass_thru_8cpp.xhtml | 192 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 192 insertions(+) create mode 100644 21.02/_pass_thru_8cpp.xhtml (limited to '21.02/_pass_thru_8cpp.xhtml') diff --git a/21.02/_pass_thru_8cpp.xhtml b/21.02/_pass_thru_8cpp.xhtml new file mode 100644 index 0000000000..1eb0c950c7 --- /dev/null +++ b/21.02/_pass_thru_8cpp.xhtml @@ -0,0 +1,192 @@ + + + + + + + + + + + + + +ArmNN: src/armnnTfParser/test/PassThru.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
PassThru.cpp File Reference
+
+
+
#include <boost/test/unit_test.hpp>
+#include "armnnTfParser/ITfParser.hpp"
+#include "ParserPrototxtFixture.hpp"
+
+

Go to the source code of this file.

+ + + + + + +

+Functions

 BOOST_FIXTURE_TEST_CASE (ValidateOutput, PassThruFixture)
 
 BOOST_FIXTURE_TEST_CASE (RunGraph, PassThruFixture)
 
+

Function Documentation

+ +

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ValidateOutput ,
PassThruFixture  
)
+
+ +

Definition at line 36 of file PassThru.cpp.

+
37 {
38  BOOST_TEST(m_Parser->GetNetworkOutputBindingInfo("Placeholder").second.GetNumDimensions() == 2);
39  BOOST_TEST(m_Parser->GetNetworkOutputBindingInfo("Placeholder").second.GetShape()[0] == 1);
40  BOOST_TEST(m_Parser->GetNetworkOutputBindingInfo("Placeholder").second.GetShape()[1] == 7);
41 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (RunGraph ,
PassThruFixture  
)
+
+ +

Definition at line 43 of file PassThru.cpp.

+ +

References BOOST_AUTO_TEST_SUITE_END().

+
44 {
45  armnn::TensorInfo inputTensorInfo = m_Parser->GetNetworkInputBindingInfo("Placeholder").second;
46  auto input = MakeRandomTensor<float, 2>(inputTensorInfo, 378346);
47  std::vector<float> inputVec;
48  inputVec.assign(input.data(), input.data() + input.num_elements());
49  RunTest<2>(inputVec, inputVec); // The passthru network should output the same as the input.
50 }
+
+
+
+
+
+ + + + -- cgit v1.2.1