1 // clang-format off
2 // Generated file (from: max_pool_v1_2.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace max_pool_v1_2 {
6 // Generated max_pool_v1_2 test
7 #include "generated/examples/max_pool_v1_2.example.cpp"
8 // Generated model constructor
9 #include "generated/models/max_pool_v1_2.model.cpp"
10 } // namespace max_pool_v1_2
11
TEST_F(GeneratedTests,max_pool_v1_2_nhwc)12 TEST_F(GeneratedTests, max_pool_v1_2_nhwc) {
13 execute(max_pool_v1_2::CreateModel_nhwc,
14 max_pool_v1_2::is_ignored_nhwc,
15 max_pool_v1_2::get_examples_nhwc());
16 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nhwc,max_pool_v1_2::CreateModel_nhwc)17 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc, max_pool_v1_2::CreateModel_nhwc)
18
19 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_relaxed) {
20 execute(max_pool_v1_2::CreateModel_nhwc_relaxed,
21 max_pool_v1_2::is_ignored_nhwc_relaxed,
22 max_pool_v1_2::get_examples_nhwc_relaxed());
23 }
24
TEST_F(GeneratedTests,max_pool_v1_2_nhwc_quant8)25 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_quant8) {
26 execute(max_pool_v1_2::CreateModel_nhwc_quant8,
27 max_pool_v1_2::is_ignored_nhwc_quant8,
28 max_pool_v1_2::get_examples_nhwc_quant8());
29 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nhwc_quant8,max_pool_v1_2::CreateModel_nhwc_quant8)30 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_quant8, max_pool_v1_2::CreateModel_nhwc_quant8)
31
32 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_float16) {
33 execute(max_pool_v1_2::CreateModel_nhwc_float16,
34 max_pool_v1_2::is_ignored_nhwc_float16,
35 max_pool_v1_2::get_examples_nhwc_float16());
36 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nhwc_float16,max_pool_v1_2::CreateModel_nhwc_float16)37 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_float16, max_pool_v1_2::CreateModel_nhwc_float16)
38
39 TEST_F(GeneratedTests, max_pool_v1_2_nchw) {
40 execute(max_pool_v1_2::CreateModel_nchw,
41 max_pool_v1_2::is_ignored_nchw,
42 max_pool_v1_2::get_examples_nchw());
43 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nchw,max_pool_v1_2::CreateModel_nchw)44 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw, max_pool_v1_2::CreateModel_nchw)
45
46 TEST_F(GeneratedTests, max_pool_v1_2_nchw_relaxed) {
47 execute(max_pool_v1_2::CreateModel_nchw_relaxed,
48 max_pool_v1_2::is_ignored_nchw_relaxed,
49 max_pool_v1_2::get_examples_nchw_relaxed());
50 }
51
TEST_F(GeneratedTests,max_pool_v1_2_nchw_quant8)52 TEST_F(GeneratedTests, max_pool_v1_2_nchw_quant8) {
53 execute(max_pool_v1_2::CreateModel_nchw_quant8,
54 max_pool_v1_2::is_ignored_nchw_quant8,
55 max_pool_v1_2::get_examples_nchw_quant8());
56 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nchw_quant8,max_pool_v1_2::CreateModel_nchw_quant8)57 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_quant8, max_pool_v1_2::CreateModel_nchw_quant8)
58
59 TEST_F(GeneratedTests, max_pool_v1_2_nchw_float16) {
60 execute(max_pool_v1_2::CreateModel_nchw_float16,
61 max_pool_v1_2::is_ignored_nchw_float16,
62 max_pool_v1_2::get_examples_nchw_float16());
63 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nchw_float16,max_pool_v1_2::CreateModel_nchw_float16)64 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_float16, max_pool_v1_2::CreateModel_nchw_float16)
65
66 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc) {
67 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc,
68 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc,
69 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc());
70 }
71
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nhwc_relaxed)72 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_relaxed) {
73 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_relaxed,
74 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_relaxed,
75 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_relaxed());
76 }
77
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nhwc_quant8)78 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_quant8) {
79 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_quant8,
80 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_quant8,
81 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_quant8());
82 }
83
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nhwc_float16)84 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_float16) {
85 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_float16,
86 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_float16,
87 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_float16());
88 }
89
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw)90 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw) {
91 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw,
92 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw,
93 max_pool_v1_2::get_examples_dynamic_output_shape_nchw());
94 }
95
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_relaxed)96 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_relaxed) {
97 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_relaxed,
98 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_relaxed,
99 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_relaxed());
100 }
101
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_quant8)102 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_quant8) {
103 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_quant8,
104 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_quant8,
105 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_quant8());
106 }
107
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_float16)108 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_float16) {
109 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_float16,
110 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_float16,
111 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_float16());
112 }
113
TEST_F(GeneratedTests,max_pool_v1_2_nhwc_2)114 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_2) {
115 execute(max_pool_v1_2::CreateModel_nhwc_2,
116 max_pool_v1_2::is_ignored_nhwc_2,
117 max_pool_v1_2::get_examples_nhwc_2());
118 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nhwc_2,max_pool_v1_2::CreateModel_nhwc_2)119 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_2, max_pool_v1_2::CreateModel_nhwc_2)
120
121 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_relaxed_2) {
122 execute(max_pool_v1_2::CreateModel_nhwc_relaxed_2,
123 max_pool_v1_2::is_ignored_nhwc_relaxed_2,
124 max_pool_v1_2::get_examples_nhwc_relaxed_2());
125 }
126
TEST_F(GeneratedTests,max_pool_v1_2_nhwc_quant8_2)127 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_quant8_2) {
128 execute(max_pool_v1_2::CreateModel_nhwc_quant8_2,
129 max_pool_v1_2::is_ignored_nhwc_quant8_2,
130 max_pool_v1_2::get_examples_nhwc_quant8_2());
131 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nhwc_quant8_2,max_pool_v1_2::CreateModel_nhwc_quant8_2)132 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_quant8_2, max_pool_v1_2::CreateModel_nhwc_quant8_2)
133
134 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_float16_2) {
135 execute(max_pool_v1_2::CreateModel_nhwc_float16_2,
136 max_pool_v1_2::is_ignored_nhwc_float16_2,
137 max_pool_v1_2::get_examples_nhwc_float16_2());
138 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nhwc_float16_2,max_pool_v1_2::CreateModel_nhwc_float16_2)139 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_float16_2, max_pool_v1_2::CreateModel_nhwc_float16_2)
140
141 TEST_F(GeneratedTests, max_pool_v1_2_nchw_2) {
142 execute(max_pool_v1_2::CreateModel_nchw_2,
143 max_pool_v1_2::is_ignored_nchw_2,
144 max_pool_v1_2::get_examples_nchw_2());
145 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nchw_2,max_pool_v1_2::CreateModel_nchw_2)146 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_2, max_pool_v1_2::CreateModel_nchw_2)
147
148 TEST_F(GeneratedTests, max_pool_v1_2_nchw_relaxed_2) {
149 execute(max_pool_v1_2::CreateModel_nchw_relaxed_2,
150 max_pool_v1_2::is_ignored_nchw_relaxed_2,
151 max_pool_v1_2::get_examples_nchw_relaxed_2());
152 }
153
TEST_F(GeneratedTests,max_pool_v1_2_nchw_quant8_2)154 TEST_F(GeneratedTests, max_pool_v1_2_nchw_quant8_2) {
155 execute(max_pool_v1_2::CreateModel_nchw_quant8_2,
156 max_pool_v1_2::is_ignored_nchw_quant8_2,
157 max_pool_v1_2::get_examples_nchw_quant8_2());
158 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nchw_quant8_2,max_pool_v1_2::CreateModel_nchw_quant8_2)159 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_quant8_2, max_pool_v1_2::CreateModel_nchw_quant8_2)
160
161 TEST_F(GeneratedTests, max_pool_v1_2_nchw_float16_2) {
162 execute(max_pool_v1_2::CreateModel_nchw_float16_2,
163 max_pool_v1_2::is_ignored_nchw_float16_2,
164 max_pool_v1_2::get_examples_nchw_float16_2());
165 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nchw_float16_2,max_pool_v1_2::CreateModel_nchw_float16_2)166 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_float16_2, max_pool_v1_2::CreateModel_nchw_float16_2)
167
168 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_2) {
169 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_2,
170 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_2,
171 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_2());
172 }
173
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nhwc_relaxed_2)174 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_relaxed_2) {
175 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_relaxed_2,
176 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_relaxed_2,
177 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_relaxed_2());
178 }
179
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nhwc_quant8_2)180 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_quant8_2) {
181 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_quant8_2,
182 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_quant8_2,
183 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_quant8_2());
184 }
185
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nhwc_float16_2)186 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_float16_2) {
187 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_float16_2,
188 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_float16_2,
189 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_float16_2());
190 }
191
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_2)192 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_2) {
193 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_2,
194 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_2,
195 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_2());
196 }
197
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_relaxed_2)198 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_relaxed_2) {
199 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_relaxed_2,
200 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_relaxed_2,
201 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_relaxed_2());
202 }
203
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_quant8_2)204 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_quant8_2) {
205 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_quant8_2,
206 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_quant8_2,
207 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_quant8_2());
208 }
209
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_float16_2)210 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_float16_2) {
211 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_float16_2,
212 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_float16_2,
213 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_float16_2());
214 }
215
TEST_F(GeneratedTests,max_pool_v1_2_nhwc_3)216 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_3) {
217 execute(max_pool_v1_2::CreateModel_nhwc_3,
218 max_pool_v1_2::is_ignored_nhwc_3,
219 max_pool_v1_2::get_examples_nhwc_3());
220 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nhwc_3,max_pool_v1_2::CreateModel_nhwc_3)221 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_3, max_pool_v1_2::CreateModel_nhwc_3)
222
223 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_relaxed_3) {
224 execute(max_pool_v1_2::CreateModel_nhwc_relaxed_3,
225 max_pool_v1_2::is_ignored_nhwc_relaxed_3,
226 max_pool_v1_2::get_examples_nhwc_relaxed_3());
227 }
228
TEST_F(GeneratedTests,max_pool_v1_2_nhwc_quant8_3)229 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_quant8_3) {
230 execute(max_pool_v1_2::CreateModel_nhwc_quant8_3,
231 max_pool_v1_2::is_ignored_nhwc_quant8_3,
232 max_pool_v1_2::get_examples_nhwc_quant8_3());
233 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nhwc_quant8_3,max_pool_v1_2::CreateModel_nhwc_quant8_3)234 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_quant8_3, max_pool_v1_2::CreateModel_nhwc_quant8_3)
235
236 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_float16_3) {
237 execute(max_pool_v1_2::CreateModel_nhwc_float16_3,
238 max_pool_v1_2::is_ignored_nhwc_float16_3,
239 max_pool_v1_2::get_examples_nhwc_float16_3());
240 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nhwc_float16_3,max_pool_v1_2::CreateModel_nhwc_float16_3)241 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_float16_3, max_pool_v1_2::CreateModel_nhwc_float16_3)
242
243 TEST_F(GeneratedTests, max_pool_v1_2_nchw_3) {
244 execute(max_pool_v1_2::CreateModel_nchw_3,
245 max_pool_v1_2::is_ignored_nchw_3,
246 max_pool_v1_2::get_examples_nchw_3());
247 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nchw_3,max_pool_v1_2::CreateModel_nchw_3)248 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_3, max_pool_v1_2::CreateModel_nchw_3)
249
250 TEST_F(GeneratedTests, max_pool_v1_2_nchw_relaxed_3) {
251 execute(max_pool_v1_2::CreateModel_nchw_relaxed_3,
252 max_pool_v1_2::is_ignored_nchw_relaxed_3,
253 max_pool_v1_2::get_examples_nchw_relaxed_3());
254 }
255
TEST_F(GeneratedTests,max_pool_v1_2_nchw_quant8_3)256 TEST_F(GeneratedTests, max_pool_v1_2_nchw_quant8_3) {
257 execute(max_pool_v1_2::CreateModel_nchw_quant8_3,
258 max_pool_v1_2::is_ignored_nchw_quant8_3,
259 max_pool_v1_2::get_examples_nchw_quant8_3());
260 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nchw_quant8_3,max_pool_v1_2::CreateModel_nchw_quant8_3)261 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_quant8_3, max_pool_v1_2::CreateModel_nchw_quant8_3)
262
263 TEST_F(GeneratedTests, max_pool_v1_2_nchw_float16_3) {
264 execute(max_pool_v1_2::CreateModel_nchw_float16_3,
265 max_pool_v1_2::is_ignored_nchw_float16_3,
266 max_pool_v1_2::get_examples_nchw_float16_3());
267 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nchw_float16_3,max_pool_v1_2::CreateModel_nchw_float16_3)268 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_float16_3, max_pool_v1_2::CreateModel_nchw_float16_3)
269
270 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_3) {
271 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_3,
272 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_3,
273 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_3());
274 }
275
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nhwc_relaxed_3)276 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_relaxed_3) {
277 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_relaxed_3,
278 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_relaxed_3,
279 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_relaxed_3());
280 }
281
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nhwc_quant8_3)282 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_quant8_3) {
283 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_quant8_3,
284 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_quant8_3,
285 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_quant8_3());
286 }
287
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nhwc_float16_3)288 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_float16_3) {
289 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_float16_3,
290 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_float16_3,
291 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_float16_3());
292 }
293
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_3)294 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_3) {
295 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_3,
296 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_3,
297 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_3());
298 }
299
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_relaxed_3)300 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_relaxed_3) {
301 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_relaxed_3,
302 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_relaxed_3,
303 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_relaxed_3());
304 }
305
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_quant8_3)306 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_quant8_3) {
307 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_quant8_3,
308 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_quant8_3,
309 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_quant8_3());
310 }
311
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_float16_3)312 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_float16_3) {
313 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_float16_3,
314 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_float16_3,
315 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_float16_3());
316 }
317
TEST_F(GeneratedTests,max_pool_v1_2_nhwc_4)318 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_4) {
319 execute(max_pool_v1_2::CreateModel_nhwc_4,
320 max_pool_v1_2::is_ignored_nhwc_4,
321 max_pool_v1_2::get_examples_nhwc_4());
322 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nhwc_4,max_pool_v1_2::CreateModel_nhwc_4)323 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_4, max_pool_v1_2::CreateModel_nhwc_4)
324
325 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_relaxed_4) {
326 execute(max_pool_v1_2::CreateModel_nhwc_relaxed_4,
327 max_pool_v1_2::is_ignored_nhwc_relaxed_4,
328 max_pool_v1_2::get_examples_nhwc_relaxed_4());
329 }
330
TEST_F(GeneratedTests,max_pool_v1_2_nhwc_quant8_4)331 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_quant8_4) {
332 execute(max_pool_v1_2::CreateModel_nhwc_quant8_4,
333 max_pool_v1_2::is_ignored_nhwc_quant8_4,
334 max_pool_v1_2::get_examples_nhwc_quant8_4());
335 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nhwc_quant8_4,max_pool_v1_2::CreateModel_nhwc_quant8_4)336 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_quant8_4, max_pool_v1_2::CreateModel_nhwc_quant8_4)
337
338 TEST_F(GeneratedTests, max_pool_v1_2_nhwc_float16_4) {
339 execute(max_pool_v1_2::CreateModel_nhwc_float16_4,
340 max_pool_v1_2::is_ignored_nhwc_float16_4,
341 max_pool_v1_2::get_examples_nhwc_float16_4());
342 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nhwc_float16_4,max_pool_v1_2::CreateModel_nhwc_float16_4)343 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_float16_4, max_pool_v1_2::CreateModel_nhwc_float16_4)
344
345 TEST_F(GeneratedTests, max_pool_v1_2_nchw_4) {
346 execute(max_pool_v1_2::CreateModel_nchw_4,
347 max_pool_v1_2::is_ignored_nchw_4,
348 max_pool_v1_2::get_examples_nchw_4());
349 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nchw_4,max_pool_v1_2::CreateModel_nchw_4)350 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_4, max_pool_v1_2::CreateModel_nchw_4)
351
352 TEST_F(GeneratedTests, max_pool_v1_2_nchw_relaxed_4) {
353 execute(max_pool_v1_2::CreateModel_nchw_relaxed_4,
354 max_pool_v1_2::is_ignored_nchw_relaxed_4,
355 max_pool_v1_2::get_examples_nchw_relaxed_4());
356 }
357
TEST_F(GeneratedTests,max_pool_v1_2_nchw_quant8_4)358 TEST_F(GeneratedTests, max_pool_v1_2_nchw_quant8_4) {
359 execute(max_pool_v1_2::CreateModel_nchw_quant8_4,
360 max_pool_v1_2::is_ignored_nchw_quant8_4,
361 max_pool_v1_2::get_examples_nchw_quant8_4());
362 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nchw_quant8_4,max_pool_v1_2::CreateModel_nchw_quant8_4)363 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_quant8_4, max_pool_v1_2::CreateModel_nchw_quant8_4)
364
365 TEST_F(GeneratedTests, max_pool_v1_2_nchw_float16_4) {
366 execute(max_pool_v1_2::CreateModel_nchw_float16_4,
367 max_pool_v1_2::is_ignored_nchw_float16_4,
368 max_pool_v1_2::get_examples_nchw_float16_4());
369 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_nchw_float16_4,max_pool_v1_2::CreateModel_nchw_float16_4)370 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_float16_4, max_pool_v1_2::CreateModel_nchw_float16_4)
371
372 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_4) {
373 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_4,
374 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_4,
375 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_4());
376 }
377
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nhwc_relaxed_4)378 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_relaxed_4) {
379 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_relaxed_4,
380 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_relaxed_4,
381 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_relaxed_4());
382 }
383
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nhwc_quant8_4)384 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_quant8_4) {
385 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_quant8_4,
386 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_quant8_4,
387 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_quant8_4());
388 }
389
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nhwc_float16_4)390 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nhwc_float16_4) {
391 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nhwc_float16_4,
392 max_pool_v1_2::is_ignored_dynamic_output_shape_nhwc_float16_4,
393 max_pool_v1_2::get_examples_dynamic_output_shape_nhwc_float16_4());
394 }
395
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_4)396 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_4) {
397 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_4,
398 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_4,
399 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_4());
400 }
401
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_relaxed_4)402 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_relaxed_4) {
403 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_relaxed_4,
404 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_relaxed_4,
405 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_relaxed_4());
406 }
407
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_quant8_4)408 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_quant8_4) {
409 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_quant8_4,
410 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_quant8_4,
411 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_quant8_4());
412 }
413
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_dynamic_output_shape_nchw_float16_4)414 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_dynamic_output_shape_nchw_float16_4) {
415 execute(max_pool_v1_2::CreateModel_dynamic_output_shape_nchw_float16_4,
416 max_pool_v1_2::is_ignored_dynamic_output_shape_nchw_float16_4,
417 max_pool_v1_2::get_examples_dynamic_output_shape_nchw_float16_4());
418 }
419
TEST_F(GeneratedTests,max_pool_v1_2_zero_sized_nhwc)420 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nhwc) {
421 execute(max_pool_v1_2::CreateModel_zero_sized_nhwc,
422 max_pool_v1_2::is_ignored_zero_sized_nhwc,
423 max_pool_v1_2::get_examples_zero_sized_nhwc());
424 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_zero_sized_nhwc,max_pool_v1_2::CreateModel_zero_sized_nhwc)425 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_zero_sized_nhwc, max_pool_v1_2::CreateModel_zero_sized_nhwc)
426
427 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nhwc_relaxed) {
428 execute(max_pool_v1_2::CreateModel_zero_sized_nhwc_relaxed,
429 max_pool_v1_2::is_ignored_zero_sized_nhwc_relaxed,
430 max_pool_v1_2::get_examples_zero_sized_nhwc_relaxed());
431 }
432
TEST_F(GeneratedTests,max_pool_v1_2_zero_sized_nhwc_quant8)433 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nhwc_quant8) {
434 execute(max_pool_v1_2::CreateModel_zero_sized_nhwc_quant8,
435 max_pool_v1_2::is_ignored_zero_sized_nhwc_quant8,
436 max_pool_v1_2::get_examples_zero_sized_nhwc_quant8());
437 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_zero_sized_nhwc_quant8,max_pool_v1_2::CreateModel_zero_sized_nhwc_quant8)438 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_zero_sized_nhwc_quant8, max_pool_v1_2::CreateModel_zero_sized_nhwc_quant8)
439
440 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nhwc_float16) {
441 execute(max_pool_v1_2::CreateModel_zero_sized_nhwc_float16,
442 max_pool_v1_2::is_ignored_zero_sized_nhwc_float16,
443 max_pool_v1_2::get_examples_zero_sized_nhwc_float16());
444 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_zero_sized_nhwc_float16,max_pool_v1_2::CreateModel_zero_sized_nhwc_float16)445 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_zero_sized_nhwc_float16, max_pool_v1_2::CreateModel_zero_sized_nhwc_float16)
446
447 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nchw) {
448 execute(max_pool_v1_2::CreateModel_zero_sized_nchw,
449 max_pool_v1_2::is_ignored_zero_sized_nchw,
450 max_pool_v1_2::get_examples_zero_sized_nchw());
451 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_zero_sized_nchw,max_pool_v1_2::CreateModel_zero_sized_nchw)452 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_zero_sized_nchw, max_pool_v1_2::CreateModel_zero_sized_nchw)
453
454 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nchw_relaxed) {
455 execute(max_pool_v1_2::CreateModel_zero_sized_nchw_relaxed,
456 max_pool_v1_2::is_ignored_zero_sized_nchw_relaxed,
457 max_pool_v1_2::get_examples_zero_sized_nchw_relaxed());
458 }
459
TEST_F(GeneratedTests,max_pool_v1_2_zero_sized_nchw_quant8)460 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nchw_quant8) {
461 execute(max_pool_v1_2::CreateModel_zero_sized_nchw_quant8,
462 max_pool_v1_2::is_ignored_zero_sized_nchw_quant8,
463 max_pool_v1_2::get_examples_zero_sized_nchw_quant8());
464 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_zero_sized_nchw_quant8,max_pool_v1_2::CreateModel_zero_sized_nchw_quant8)465 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_zero_sized_nchw_quant8, max_pool_v1_2::CreateModel_zero_sized_nchw_quant8)
466
467 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nchw_float16) {
468 execute(max_pool_v1_2::CreateModel_zero_sized_nchw_float16,
469 max_pool_v1_2::is_ignored_zero_sized_nchw_float16,
470 max_pool_v1_2::get_examples_zero_sized_nchw_float16());
471 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_zero_sized_nchw_float16,max_pool_v1_2::CreateModel_zero_sized_nchw_float16)472 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_zero_sized_nchw_float16, max_pool_v1_2::CreateModel_zero_sized_nchw_float16)
473
474 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc) {
475 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc,
476 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc,
477 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc());
478 }
479
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed)480 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed) {
481 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_relaxed,
482 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_relaxed,
483 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed());
484 }
485
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_quant8)486 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_quant8) {
487 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_quant8,
488 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_quant8,
489 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_quant8());
490 }
491
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_float16)492 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_float16) {
493 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_float16,
494 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_float16,
495 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_float16());
496 }
497
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nchw)498 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nchw) {
499 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw,
500 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw,
501 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw());
502 }
503
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed)504 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed) {
505 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_relaxed,
506 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_relaxed,
507 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_relaxed());
508 }
509
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_quant8)510 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_quant8) {
511 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_quant8,
512 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_quant8,
513 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_quant8());
514 }
515
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_float16)516 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_float16) {
517 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_float16,
518 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_float16,
519 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_float16());
520 }
521
TEST_F(GeneratedTests,max_pool_v1_2_zero_sized_nhwc_2)522 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nhwc_2) {
523 execute(max_pool_v1_2::CreateModel_zero_sized_nhwc_2,
524 max_pool_v1_2::is_ignored_zero_sized_nhwc_2,
525 max_pool_v1_2::get_examples_zero_sized_nhwc_2());
526 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_zero_sized_nhwc_2,max_pool_v1_2::CreateModel_zero_sized_nhwc_2)527 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_zero_sized_nhwc_2, max_pool_v1_2::CreateModel_zero_sized_nhwc_2)
528
529 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nhwc_relaxed_2) {
530 execute(max_pool_v1_2::CreateModel_zero_sized_nhwc_relaxed_2,
531 max_pool_v1_2::is_ignored_zero_sized_nhwc_relaxed_2,
532 max_pool_v1_2::get_examples_zero_sized_nhwc_relaxed_2());
533 }
534
TEST_F(GeneratedTests,max_pool_v1_2_zero_sized_nhwc_quant8_2)535 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nhwc_quant8_2) {
536 execute(max_pool_v1_2::CreateModel_zero_sized_nhwc_quant8_2,
537 max_pool_v1_2::is_ignored_zero_sized_nhwc_quant8_2,
538 max_pool_v1_2::get_examples_zero_sized_nhwc_quant8_2());
539 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_zero_sized_nhwc_quant8_2,max_pool_v1_2::CreateModel_zero_sized_nhwc_quant8_2)540 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_zero_sized_nhwc_quant8_2, max_pool_v1_2::CreateModel_zero_sized_nhwc_quant8_2)
541
542 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nhwc_float16_2) {
543 execute(max_pool_v1_2::CreateModel_zero_sized_nhwc_float16_2,
544 max_pool_v1_2::is_ignored_zero_sized_nhwc_float16_2,
545 max_pool_v1_2::get_examples_zero_sized_nhwc_float16_2());
546 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_zero_sized_nhwc_float16_2,max_pool_v1_2::CreateModel_zero_sized_nhwc_float16_2)547 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_zero_sized_nhwc_float16_2, max_pool_v1_2::CreateModel_zero_sized_nhwc_float16_2)
548
549 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nchw_2) {
550 execute(max_pool_v1_2::CreateModel_zero_sized_nchw_2,
551 max_pool_v1_2::is_ignored_zero_sized_nchw_2,
552 max_pool_v1_2::get_examples_zero_sized_nchw_2());
553 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_zero_sized_nchw_2,max_pool_v1_2::CreateModel_zero_sized_nchw_2)554 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_zero_sized_nchw_2, max_pool_v1_2::CreateModel_zero_sized_nchw_2)
555
556 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nchw_relaxed_2) {
557 execute(max_pool_v1_2::CreateModel_zero_sized_nchw_relaxed_2,
558 max_pool_v1_2::is_ignored_zero_sized_nchw_relaxed_2,
559 max_pool_v1_2::get_examples_zero_sized_nchw_relaxed_2());
560 }
561
TEST_F(GeneratedTests,max_pool_v1_2_zero_sized_nchw_quant8_2)562 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nchw_quant8_2) {
563 execute(max_pool_v1_2::CreateModel_zero_sized_nchw_quant8_2,
564 max_pool_v1_2::is_ignored_zero_sized_nchw_quant8_2,
565 max_pool_v1_2::get_examples_zero_sized_nchw_quant8_2());
566 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_zero_sized_nchw_quant8_2,max_pool_v1_2::CreateModel_zero_sized_nchw_quant8_2)567 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_zero_sized_nchw_quant8_2, max_pool_v1_2::CreateModel_zero_sized_nchw_quant8_2)
568
569 TEST_F(GeneratedTests, max_pool_v1_2_zero_sized_nchw_float16_2) {
570 execute(max_pool_v1_2::CreateModel_zero_sized_nchw_float16_2,
571 max_pool_v1_2::is_ignored_zero_sized_nchw_float16_2,
572 max_pool_v1_2::get_examples_zero_sized_nchw_float16_2());
573 }
TEST_AVAILABLE_SINCE(V1_2,max_pool_v1_2_zero_sized_nchw_float16_2,max_pool_v1_2::CreateModel_zero_sized_nchw_float16_2)574 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_zero_sized_nchw_float16_2, max_pool_v1_2::CreateModel_zero_sized_nchw_float16_2)
575
576 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_2) {
577 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_2,
578 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_2,
579 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_2());
580 }
581
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed_2)582 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed_2) {
583 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_relaxed_2,
584 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_relaxed_2,
585 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed_2());
586 }
587
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_quant8_2)588 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_quant8_2) {
589 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_quant8_2,
590 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_quant8_2,
591 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_quant8_2());
592 }
593
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_float16_2)594 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nhwc_float16_2) {
595 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_float16_2,
596 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_float16_2,
597 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_float16_2());
598 }
599
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_2)600 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_2) {
601 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_2,
602 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_2,
603 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_2());
604 }
605
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed_2)606 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed_2) {
607 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_relaxed_2,
608 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_relaxed_2,
609 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_relaxed_2());
610 }
611
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_quant8_2)612 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_quant8_2) {
613 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_quant8_2,
614 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_quant8_2,
615 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_quant8_2());
616 }
617
TEST_F(DynamicOutputShapeTest,max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_float16_2)618 TEST_F(DynamicOutputShapeTest, max_pool_v1_2_zero_sized_dynamic_output_shape_nchw_float16_2) {
619 execute(max_pool_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_float16_2,
620 max_pool_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_float16_2,
621 max_pool_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_float16_2());
622 }
623
624