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/_flatten_8cpp.xhtml | 321 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 321 insertions(+) create mode 100644 21.02/_flatten_8cpp.xhtml (limited to '21.02/_flatten_8cpp.xhtml') diff --git a/21.02/_flatten_8cpp.xhtml b/21.02/_flatten_8cpp.xhtml new file mode 100644 index 0000000000..9b9881a571 --- /dev/null +++ b/21.02/_flatten_8cpp.xhtml @@ -0,0 +1,321 @@ + + + + + + + + + + + + + +ArmNN: src/armnnOnnxParser/test/Flatten.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Flatten.cpp File Reference
+
+
+
#include <boost/test/unit_test.hpp>
+#include "armnnOnnxParser/IOnnxParser.hpp"
+#include "ParserPrototxtFixture.hpp"
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

 BOOST_FIXTURE_TEST_CASE (ValidFlattenTest, FlattenValidFixture)
 
 BOOST_FIXTURE_TEST_CASE (ValidFlattenDefaultTest, FlattenDefaultValidFixture)
 
 BOOST_FIXTURE_TEST_CASE (ValidFlattenAxisZeroTest, FlattenAxisZeroValidFixture)
 
 BOOST_FIXTURE_TEST_CASE (ValidFlattenNegativeAxisTest, FlattenNegativeAxisValidFixture)
 
 BOOST_FIXTURE_TEST_CASE (IncorrectDataTypeFlatten, FlattenInvalidFixture)
 
 BOOST_FIXTURE_TEST_CASE (IncorrectAxisFlatten, FlattenInvalidAxisFixture)
 
+

Function Documentation

+ +

◆ BOOST_FIXTURE_TEST_CASE() [1/6]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ValidFlattenTest ,
FlattenValidFixture  
)
+
+ +

Definition at line 385 of file Flatten.cpp.

+
386 {
387  RunTest<2>({{"Input",
388  { 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
389  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
390  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f }}},
391  {{"Output",
392  { 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
393  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
394  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f }}});
395 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [2/6]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ValidFlattenDefaultTest ,
FlattenDefaultValidFixture  
)
+
+ +

Definition at line 397 of file Flatten.cpp.

+
398 {
399  RunTest<2>({{"Input",
400  { 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
401  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
402  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f }}},
403  {{"Output",
404  { 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
405  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
406  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f }}});
407 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [3/6]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ValidFlattenAxisZeroTest ,
FlattenAxisZeroValidFixture  
)
+
+ +

Definition at line 409 of file Flatten.cpp.

+
410 {
411  RunTest<2>({{"Input",
412  { 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
413  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
414  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f }}},
415  {{"Output",
416  { 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
417  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
418  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f }}});
419 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [4/6]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ValidFlattenNegativeAxisTest ,
FlattenNegativeAxisValidFixture  
)
+
+ +

Definition at line 421 of file Flatten.cpp.

+
422 {
423  RunTest<2>({{"Input",
424  { 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
425  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
426  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f }}},
427  {{"Output",
428  { 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
429  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f,
430  1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f }}});
431 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [5/6]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (IncorrectDataTypeFlatten ,
FlattenInvalidFixture  
)
+
+ +

Definition at line 433 of file Flatten.cpp.

+
434 {
435  BOOST_CHECK_THROW(Setup(), armnn::ParseException);
436 }
+
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [6/6]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (IncorrectAxisFlatten ,
FlattenInvalidAxisFixture  
)
+
+ +

Definition at line 438 of file Flatten.cpp.

+ +

References BOOST_AUTO_TEST_SUITE_END().

+
439 {
440  BOOST_CHECK_THROW(Setup(), armnn::ParseException);
441 }
+
+
+
+
+
+ + + + -- cgit v1.2.1