ArmNN
 21.02
Stack.cpp File Reference
#include "armnnTfParser/ITfParser.hpp"
#include "ParserPrototxtFixture.hpp"
#include <PrototxtConversions.hpp>
#include <boost/test/unit_test.hpp>

Go to the source code of this file.

Functions

 BOOST_FIXTURE_TEST_CASE (Stack3D, Stack3DFixture)
 
 BOOST_FIXTURE_TEST_CASE (Stack3DNegativeAxis, Stack3DNegativeAxisFixture)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

BOOST_FIXTURE_TEST_CASE ( Stack3D  ,
Stack3DFixture   
)

Definition at line 81 of file Stack.cpp.

82 {
83 
84  RunTest<4>({ { "input0", { 1, 2, 3,
85  4, 5, 6,
86 
87  7, 8, 9,
88  10, 11, 12,
89 
90  13, 14, 15,
91  16, 17, 18 } },
92  { "input1", { 19, 20, 21,
93  22, 23, 24,
94 
95  25, 26, 27,
96  28, 29, 30,
97 
98  31, 32, 33,
99  34, 35, 36 } } },
100  { { "output", { 1, 19,
101  2, 20,
102  3, 21,
103 
104  4, 22,
105  5, 23,
106  6, 24,
107 
108  7, 25,
109  8, 26,
110  9, 27,
111 
112  10, 28,
113  11, 29,
114  12, 30,
115 
116  13, 31,
117  14, 32,
118  15, 33,
119 
120  16, 34,
121  17, 35,
122  18, 36 } } });
123 }

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( Stack3DNegativeAxis  ,
Stack3DNegativeAxisFixture   
)

Definition at line 130 of file Stack.cpp.

References BOOST_AUTO_TEST_SUITE_END().

131 {
132 
133  RunTest<4>({ { "input0", { 1, 2, 3,
134  4, 5, 6,
135 
136  7, 8, 9,
137  10, 11, 12,
138 
139  13, 14, 15,
140  16, 17, 18 } },
141  { "input1", { 19, 20, 21,
142  22, 23, 24,
143 
144  25, 26, 27,
145  28, 29, 30,
146 
147  31, 32, 33,
148  34, 35, 36 } } },
149  { { "output", { 1, 19,
150  2, 20,
151  3, 21,
152 
153  4, 22,
154  5, 23,
155  6, 24,
156 
157  7, 25,
158  8, 26,
159  9, 27,
160 
161  10, 28,
162  11, 29,
163  12, 30,
164 
165  13, 31,
166  14, 32,
167  15, 33,
168 
169  16, 34,
170  17, 35,
171  18, 36 } } });
172 }