1 // clang-format off
2 // Generated file (from: l2_pool_v1_2.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4 
5 namespace l2_pool_v1_2 {
6 // Generated l2_pool_v1_2 test
7 #include "generated/examples/l2_pool_v1_2.example.cpp"
8 // Generated model constructor
9 #include "generated/models/l2_pool_v1_2.model.cpp"
10 } // namespace l2_pool_v1_2
11 
TEST_F(GeneratedTests,l2_pool_v1_2_nhwc)12 TEST_F(GeneratedTests, l2_pool_v1_2_nhwc) {
13     execute(l2_pool_v1_2::CreateModel_nhwc,
14             l2_pool_v1_2::is_ignored_nhwc,
15             l2_pool_v1_2::get_examples_nhwc());
16 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_nhwc,l2_pool_v1_2::CreateModel_nhwc)17 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_nhwc, l2_pool_v1_2::CreateModel_nhwc)
18 
19 TEST_F(GeneratedTests, l2_pool_v1_2_nhwc_float16) {
20     execute(l2_pool_v1_2::CreateModel_nhwc_float16,
21             l2_pool_v1_2::is_ignored_nhwc_float16,
22             l2_pool_v1_2::get_examples_nhwc_float16());
23 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_nhwc_float16,l2_pool_v1_2::CreateModel_nhwc_float16)24 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_nhwc_float16, l2_pool_v1_2::CreateModel_nhwc_float16)
25 
26 TEST_F(GeneratedTests, l2_pool_v1_2_nhwc_relaxed) {
27     execute(l2_pool_v1_2::CreateModel_nhwc_relaxed,
28             l2_pool_v1_2::is_ignored_nhwc_relaxed,
29             l2_pool_v1_2::get_examples_nhwc_relaxed());
30 }
31 
TEST_F(GeneratedTests,l2_pool_v1_2_nhwc_relaxed_float16)32 TEST_F(GeneratedTests, l2_pool_v1_2_nhwc_relaxed_float16) {
33     execute(l2_pool_v1_2::CreateModel_nhwc_relaxed_float16,
34             l2_pool_v1_2::is_ignored_nhwc_relaxed_float16,
35             l2_pool_v1_2::get_examples_nhwc_relaxed_float16());
36 }
37 
TEST_F(GeneratedTests,l2_pool_v1_2_nchw)38 TEST_F(GeneratedTests, l2_pool_v1_2_nchw) {
39     execute(l2_pool_v1_2::CreateModel_nchw,
40             l2_pool_v1_2::is_ignored_nchw,
41             l2_pool_v1_2::get_examples_nchw());
42 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_nchw,l2_pool_v1_2::CreateModel_nchw)43 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_nchw, l2_pool_v1_2::CreateModel_nchw)
44 
45 TEST_F(GeneratedTests, l2_pool_v1_2_nchw_float16) {
46     execute(l2_pool_v1_2::CreateModel_nchw_float16,
47             l2_pool_v1_2::is_ignored_nchw_float16,
48             l2_pool_v1_2::get_examples_nchw_float16());
49 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_nchw_float16,l2_pool_v1_2::CreateModel_nchw_float16)50 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_nchw_float16, l2_pool_v1_2::CreateModel_nchw_float16)
51 
52 TEST_F(GeneratedTests, l2_pool_v1_2_nchw_relaxed) {
53     execute(l2_pool_v1_2::CreateModel_nchw_relaxed,
54             l2_pool_v1_2::is_ignored_nchw_relaxed,
55             l2_pool_v1_2::get_examples_nchw_relaxed());
56 }
57 
TEST_F(GeneratedTests,l2_pool_v1_2_nchw_relaxed_float16)58 TEST_F(GeneratedTests, l2_pool_v1_2_nchw_relaxed_float16) {
59     execute(l2_pool_v1_2::CreateModel_nchw_relaxed_float16,
60             l2_pool_v1_2::is_ignored_nchw_relaxed_float16,
61             l2_pool_v1_2::get_examples_nchw_relaxed_float16());
62 }
63 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nhwc)64 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nhwc) {
65     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nhwc,
66             l2_pool_v1_2::is_ignored_dynamic_output_shape_nhwc,
67             l2_pool_v1_2::get_examples_dynamic_output_shape_nhwc());
68 }
69 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nhwc_float16)70 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nhwc_float16) {
71     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_float16,
72             l2_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_float16,
73             l2_pool_v1_2::get_examples_dynamic_output_shape_nhwc_float16());
74 }
75 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nhwc_relaxed)76 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nhwc_relaxed) {
77     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_relaxed,
78             l2_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_relaxed,
79             l2_pool_v1_2::get_examples_dynamic_output_shape_nhwc_relaxed());
80 }
81 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nhwc_relaxed_float16)82 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nhwc_relaxed_float16) {
83     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_relaxed_float16,
84             l2_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_relaxed_float16,
85             l2_pool_v1_2::get_examples_dynamic_output_shape_nhwc_relaxed_float16());
86 }
87 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nchw)88 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nchw) {
89     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nchw,
90             l2_pool_v1_2::is_ignored_dynamic_output_shape_nchw,
91             l2_pool_v1_2::get_examples_dynamic_output_shape_nchw());
92 }
93 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nchw_float16)94 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nchw_float16) {
95     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nchw_float16,
96             l2_pool_v1_2::is_ignored_dynamic_output_shape_nchw_float16,
97             l2_pool_v1_2::get_examples_dynamic_output_shape_nchw_float16());
98 }
99 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nchw_relaxed)100 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nchw_relaxed) {
101     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nchw_relaxed,
102             l2_pool_v1_2::is_ignored_dynamic_output_shape_nchw_relaxed,
103             l2_pool_v1_2::get_examples_dynamic_output_shape_nchw_relaxed());
104 }
105 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nchw_relaxed_float16)106 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nchw_relaxed_float16) {
107     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nchw_relaxed_float16,
108             l2_pool_v1_2::is_ignored_dynamic_output_shape_nchw_relaxed_float16,
109             l2_pool_v1_2::get_examples_dynamic_output_shape_nchw_relaxed_float16());
110 }
111 
TEST_F(GeneratedTests,l2_pool_v1_2_nhwc_2)112 TEST_F(GeneratedTests, l2_pool_v1_2_nhwc_2) {
113     execute(l2_pool_v1_2::CreateModel_nhwc_2,
114             l2_pool_v1_2::is_ignored_nhwc_2,
115             l2_pool_v1_2::get_examples_nhwc_2());
116 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_nhwc_2,l2_pool_v1_2::CreateModel_nhwc_2)117 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_nhwc_2, l2_pool_v1_2::CreateModel_nhwc_2)
118 
119 TEST_F(GeneratedTests, l2_pool_v1_2_nhwc_float16_2) {
120     execute(l2_pool_v1_2::CreateModel_nhwc_float16_2,
121             l2_pool_v1_2::is_ignored_nhwc_float16_2,
122             l2_pool_v1_2::get_examples_nhwc_float16_2());
123 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_nhwc_float16_2,l2_pool_v1_2::CreateModel_nhwc_float16_2)124 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_nhwc_float16_2, l2_pool_v1_2::CreateModel_nhwc_float16_2)
125 
126 TEST_F(GeneratedTests, l2_pool_v1_2_nhwc_relaxed_2) {
127     execute(l2_pool_v1_2::CreateModel_nhwc_relaxed_2,
128             l2_pool_v1_2::is_ignored_nhwc_relaxed_2,
129             l2_pool_v1_2::get_examples_nhwc_relaxed_2());
130 }
131 
TEST_F(GeneratedTests,l2_pool_v1_2_nhwc_relaxed_float16_2)132 TEST_F(GeneratedTests, l2_pool_v1_2_nhwc_relaxed_float16_2) {
133     execute(l2_pool_v1_2::CreateModel_nhwc_relaxed_float16_2,
134             l2_pool_v1_2::is_ignored_nhwc_relaxed_float16_2,
135             l2_pool_v1_2::get_examples_nhwc_relaxed_float16_2());
136 }
137 
TEST_F(GeneratedTests,l2_pool_v1_2_nchw_2)138 TEST_F(GeneratedTests, l2_pool_v1_2_nchw_2) {
139     execute(l2_pool_v1_2::CreateModel_nchw_2,
140             l2_pool_v1_2::is_ignored_nchw_2,
141             l2_pool_v1_2::get_examples_nchw_2());
142 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_nchw_2,l2_pool_v1_2::CreateModel_nchw_2)143 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_nchw_2, l2_pool_v1_2::CreateModel_nchw_2)
144 
145 TEST_F(GeneratedTests, l2_pool_v1_2_nchw_float16_2) {
146     execute(l2_pool_v1_2::CreateModel_nchw_float16_2,
147             l2_pool_v1_2::is_ignored_nchw_float16_2,
148             l2_pool_v1_2::get_examples_nchw_float16_2());
149 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_nchw_float16_2,l2_pool_v1_2::CreateModel_nchw_float16_2)150 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_nchw_float16_2, l2_pool_v1_2::CreateModel_nchw_float16_2)
151 
152 TEST_F(GeneratedTests, l2_pool_v1_2_nchw_relaxed_2) {
153     execute(l2_pool_v1_2::CreateModel_nchw_relaxed_2,
154             l2_pool_v1_2::is_ignored_nchw_relaxed_2,
155             l2_pool_v1_2::get_examples_nchw_relaxed_2());
156 }
157 
TEST_F(GeneratedTests,l2_pool_v1_2_nchw_relaxed_float16_2)158 TEST_F(GeneratedTests, l2_pool_v1_2_nchw_relaxed_float16_2) {
159     execute(l2_pool_v1_2::CreateModel_nchw_relaxed_float16_2,
160             l2_pool_v1_2::is_ignored_nchw_relaxed_float16_2,
161             l2_pool_v1_2::get_examples_nchw_relaxed_float16_2());
162 }
163 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nhwc_2)164 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nhwc_2) {
165     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_2,
166             l2_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_2,
167             l2_pool_v1_2::get_examples_dynamic_output_shape_nhwc_2());
168 }
169 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nhwc_float16_2)170 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nhwc_float16_2) {
171     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_float16_2,
172             l2_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_float16_2,
173             l2_pool_v1_2::get_examples_dynamic_output_shape_nhwc_float16_2());
174 }
175 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nhwc_relaxed_2)176 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nhwc_relaxed_2) {
177     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_relaxed_2,
178             l2_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_relaxed_2,
179             l2_pool_v1_2::get_examples_dynamic_output_shape_nhwc_relaxed_2());
180 }
181 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nhwc_relaxed_float16_2)182 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nhwc_relaxed_float16_2) {
183     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_relaxed_float16_2,
184             l2_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_relaxed_float16_2,
185             l2_pool_v1_2::get_examples_dynamic_output_shape_nhwc_relaxed_float16_2());
186 }
187 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nchw_2)188 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nchw_2) {
189     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nchw_2,
190             l2_pool_v1_2::is_ignored_dynamic_output_shape_nchw_2,
191             l2_pool_v1_2::get_examples_dynamic_output_shape_nchw_2());
192 }
193 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nchw_float16_2)194 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nchw_float16_2) {
195     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nchw_float16_2,
196             l2_pool_v1_2::is_ignored_dynamic_output_shape_nchw_float16_2,
197             l2_pool_v1_2::get_examples_dynamic_output_shape_nchw_float16_2());
198 }
199 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nchw_relaxed_2)200 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nchw_relaxed_2) {
201     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nchw_relaxed_2,
202             l2_pool_v1_2::is_ignored_dynamic_output_shape_nchw_relaxed_2,
203             l2_pool_v1_2::get_examples_dynamic_output_shape_nchw_relaxed_2());
204 }
205 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_dynamic_output_shape_nchw_relaxed_float16_2)206 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_dynamic_output_shape_nchw_relaxed_float16_2) {
207     execute(l2_pool_v1_2::CreateModel_dynamic_output_shape_nchw_relaxed_float16_2,
208             l2_pool_v1_2::is_ignored_dynamic_output_shape_nchw_relaxed_float16_2,
209             l2_pool_v1_2::get_examples_dynamic_output_shape_nchw_relaxed_float16_2());
210 }
211 
TEST_F(GeneratedTests,l2_pool_v1_2_large_nhwc)212 TEST_F(GeneratedTests, l2_pool_v1_2_large_nhwc) {
213     execute(l2_pool_v1_2::CreateModel_large_nhwc,
214             l2_pool_v1_2::is_ignored_large_nhwc,
215             l2_pool_v1_2::get_examples_large_nhwc());
216 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_large_nhwc,l2_pool_v1_2::CreateModel_large_nhwc)217 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_large_nhwc, l2_pool_v1_2::CreateModel_large_nhwc)
218 
219 TEST_F(GeneratedTests, l2_pool_v1_2_large_nhwc_float16) {
220     execute(l2_pool_v1_2::CreateModel_large_nhwc_float16,
221             l2_pool_v1_2::is_ignored_large_nhwc_float16,
222             l2_pool_v1_2::get_examples_large_nhwc_float16());
223 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_large_nhwc_float16,l2_pool_v1_2::CreateModel_large_nhwc_float16)224 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_large_nhwc_float16, l2_pool_v1_2::CreateModel_large_nhwc_float16)
225 
226 TEST_F(GeneratedTests, l2_pool_v1_2_large_nhwc_relaxed) {
227     execute(l2_pool_v1_2::CreateModel_large_nhwc_relaxed,
228             l2_pool_v1_2::is_ignored_large_nhwc_relaxed,
229             l2_pool_v1_2::get_examples_large_nhwc_relaxed());
230 }
231 
TEST_F(GeneratedTests,l2_pool_v1_2_large_nhwc_relaxed_float16)232 TEST_F(GeneratedTests, l2_pool_v1_2_large_nhwc_relaxed_float16) {
233     execute(l2_pool_v1_2::CreateModel_large_nhwc_relaxed_float16,
234             l2_pool_v1_2::is_ignored_large_nhwc_relaxed_float16,
235             l2_pool_v1_2::get_examples_large_nhwc_relaxed_float16());
236 }
237 
TEST_F(GeneratedTests,l2_pool_v1_2_large_nchw)238 TEST_F(GeneratedTests, l2_pool_v1_2_large_nchw) {
239     execute(l2_pool_v1_2::CreateModel_large_nchw,
240             l2_pool_v1_2::is_ignored_large_nchw,
241             l2_pool_v1_2::get_examples_large_nchw());
242 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_large_nchw,l2_pool_v1_2::CreateModel_large_nchw)243 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_large_nchw, l2_pool_v1_2::CreateModel_large_nchw)
244 
245 TEST_F(GeneratedTests, l2_pool_v1_2_large_nchw_float16) {
246     execute(l2_pool_v1_2::CreateModel_large_nchw_float16,
247             l2_pool_v1_2::is_ignored_large_nchw_float16,
248             l2_pool_v1_2::get_examples_large_nchw_float16());
249 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_large_nchw_float16,l2_pool_v1_2::CreateModel_large_nchw_float16)250 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_large_nchw_float16, l2_pool_v1_2::CreateModel_large_nchw_float16)
251 
252 TEST_F(GeneratedTests, l2_pool_v1_2_large_nchw_relaxed) {
253     execute(l2_pool_v1_2::CreateModel_large_nchw_relaxed,
254             l2_pool_v1_2::is_ignored_large_nchw_relaxed,
255             l2_pool_v1_2::get_examples_large_nchw_relaxed());
256 }
257 
TEST_F(GeneratedTests,l2_pool_v1_2_large_nchw_relaxed_float16)258 TEST_F(GeneratedTests, l2_pool_v1_2_large_nchw_relaxed_float16) {
259     execute(l2_pool_v1_2::CreateModel_large_nchw_relaxed_float16,
260             l2_pool_v1_2::is_ignored_large_nchw_relaxed_float16,
261             l2_pool_v1_2::get_examples_large_nchw_relaxed_float16());
262 }
263 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_large_dynamic_output_shape_nhwc)264 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_large_dynamic_output_shape_nhwc) {
265     execute(l2_pool_v1_2::CreateModel_large_dynamic_output_shape_nhwc,
266             l2_pool_v1_2::is_ignored_large_dynamic_output_shape_nhwc,
267             l2_pool_v1_2::get_examples_large_dynamic_output_shape_nhwc());
268 }
269 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_large_dynamic_output_shape_nhwc_float16)270 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_large_dynamic_output_shape_nhwc_float16) {
271     execute(l2_pool_v1_2::CreateModel_large_dynamic_output_shape_nhwc_float16,
272             l2_pool_v1_2::is_ignored_large_dynamic_output_shape_nhwc_float16,
273             l2_pool_v1_2::get_examples_large_dynamic_output_shape_nhwc_float16());
274 }
275 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_large_dynamic_output_shape_nhwc_relaxed)276 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_large_dynamic_output_shape_nhwc_relaxed) {
277     execute(l2_pool_v1_2::CreateModel_large_dynamic_output_shape_nhwc_relaxed,
278             l2_pool_v1_2::is_ignored_large_dynamic_output_shape_nhwc_relaxed,
279             l2_pool_v1_2::get_examples_large_dynamic_output_shape_nhwc_relaxed());
280 }
281 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_large_dynamic_output_shape_nhwc_relaxed_float16)282 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_large_dynamic_output_shape_nhwc_relaxed_float16) {
283     execute(l2_pool_v1_2::CreateModel_large_dynamic_output_shape_nhwc_relaxed_float16,
284             l2_pool_v1_2::is_ignored_large_dynamic_output_shape_nhwc_relaxed_float16,
285             l2_pool_v1_2::get_examples_large_dynamic_output_shape_nhwc_relaxed_float16());
286 }
287 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_large_dynamic_output_shape_nchw)288 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_large_dynamic_output_shape_nchw) {
289     execute(l2_pool_v1_2::CreateModel_large_dynamic_output_shape_nchw,
290             l2_pool_v1_2::is_ignored_large_dynamic_output_shape_nchw,
291             l2_pool_v1_2::get_examples_large_dynamic_output_shape_nchw());
292 }
293 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_large_dynamic_output_shape_nchw_float16)294 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_large_dynamic_output_shape_nchw_float16) {
295     execute(l2_pool_v1_2::CreateModel_large_dynamic_output_shape_nchw_float16,
296             l2_pool_v1_2::is_ignored_large_dynamic_output_shape_nchw_float16,
297             l2_pool_v1_2::get_examples_large_dynamic_output_shape_nchw_float16());
298 }
299 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_large_dynamic_output_shape_nchw_relaxed)300 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_large_dynamic_output_shape_nchw_relaxed) {
301     execute(l2_pool_v1_2::CreateModel_large_dynamic_output_shape_nchw_relaxed,
302             l2_pool_v1_2::is_ignored_large_dynamic_output_shape_nchw_relaxed,
303             l2_pool_v1_2::get_examples_large_dynamic_output_shape_nchw_relaxed());
304 }
305 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_large_dynamic_output_shape_nchw_relaxed_float16)306 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_large_dynamic_output_shape_nchw_relaxed_float16) {
307     execute(l2_pool_v1_2::CreateModel_large_dynamic_output_shape_nchw_relaxed_float16,
308             l2_pool_v1_2::is_ignored_large_dynamic_output_shape_nchw_relaxed_float16,
309             l2_pool_v1_2::get_examples_large_dynamic_output_shape_nchw_relaxed_float16());
310 }
311 
TEST_F(GeneratedTests,l2_pool_v1_2_zero_sized_nhwc)312 TEST_F(GeneratedTests, l2_pool_v1_2_zero_sized_nhwc) {
313     execute(l2_pool_v1_2::CreateModel_zero_sized_nhwc,
314             l2_pool_v1_2::is_ignored_zero_sized_nhwc,
315             l2_pool_v1_2::get_examples_zero_sized_nhwc());
316 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_zero_sized_nhwc,l2_pool_v1_2::CreateModel_zero_sized_nhwc)317 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_zero_sized_nhwc, l2_pool_v1_2::CreateModel_zero_sized_nhwc)
318 
319 TEST_F(GeneratedTests, l2_pool_v1_2_zero_sized_nhwc_relaxed) {
320     execute(l2_pool_v1_2::CreateModel_zero_sized_nhwc_relaxed,
321             l2_pool_v1_2::is_ignored_zero_sized_nhwc_relaxed,
322             l2_pool_v1_2::get_examples_zero_sized_nhwc_relaxed());
323 }
324 
TEST_F(GeneratedTests,l2_pool_v1_2_zero_sized_nhwc_float16)325 TEST_F(GeneratedTests, l2_pool_v1_2_zero_sized_nhwc_float16) {
326     execute(l2_pool_v1_2::CreateModel_zero_sized_nhwc_float16,
327             l2_pool_v1_2::is_ignored_zero_sized_nhwc_float16,
328             l2_pool_v1_2::get_examples_zero_sized_nhwc_float16());
329 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_zero_sized_nhwc_float16,l2_pool_v1_2::CreateModel_zero_sized_nhwc_float16)330 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_zero_sized_nhwc_float16, l2_pool_v1_2::CreateModel_zero_sized_nhwc_float16)
331 
332 TEST_F(GeneratedTests, l2_pool_v1_2_zero_sized_nchw) {
333     execute(l2_pool_v1_2::CreateModel_zero_sized_nchw,
334             l2_pool_v1_2::is_ignored_zero_sized_nchw,
335             l2_pool_v1_2::get_examples_zero_sized_nchw());
336 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_zero_sized_nchw,l2_pool_v1_2::CreateModel_zero_sized_nchw)337 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_zero_sized_nchw, l2_pool_v1_2::CreateModel_zero_sized_nchw)
338 
339 TEST_F(GeneratedTests, l2_pool_v1_2_zero_sized_nchw_relaxed) {
340     execute(l2_pool_v1_2::CreateModel_zero_sized_nchw_relaxed,
341             l2_pool_v1_2::is_ignored_zero_sized_nchw_relaxed,
342             l2_pool_v1_2::get_examples_zero_sized_nchw_relaxed());
343 }
344 
TEST_F(GeneratedTests,l2_pool_v1_2_zero_sized_nchw_float16)345 TEST_F(GeneratedTests, l2_pool_v1_2_zero_sized_nchw_float16) {
346     execute(l2_pool_v1_2::CreateModel_zero_sized_nchw_float16,
347             l2_pool_v1_2::is_ignored_zero_sized_nchw_float16,
348             l2_pool_v1_2::get_examples_zero_sized_nchw_float16());
349 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_zero_sized_nchw_float16,l2_pool_v1_2::CreateModel_zero_sized_nchw_float16)350 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_zero_sized_nchw_float16, l2_pool_v1_2::CreateModel_zero_sized_nchw_float16)
351 
352 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_zero_sized_dynamic_output_shape_nhwc) {
353     execute(l2_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc,
354             l2_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc,
355             l2_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc());
356 }
357 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed)358 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed) {
359     execute(l2_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_relaxed,
360             l2_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_relaxed,
361             l2_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed());
362 }
363 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_float16)364 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_float16) {
365     execute(l2_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_float16,
366             l2_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_float16,
367             l2_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_float16());
368 }
369 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_zero_sized_dynamic_output_shape_nchw)370 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_zero_sized_dynamic_output_shape_nchw) {
371     execute(l2_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw,
372             l2_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw,
373             l2_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw());
374 }
375 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed)376 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed) {
377     execute(l2_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_relaxed,
378             l2_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_relaxed,
379             l2_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_relaxed());
380 }
381 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_zero_sized_dynamic_output_shape_nchw_float16)382 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_zero_sized_dynamic_output_shape_nchw_float16) {
383     execute(l2_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_float16,
384             l2_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_float16,
385             l2_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_float16());
386 }
387 
TEST_F(GeneratedTests,l2_pool_v1_2_zero_sized_nhwc_2)388 TEST_F(GeneratedTests, l2_pool_v1_2_zero_sized_nhwc_2) {
389     execute(l2_pool_v1_2::CreateModel_zero_sized_nhwc_2,
390             l2_pool_v1_2::is_ignored_zero_sized_nhwc_2,
391             l2_pool_v1_2::get_examples_zero_sized_nhwc_2());
392 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_zero_sized_nhwc_2,l2_pool_v1_2::CreateModel_zero_sized_nhwc_2)393 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_zero_sized_nhwc_2, l2_pool_v1_2::CreateModel_zero_sized_nhwc_2)
394 
395 TEST_F(GeneratedTests, l2_pool_v1_2_zero_sized_nhwc_relaxed_2) {
396     execute(l2_pool_v1_2::CreateModel_zero_sized_nhwc_relaxed_2,
397             l2_pool_v1_2::is_ignored_zero_sized_nhwc_relaxed_2,
398             l2_pool_v1_2::get_examples_zero_sized_nhwc_relaxed_2());
399 }
400 
TEST_F(GeneratedTests,l2_pool_v1_2_zero_sized_nhwc_float16_2)401 TEST_F(GeneratedTests, l2_pool_v1_2_zero_sized_nhwc_float16_2) {
402     execute(l2_pool_v1_2::CreateModel_zero_sized_nhwc_float16_2,
403             l2_pool_v1_2::is_ignored_zero_sized_nhwc_float16_2,
404             l2_pool_v1_2::get_examples_zero_sized_nhwc_float16_2());
405 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_zero_sized_nhwc_float16_2,l2_pool_v1_2::CreateModel_zero_sized_nhwc_float16_2)406 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_zero_sized_nhwc_float16_2, l2_pool_v1_2::CreateModel_zero_sized_nhwc_float16_2)
407 
408 TEST_F(GeneratedTests, l2_pool_v1_2_zero_sized_nchw_2) {
409     execute(l2_pool_v1_2::CreateModel_zero_sized_nchw_2,
410             l2_pool_v1_2::is_ignored_zero_sized_nchw_2,
411             l2_pool_v1_2::get_examples_zero_sized_nchw_2());
412 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_zero_sized_nchw_2,l2_pool_v1_2::CreateModel_zero_sized_nchw_2)413 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_zero_sized_nchw_2, l2_pool_v1_2::CreateModel_zero_sized_nchw_2)
414 
415 TEST_F(GeneratedTests, l2_pool_v1_2_zero_sized_nchw_relaxed_2) {
416     execute(l2_pool_v1_2::CreateModel_zero_sized_nchw_relaxed_2,
417             l2_pool_v1_2::is_ignored_zero_sized_nchw_relaxed_2,
418             l2_pool_v1_2::get_examples_zero_sized_nchw_relaxed_2());
419 }
420 
TEST_F(GeneratedTests,l2_pool_v1_2_zero_sized_nchw_float16_2)421 TEST_F(GeneratedTests, l2_pool_v1_2_zero_sized_nchw_float16_2) {
422     execute(l2_pool_v1_2::CreateModel_zero_sized_nchw_float16_2,
423             l2_pool_v1_2::is_ignored_zero_sized_nchw_float16_2,
424             l2_pool_v1_2::get_examples_zero_sized_nchw_float16_2());
425 }
TEST_AVAILABLE_SINCE(V1_2,l2_pool_v1_2_zero_sized_nchw_float16_2,l2_pool_v1_2::CreateModel_zero_sized_nchw_float16_2)426 TEST_AVAILABLE_SINCE(V1_2, l2_pool_v1_2_zero_sized_nchw_float16_2, l2_pool_v1_2::CreateModel_zero_sized_nchw_float16_2)
427 
428 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_2) {
429     execute(l2_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_2,
430             l2_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_2,
431             l2_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_2());
432 }
433 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed_2)434 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed_2) {
435     execute(l2_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_relaxed_2,
436             l2_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_relaxed_2,
437             l2_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed_2());
438 }
439 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_float16_2)440 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_float16_2) {
441     execute(l2_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_float16_2,
442             l2_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_float16_2,
443             l2_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_float16_2());
444 }
445 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_zero_sized_dynamic_output_shape_nchw_2)446 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_zero_sized_dynamic_output_shape_nchw_2) {
447     execute(l2_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_2,
448             l2_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_2,
449             l2_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_2());
450 }
451 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed_2)452 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed_2) {
453     execute(l2_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_relaxed_2,
454             l2_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_relaxed_2,
455             l2_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_relaxed_2());
456 }
457 
TEST_F(DynamicOutputShapeTest,l2_pool_v1_2_zero_sized_dynamic_output_shape_nchw_float16_2)458 TEST_F(DynamicOutputShapeTest, l2_pool_v1_2_zero_sized_dynamic_output_shape_nchw_float16_2) {
459     execute(l2_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_float16_2,
460             l2_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_float16_2,
461             l2_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_float16_2());
462 }
463 
464