ArmNN
 21.02
ConcatOfConcats.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 (ParseConcatOfConcatsNCHW, ConcatOfConcatsFixtureNCHW)
 
 BOOST_FIXTURE_TEST_CASE (ParseConcatOfConcatsNHWC, ConcatOfConcatsFixtureNHWC)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

BOOST_FIXTURE_TEST_CASE ( ParseConcatOfConcatsNCHW  ,
ConcatOfConcatsFixtureNCHW   
)

Definition at line 296 of file ConcatOfConcats.cpp.

297 {
298  RunTest<4>({{"graphInput0", {0.0, 1.0, 2.0, 3.0}},
299  {"graphInput1", {4.0, 5.0, 6.0, 7.0}},
300  {"graphInput2", {8.0, 9.0, 10.0, 11.0}},
301  {"graphInput3", {12.0, 13.0, 14.0, 15.0}}},
302  {{"concat_2", { 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0,
303  8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0 }}});
304 }

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( ParseConcatOfConcatsNHWC  ,
ConcatOfConcatsFixtureNHWC   
)

Definition at line 306 of file ConcatOfConcats.cpp.

References BOOST_AUTO_TEST_SUITE_END().

307 {
308  RunTest<4>({{"graphInput0", {0.0, 1.0, 2.0, 3.0}},
309  {"graphInput1", {4.0, 5.0, 6.0, 7.0}},
310  {"graphInput2", {8.0, 9.0, 10.0, 11.0}},
311  {"graphInput3", {12.0, 13.0, 14.0, 15.0}}},
312  {{"concat_2", { 0.0, 1.0, 4.0, 5.0, 8.0, 9.0, 12.0, 13.0,
313  2.0, 3.0, 6.0, 7.0, 10.0, 11.0, 14.0, 15.0 }}});
314 }