1 // clang-format off
2 // Generated file (from: resize_nearest_neighbor.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace resize_nearest_neighbor {
6 // Generated resize_nearest_neighbor test
7 #include "generated/examples/resize_nearest_neighbor.example.cpp"
8 // Generated model constructor
9 #include "generated/models/resize_nearest_neighbor.model.cpp"
10 } // namespace resize_nearest_neighbor
11
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc)12 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc) {
13 execute(resize_nearest_neighbor::CreateModel_shape_nhwc,
14 resize_nearest_neighbor::is_ignored_shape_nhwc,
15 resize_nearest_neighbor::get_examples_shape_nhwc());
16 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc,resize_nearest_neighbor::CreateModel_shape_nhwc)17 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc, resize_nearest_neighbor::CreateModel_shape_nhwc)
18
19 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_relaxed) {
20 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_relaxed,
21 resize_nearest_neighbor::is_ignored_shape_nhwc_relaxed,
22 resize_nearest_neighbor::get_examples_shape_nhwc_relaxed());
23 }
24
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_quant8)25 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_quant8) {
26 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_quant8,
27 resize_nearest_neighbor::is_ignored_shape_nhwc_quant8,
28 resize_nearest_neighbor::get_examples_shape_nhwc_quant8());
29 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_quant8,resize_nearest_neighbor::CreateModel_shape_nhwc_quant8)30 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_quant8, resize_nearest_neighbor::CreateModel_shape_nhwc_quant8)
31
32 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_float16) {
33 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_float16,
34 resize_nearest_neighbor::is_ignored_shape_nhwc_float16,
35 resize_nearest_neighbor::get_examples_shape_nhwc_float16());
36 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_float16,resize_nearest_neighbor::CreateModel_shape_nhwc_float16)37 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_float16, resize_nearest_neighbor::CreateModel_shape_nhwc_float16)
38
39 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw) {
40 execute(resize_nearest_neighbor::CreateModel_shape_nchw,
41 resize_nearest_neighbor::is_ignored_shape_nchw,
42 resize_nearest_neighbor::get_examples_shape_nchw());
43 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw,resize_nearest_neighbor::CreateModel_shape_nchw)44 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw, resize_nearest_neighbor::CreateModel_shape_nchw)
45
46 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_relaxed) {
47 execute(resize_nearest_neighbor::CreateModel_shape_nchw_relaxed,
48 resize_nearest_neighbor::is_ignored_shape_nchw_relaxed,
49 resize_nearest_neighbor::get_examples_shape_nchw_relaxed());
50 }
51
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nchw_quant8)52 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_quant8) {
53 execute(resize_nearest_neighbor::CreateModel_shape_nchw_quant8,
54 resize_nearest_neighbor::is_ignored_shape_nchw_quant8,
55 resize_nearest_neighbor::get_examples_shape_nchw_quant8());
56 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_quant8,resize_nearest_neighbor::CreateModel_shape_nchw_quant8)57 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_quant8, resize_nearest_neighbor::CreateModel_shape_nchw_quant8)
58
59 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_float16) {
60 execute(resize_nearest_neighbor::CreateModel_shape_nchw_float16,
61 resize_nearest_neighbor::is_ignored_shape_nchw_float16,
62 resize_nearest_neighbor::get_examples_shape_nchw_float16());
63 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_float16,resize_nearest_neighbor::CreateModel_shape_nchw_float16)64 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_float16, resize_nearest_neighbor::CreateModel_shape_nchw_float16)
65
66 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc) {
67 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc,
68 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc,
69 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc());
70 }
71
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed)72 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed) {
73 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_relaxed,
74 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_relaxed,
75 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_relaxed());
76 }
77
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8)78 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8) {
79 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_quant8,
80 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_quant8,
81 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_quant8());
82 }
83
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16)84 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16) {
85 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_float16,
86 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_float16,
87 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_float16());
88 }
89
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw)90 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw) {
91 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw,
92 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw,
93 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw());
94 }
95
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed)96 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed) {
97 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_relaxed,
98 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_relaxed,
99 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_relaxed());
100 }
101
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8)102 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8) {
103 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_quant8,
104 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_quant8,
105 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_quant8());
106 }
107
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16)108 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16) {
109 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_float16,
110 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_float16,
111 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_float16());
112 }
113
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc)114 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc) {
115 execute(resize_nearest_neighbor::CreateModel_scale_nhwc,
116 resize_nearest_neighbor::is_ignored_scale_nhwc,
117 resize_nearest_neighbor::get_examples_scale_nhwc());
118 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc,resize_nearest_neighbor::CreateModel_scale_nhwc)119 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc, resize_nearest_neighbor::CreateModel_scale_nhwc)
120
121 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_relaxed) {
122 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_relaxed,
123 resize_nearest_neighbor::is_ignored_scale_nhwc_relaxed,
124 resize_nearest_neighbor::get_examples_scale_nhwc_relaxed());
125 }
126
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_quant8)127 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_quant8) {
128 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_quant8,
129 resize_nearest_neighbor::is_ignored_scale_nhwc_quant8,
130 resize_nearest_neighbor::get_examples_scale_nhwc_quant8());
131 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_quant8,resize_nearest_neighbor::CreateModel_scale_nhwc_quant8)132 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_quant8, resize_nearest_neighbor::CreateModel_scale_nhwc_quant8)
133
134 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_float16) {
135 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_float16,
136 resize_nearest_neighbor::is_ignored_scale_nhwc_float16,
137 resize_nearest_neighbor::get_examples_scale_nhwc_float16());
138 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_float16,resize_nearest_neighbor::CreateModel_scale_nhwc_float16)139 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_float16, resize_nearest_neighbor::CreateModel_scale_nhwc_float16)
140
141 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw) {
142 execute(resize_nearest_neighbor::CreateModel_scale_nchw,
143 resize_nearest_neighbor::is_ignored_scale_nchw,
144 resize_nearest_neighbor::get_examples_scale_nchw());
145 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw,resize_nearest_neighbor::CreateModel_scale_nchw)146 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw, resize_nearest_neighbor::CreateModel_scale_nchw)
147
148 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_relaxed) {
149 execute(resize_nearest_neighbor::CreateModel_scale_nchw_relaxed,
150 resize_nearest_neighbor::is_ignored_scale_nchw_relaxed,
151 resize_nearest_neighbor::get_examples_scale_nchw_relaxed());
152 }
153
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nchw_quant8)154 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_quant8) {
155 execute(resize_nearest_neighbor::CreateModel_scale_nchw_quant8,
156 resize_nearest_neighbor::is_ignored_scale_nchw_quant8,
157 resize_nearest_neighbor::get_examples_scale_nchw_quant8());
158 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_quant8,resize_nearest_neighbor::CreateModel_scale_nchw_quant8)159 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_quant8, resize_nearest_neighbor::CreateModel_scale_nchw_quant8)
160
161 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_float16) {
162 execute(resize_nearest_neighbor::CreateModel_scale_nchw_float16,
163 resize_nearest_neighbor::is_ignored_scale_nchw_float16,
164 resize_nearest_neighbor::get_examples_scale_nchw_float16());
165 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_float16,resize_nearest_neighbor::CreateModel_scale_nchw_float16)166 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_float16, resize_nearest_neighbor::CreateModel_scale_nchw_float16)
167
168 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc) {
169 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc,
170 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc,
171 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc());
172 }
173
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed)174 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed) {
175 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_relaxed,
176 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_relaxed,
177 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_relaxed());
178 }
179
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8)180 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8) {
181 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_quant8,
182 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_quant8,
183 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_quant8());
184 }
185
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16)186 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16) {
187 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_float16,
188 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_float16,
189 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_float16());
190 }
191
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw)192 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw) {
193 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw,
194 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw,
195 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw());
196 }
197
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed)198 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed) {
199 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_relaxed,
200 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_relaxed,
201 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_relaxed());
202 }
203
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8)204 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8) {
205 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_quant8,
206 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_quant8,
207 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_quant8());
208 }
209
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16)210 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16) {
211 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_float16,
212 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_float16,
213 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_float16());
214 }
215
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_2)216 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_2) {
217 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_2,
218 resize_nearest_neighbor::is_ignored_shape_nhwc_2,
219 resize_nearest_neighbor::get_examples_shape_nhwc_2());
220 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_2,resize_nearest_neighbor::CreateModel_shape_nhwc_2)221 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_2, resize_nearest_neighbor::CreateModel_shape_nhwc_2)
222
223 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_relaxed_2) {
224 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_relaxed_2,
225 resize_nearest_neighbor::is_ignored_shape_nhwc_relaxed_2,
226 resize_nearest_neighbor::get_examples_shape_nhwc_relaxed_2());
227 }
228
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_quant8_2)229 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_quant8_2) {
230 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_2,
231 resize_nearest_neighbor::is_ignored_shape_nhwc_quant8_2,
232 resize_nearest_neighbor::get_examples_shape_nhwc_quant8_2());
233 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_quant8_2,resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_2)234 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_quant8_2, resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_2)
235
236 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_float16_2) {
237 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_float16_2,
238 resize_nearest_neighbor::is_ignored_shape_nhwc_float16_2,
239 resize_nearest_neighbor::get_examples_shape_nhwc_float16_2());
240 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_float16_2,resize_nearest_neighbor::CreateModel_shape_nhwc_float16_2)241 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_float16_2, resize_nearest_neighbor::CreateModel_shape_nhwc_float16_2)
242
243 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_2) {
244 execute(resize_nearest_neighbor::CreateModel_shape_nchw_2,
245 resize_nearest_neighbor::is_ignored_shape_nchw_2,
246 resize_nearest_neighbor::get_examples_shape_nchw_2());
247 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_2,resize_nearest_neighbor::CreateModel_shape_nchw_2)248 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_2, resize_nearest_neighbor::CreateModel_shape_nchw_2)
249
250 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_relaxed_2) {
251 execute(resize_nearest_neighbor::CreateModel_shape_nchw_relaxed_2,
252 resize_nearest_neighbor::is_ignored_shape_nchw_relaxed_2,
253 resize_nearest_neighbor::get_examples_shape_nchw_relaxed_2());
254 }
255
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nchw_quant8_2)256 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_quant8_2) {
257 execute(resize_nearest_neighbor::CreateModel_shape_nchw_quant8_2,
258 resize_nearest_neighbor::is_ignored_shape_nchw_quant8_2,
259 resize_nearest_neighbor::get_examples_shape_nchw_quant8_2());
260 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_quant8_2,resize_nearest_neighbor::CreateModel_shape_nchw_quant8_2)261 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_quant8_2, resize_nearest_neighbor::CreateModel_shape_nchw_quant8_2)
262
263 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_float16_2) {
264 execute(resize_nearest_neighbor::CreateModel_shape_nchw_float16_2,
265 resize_nearest_neighbor::is_ignored_shape_nchw_float16_2,
266 resize_nearest_neighbor::get_examples_shape_nchw_float16_2());
267 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_float16_2,resize_nearest_neighbor::CreateModel_shape_nchw_float16_2)268 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_float16_2, resize_nearest_neighbor::CreateModel_shape_nchw_float16_2)
269
270 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_2) {
271 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_2,
272 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_2,
273 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_2());
274 }
275
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_2)276 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_2) {
277 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_relaxed_2,
278 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_relaxed_2,
279 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_relaxed_2());
280 }
281
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_2)282 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_2) {
283 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_quant8_2,
284 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_quant8_2,
285 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_quant8_2());
286 }
287
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_2)288 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_2) {
289 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_float16_2,
290 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_float16_2,
291 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_float16_2());
292 }
293
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_2)294 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_2) {
295 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_2,
296 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_2,
297 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_2());
298 }
299
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_2)300 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_2) {
301 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_relaxed_2,
302 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_relaxed_2,
303 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_relaxed_2());
304 }
305
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_2)306 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_2) {
307 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_quant8_2,
308 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_quant8_2,
309 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_quant8_2());
310 }
311
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_2)312 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_2) {
313 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_float16_2,
314 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_float16_2,
315 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_float16_2());
316 }
317
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_2)318 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_2) {
319 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_2,
320 resize_nearest_neighbor::is_ignored_scale_nhwc_2,
321 resize_nearest_neighbor::get_examples_scale_nhwc_2());
322 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_2,resize_nearest_neighbor::CreateModel_scale_nhwc_2)323 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_2, resize_nearest_neighbor::CreateModel_scale_nhwc_2)
324
325 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_relaxed_2) {
326 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_relaxed_2,
327 resize_nearest_neighbor::is_ignored_scale_nhwc_relaxed_2,
328 resize_nearest_neighbor::get_examples_scale_nhwc_relaxed_2());
329 }
330
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_quant8_2)331 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_quant8_2) {
332 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_2,
333 resize_nearest_neighbor::is_ignored_scale_nhwc_quant8_2,
334 resize_nearest_neighbor::get_examples_scale_nhwc_quant8_2());
335 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_quant8_2,resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_2)336 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_quant8_2, resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_2)
337
338 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_float16_2) {
339 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_float16_2,
340 resize_nearest_neighbor::is_ignored_scale_nhwc_float16_2,
341 resize_nearest_neighbor::get_examples_scale_nhwc_float16_2());
342 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_float16_2,resize_nearest_neighbor::CreateModel_scale_nhwc_float16_2)343 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_float16_2, resize_nearest_neighbor::CreateModel_scale_nhwc_float16_2)
344
345 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_2) {
346 execute(resize_nearest_neighbor::CreateModel_scale_nchw_2,
347 resize_nearest_neighbor::is_ignored_scale_nchw_2,
348 resize_nearest_neighbor::get_examples_scale_nchw_2());
349 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_2,resize_nearest_neighbor::CreateModel_scale_nchw_2)350 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_2, resize_nearest_neighbor::CreateModel_scale_nchw_2)
351
352 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_relaxed_2) {
353 execute(resize_nearest_neighbor::CreateModel_scale_nchw_relaxed_2,
354 resize_nearest_neighbor::is_ignored_scale_nchw_relaxed_2,
355 resize_nearest_neighbor::get_examples_scale_nchw_relaxed_2());
356 }
357
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nchw_quant8_2)358 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_quant8_2) {
359 execute(resize_nearest_neighbor::CreateModel_scale_nchw_quant8_2,
360 resize_nearest_neighbor::is_ignored_scale_nchw_quant8_2,
361 resize_nearest_neighbor::get_examples_scale_nchw_quant8_2());
362 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_quant8_2,resize_nearest_neighbor::CreateModel_scale_nchw_quant8_2)363 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_quant8_2, resize_nearest_neighbor::CreateModel_scale_nchw_quant8_2)
364
365 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_float16_2) {
366 execute(resize_nearest_neighbor::CreateModel_scale_nchw_float16_2,
367 resize_nearest_neighbor::is_ignored_scale_nchw_float16_2,
368 resize_nearest_neighbor::get_examples_scale_nchw_float16_2());
369 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_float16_2,resize_nearest_neighbor::CreateModel_scale_nchw_float16_2)370 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_float16_2, resize_nearest_neighbor::CreateModel_scale_nchw_float16_2)
371
372 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_2) {
373 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_2,
374 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_2,
375 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_2());
376 }
377
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_2)378 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_2) {
379 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_relaxed_2,
380 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_relaxed_2,
381 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_relaxed_2());
382 }
383
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_2)384 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_2) {
385 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_quant8_2,
386 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_quant8_2,
387 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_quant8_2());
388 }
389
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_2)390 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_2) {
391 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_float16_2,
392 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_float16_2,
393 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_float16_2());
394 }
395
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_2)396 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_2) {
397 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_2,
398 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_2,
399 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_2());
400 }
401
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_2)402 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_2) {
403 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_relaxed_2,
404 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_relaxed_2,
405 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_relaxed_2());
406 }
407
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_2)408 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_2) {
409 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_quant8_2,
410 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_quant8_2,
411 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_quant8_2());
412 }
413
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_2)414 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_2) {
415 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_float16_2,
416 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_float16_2,
417 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_float16_2());
418 }
419
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_3)420 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_3) {
421 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_3,
422 resize_nearest_neighbor::is_ignored_shape_nhwc_3,
423 resize_nearest_neighbor::get_examples_shape_nhwc_3());
424 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_3,resize_nearest_neighbor::CreateModel_shape_nhwc_3)425 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_3, resize_nearest_neighbor::CreateModel_shape_nhwc_3)
426
427 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_relaxed_3) {
428 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_relaxed_3,
429 resize_nearest_neighbor::is_ignored_shape_nhwc_relaxed_3,
430 resize_nearest_neighbor::get_examples_shape_nhwc_relaxed_3());
431 }
432
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_quant8_3)433 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_quant8_3) {
434 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_3,
435 resize_nearest_neighbor::is_ignored_shape_nhwc_quant8_3,
436 resize_nearest_neighbor::get_examples_shape_nhwc_quant8_3());
437 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_quant8_3,resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_3)438 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_quant8_3, resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_3)
439
440 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_float16_3) {
441 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_float16_3,
442 resize_nearest_neighbor::is_ignored_shape_nhwc_float16_3,
443 resize_nearest_neighbor::get_examples_shape_nhwc_float16_3());
444 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_float16_3,resize_nearest_neighbor::CreateModel_shape_nhwc_float16_3)445 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_float16_3, resize_nearest_neighbor::CreateModel_shape_nhwc_float16_3)
446
447 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_3) {
448 execute(resize_nearest_neighbor::CreateModel_shape_nchw_3,
449 resize_nearest_neighbor::is_ignored_shape_nchw_3,
450 resize_nearest_neighbor::get_examples_shape_nchw_3());
451 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_3,resize_nearest_neighbor::CreateModel_shape_nchw_3)452 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_3, resize_nearest_neighbor::CreateModel_shape_nchw_3)
453
454 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_relaxed_3) {
455 execute(resize_nearest_neighbor::CreateModel_shape_nchw_relaxed_3,
456 resize_nearest_neighbor::is_ignored_shape_nchw_relaxed_3,
457 resize_nearest_neighbor::get_examples_shape_nchw_relaxed_3());
458 }
459
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nchw_quant8_3)460 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_quant8_3) {
461 execute(resize_nearest_neighbor::CreateModel_shape_nchw_quant8_3,
462 resize_nearest_neighbor::is_ignored_shape_nchw_quant8_3,
463 resize_nearest_neighbor::get_examples_shape_nchw_quant8_3());
464 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_quant8_3,resize_nearest_neighbor::CreateModel_shape_nchw_quant8_3)465 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_quant8_3, resize_nearest_neighbor::CreateModel_shape_nchw_quant8_3)
466
467 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_float16_3) {
468 execute(resize_nearest_neighbor::CreateModel_shape_nchw_float16_3,
469 resize_nearest_neighbor::is_ignored_shape_nchw_float16_3,
470 resize_nearest_neighbor::get_examples_shape_nchw_float16_3());
471 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_float16_3,resize_nearest_neighbor::CreateModel_shape_nchw_float16_3)472 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_float16_3, resize_nearest_neighbor::CreateModel_shape_nchw_float16_3)
473
474 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_3) {
475 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_3,
476 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_3,
477 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_3());
478 }
479
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_3)480 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_3) {
481 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_relaxed_3,
482 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_relaxed_3,
483 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_relaxed_3());
484 }
485
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_3)486 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_3) {
487 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_quant8_3,
488 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_quant8_3,
489 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_quant8_3());
490 }
491
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_3)492 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_3) {
493 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_float16_3,
494 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_float16_3,
495 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_float16_3());
496 }
497
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_3)498 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_3) {
499 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_3,
500 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_3,
501 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_3());
502 }
503
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_3)504 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_3) {
505 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_relaxed_3,
506 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_relaxed_3,
507 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_relaxed_3());
508 }
509
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_3)510 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_3) {
511 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_quant8_3,
512 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_quant8_3,
513 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_quant8_3());
514 }
515
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_3)516 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_3) {
517 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_float16_3,
518 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_float16_3,
519 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_float16_3());
520 }
521
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_3)522 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_3) {
523 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_3,
524 resize_nearest_neighbor::is_ignored_scale_nhwc_3,
525 resize_nearest_neighbor::get_examples_scale_nhwc_3());
526 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_3,resize_nearest_neighbor::CreateModel_scale_nhwc_3)527 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_3, resize_nearest_neighbor::CreateModel_scale_nhwc_3)
528
529 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_relaxed_3) {
530 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_relaxed_3,
531 resize_nearest_neighbor::is_ignored_scale_nhwc_relaxed_3,
532 resize_nearest_neighbor::get_examples_scale_nhwc_relaxed_3());
533 }
534
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_quant8_3)535 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_quant8_3) {
536 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_3,
537 resize_nearest_neighbor::is_ignored_scale_nhwc_quant8_3,
538 resize_nearest_neighbor::get_examples_scale_nhwc_quant8_3());
539 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_quant8_3,resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_3)540 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_quant8_3, resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_3)
541
542 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_float16_3) {
543 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_float16_3,
544 resize_nearest_neighbor::is_ignored_scale_nhwc_float16_3,
545 resize_nearest_neighbor::get_examples_scale_nhwc_float16_3());
546 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_float16_3,resize_nearest_neighbor::CreateModel_scale_nhwc_float16_3)547 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_float16_3, resize_nearest_neighbor::CreateModel_scale_nhwc_float16_3)
548
549 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_3) {
550 execute(resize_nearest_neighbor::CreateModel_scale_nchw_3,
551 resize_nearest_neighbor::is_ignored_scale_nchw_3,
552 resize_nearest_neighbor::get_examples_scale_nchw_3());
553 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_3,resize_nearest_neighbor::CreateModel_scale_nchw_3)554 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_3, resize_nearest_neighbor::CreateModel_scale_nchw_3)
555
556 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_relaxed_3) {
557 execute(resize_nearest_neighbor::CreateModel_scale_nchw_relaxed_3,
558 resize_nearest_neighbor::is_ignored_scale_nchw_relaxed_3,
559 resize_nearest_neighbor::get_examples_scale_nchw_relaxed_3());
560 }
561
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nchw_quant8_3)562 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_quant8_3) {
563 execute(resize_nearest_neighbor::CreateModel_scale_nchw_quant8_3,
564 resize_nearest_neighbor::is_ignored_scale_nchw_quant8_3,
565 resize_nearest_neighbor::get_examples_scale_nchw_quant8_3());
566 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_quant8_3,resize_nearest_neighbor::CreateModel_scale_nchw_quant8_3)567 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_quant8_3, resize_nearest_neighbor::CreateModel_scale_nchw_quant8_3)
568
569 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_float16_3) {
570 execute(resize_nearest_neighbor::CreateModel_scale_nchw_float16_3,
571 resize_nearest_neighbor::is_ignored_scale_nchw_float16_3,
572 resize_nearest_neighbor::get_examples_scale_nchw_float16_3());
573 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_float16_3,resize_nearest_neighbor::CreateModel_scale_nchw_float16_3)574 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_float16_3, resize_nearest_neighbor::CreateModel_scale_nchw_float16_3)
575
576 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_3) {
577 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_3,
578 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_3,
579 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_3());
580 }
581
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_3)582 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_3) {
583 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_relaxed_3,
584 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_relaxed_3,
585 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_relaxed_3());
586 }
587
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_3)588 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_3) {
589 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_quant8_3,
590 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_quant8_3,
591 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_quant8_3());
592 }
593
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_3)594 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_3) {
595 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_float16_3,
596 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_float16_3,
597 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_float16_3());
598 }
599
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_3)600 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_3) {
601 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_3,
602 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_3,
603 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_3());
604 }
605
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_3)606 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_3) {
607 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_relaxed_3,
608 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_relaxed_3,
609 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_relaxed_3());
610 }
611
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_3)612 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_3) {
613 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_quant8_3,
614 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_quant8_3,
615 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_quant8_3());
616 }
617
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_3)618 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_3) {
619 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_float16_3,
620 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_float16_3,
621 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_float16_3());
622 }
623
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_4)624 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_4) {
625 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_4,
626 resize_nearest_neighbor::is_ignored_shape_nhwc_4,
627 resize_nearest_neighbor::get_examples_shape_nhwc_4());
628 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_4,resize_nearest_neighbor::CreateModel_shape_nhwc_4)629 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_4, resize_nearest_neighbor::CreateModel_shape_nhwc_4)
630
631 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_relaxed_4) {
632 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_relaxed_4,
633 resize_nearest_neighbor::is_ignored_shape_nhwc_relaxed_4,
634 resize_nearest_neighbor::get_examples_shape_nhwc_relaxed_4());
635 }
636
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_quant8_4)637 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_quant8_4) {
638 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_4,
639 resize_nearest_neighbor::is_ignored_shape_nhwc_quant8_4,
640 resize_nearest_neighbor::get_examples_shape_nhwc_quant8_4());
641 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_quant8_4,resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_4)642 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_quant8_4, resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_4)
643
644 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_float16_4) {
645 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_float16_4,
646 resize_nearest_neighbor::is_ignored_shape_nhwc_float16_4,
647 resize_nearest_neighbor::get_examples_shape_nhwc_float16_4());
648 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_float16_4,resize_nearest_neighbor::CreateModel_shape_nhwc_float16_4)649 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_float16_4, resize_nearest_neighbor::CreateModel_shape_nhwc_float16_4)
650
651 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_4) {
652 execute(resize_nearest_neighbor::CreateModel_shape_nchw_4,
653 resize_nearest_neighbor::is_ignored_shape_nchw_4,
654 resize_nearest_neighbor::get_examples_shape_nchw_4());
655 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_4,resize_nearest_neighbor::CreateModel_shape_nchw_4)656 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_4, resize_nearest_neighbor::CreateModel_shape_nchw_4)
657
658 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_relaxed_4) {
659 execute(resize_nearest_neighbor::CreateModel_shape_nchw_relaxed_4,
660 resize_nearest_neighbor::is_ignored_shape_nchw_relaxed_4,
661 resize_nearest_neighbor::get_examples_shape_nchw_relaxed_4());
662 }
663
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nchw_quant8_4)664 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_quant8_4) {
665 execute(resize_nearest_neighbor::CreateModel_shape_nchw_quant8_4,
666 resize_nearest_neighbor::is_ignored_shape_nchw_quant8_4,
667 resize_nearest_neighbor::get_examples_shape_nchw_quant8_4());
668 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_quant8_4,resize_nearest_neighbor::CreateModel_shape_nchw_quant8_4)669 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_quant8_4, resize_nearest_neighbor::CreateModel_shape_nchw_quant8_4)
670
671 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_float16_4) {
672 execute(resize_nearest_neighbor::CreateModel_shape_nchw_float16_4,
673 resize_nearest_neighbor::is_ignored_shape_nchw_float16_4,
674 resize_nearest_neighbor::get_examples_shape_nchw_float16_4());
675 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_float16_4,resize_nearest_neighbor::CreateModel_shape_nchw_float16_4)676 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_float16_4, resize_nearest_neighbor::CreateModel_shape_nchw_float16_4)
677
678 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_4) {
679 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_4,
680 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_4,
681 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_4());
682 }
683
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_4)684 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_4) {
685 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_relaxed_4,
686 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_relaxed_4,
687 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_relaxed_4());
688 }
689
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_4)690 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_4) {
691 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_quant8_4,
692 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_quant8_4,
693 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_quant8_4());
694 }
695
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_4)696 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_4) {
697 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_float16_4,
698 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_float16_4,
699 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_float16_4());
700 }
701
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_4)702 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_4) {
703 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_4,
704 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_4,
705 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_4());
706 }
707
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_4)708 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_4) {
709 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_relaxed_4,
710 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_relaxed_4,
711 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_relaxed_4());
712 }
713
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_4)714 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_4) {
715 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_quant8_4,
716 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_quant8_4,
717 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_quant8_4());
718 }
719
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_4)720 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_4) {
721 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_float16_4,
722 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_float16_4,
723 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_float16_4());
724 }
725
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_4)726 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_4) {
727 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_4,
728 resize_nearest_neighbor::is_ignored_scale_nhwc_4,
729 resize_nearest_neighbor::get_examples_scale_nhwc_4());
730 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_4,resize_nearest_neighbor::CreateModel_scale_nhwc_4)731 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_4, resize_nearest_neighbor::CreateModel_scale_nhwc_4)
732
733 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_relaxed_4) {
734 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_relaxed_4,
735 resize_nearest_neighbor::is_ignored_scale_nhwc_relaxed_4,
736 resize_nearest_neighbor::get_examples_scale_nhwc_relaxed_4());
737 }
738
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_quant8_4)739 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_quant8_4) {
740 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_4,
741 resize_nearest_neighbor::is_ignored_scale_nhwc_quant8_4,
742 resize_nearest_neighbor::get_examples_scale_nhwc_quant8_4());
743 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_quant8_4,resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_4)744 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_quant8_4, resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_4)
745
746 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_float16_4) {
747 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_float16_4,
748 resize_nearest_neighbor::is_ignored_scale_nhwc_float16_4,
749 resize_nearest_neighbor::get_examples_scale_nhwc_float16_4());
750 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_float16_4,resize_nearest_neighbor::CreateModel_scale_nhwc_float16_4)751 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_float16_4, resize_nearest_neighbor::CreateModel_scale_nhwc_float16_4)
752
753 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_4) {
754 execute(resize_nearest_neighbor::CreateModel_scale_nchw_4,
755 resize_nearest_neighbor::is_ignored_scale_nchw_4,
756 resize_nearest_neighbor::get_examples_scale_nchw_4());
757 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_4,resize_nearest_neighbor::CreateModel_scale_nchw_4)758 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_4, resize_nearest_neighbor::CreateModel_scale_nchw_4)
759
760 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_relaxed_4) {
761 execute(resize_nearest_neighbor::CreateModel_scale_nchw_relaxed_4,
762 resize_nearest_neighbor::is_ignored_scale_nchw_relaxed_4,
763 resize_nearest_neighbor::get_examples_scale_nchw_relaxed_4());
764 }
765
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nchw_quant8_4)766 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_quant8_4) {
767 execute(resize_nearest_neighbor::CreateModel_scale_nchw_quant8_4,
768 resize_nearest_neighbor::is_ignored_scale_nchw_quant8_4,
769 resize_nearest_neighbor::get_examples_scale_nchw_quant8_4());
770 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_quant8_4,resize_nearest_neighbor::CreateModel_scale_nchw_quant8_4)771 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_quant8_4, resize_nearest_neighbor::CreateModel_scale_nchw_quant8_4)
772
773 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_float16_4) {
774 execute(resize_nearest_neighbor::CreateModel_scale_nchw_float16_4,
775 resize_nearest_neighbor::is_ignored_scale_nchw_float16_4,
776 resize_nearest_neighbor::get_examples_scale_nchw_float16_4());
777 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_float16_4,resize_nearest_neighbor::CreateModel_scale_nchw_float16_4)778 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_float16_4, resize_nearest_neighbor::CreateModel_scale_nchw_float16_4)
779
780 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_4) {
781 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_4,
782 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_4,
783 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_4());
784 }
785
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_4)786 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_4) {
787 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_relaxed_4,
788 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_relaxed_4,
789 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_relaxed_4());
790 }
791
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_4)792 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_4) {
793 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_quant8_4,
794 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_quant8_4,
795 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_quant8_4());
796 }
797
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_4)798 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_4) {
799 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_float16_4,
800 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_float16_4,
801 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_float16_4());
802 }
803
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_4)804 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_4) {
805 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_4,
806 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_4,
807 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_4());
808 }
809
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_4)810 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_4) {
811 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_relaxed_4,
812 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_relaxed_4,
813 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_relaxed_4());
814 }
815
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_4)816 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_4) {
817 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_quant8_4,
818 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_quant8_4,
819 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_quant8_4());
820 }
821
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_4)822 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_4) {
823 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_float16_4,
824 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_float16_4,
825 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_float16_4());
826 }
827
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_5)828 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_5) {
829 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_5,
830 resize_nearest_neighbor::is_ignored_shape_nhwc_5,
831 resize_nearest_neighbor::get_examples_shape_nhwc_5());
832 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_5,resize_nearest_neighbor::CreateModel_shape_nhwc_5)833 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_5, resize_nearest_neighbor::CreateModel_shape_nhwc_5)
834
835 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_relaxed_5) {
836 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_relaxed_5,
837 resize_nearest_neighbor::is_ignored_shape_nhwc_relaxed_5,
838 resize_nearest_neighbor::get_examples_shape_nhwc_relaxed_5());
839 }
840
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_quant8_5)841 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_quant8_5) {
842 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_5,
843 resize_nearest_neighbor::is_ignored_shape_nhwc_quant8_5,
844 resize_nearest_neighbor::get_examples_shape_nhwc_quant8_5());
845 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_quant8_5,resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_5)846 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_quant8_5, resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_5)
847
848 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_float16_5) {
849 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_float16_5,
850 resize_nearest_neighbor::is_ignored_shape_nhwc_float16_5,
851 resize_nearest_neighbor::get_examples_shape_nhwc_float16_5());
852 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_float16_5,resize_nearest_neighbor::CreateModel_shape_nhwc_float16_5)853 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_float16_5, resize_nearest_neighbor::CreateModel_shape_nhwc_float16_5)
854
855 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_5) {
856 execute(resize_nearest_neighbor::CreateModel_shape_nchw_5,
857 resize_nearest_neighbor::is_ignored_shape_nchw_5,
858 resize_nearest_neighbor::get_examples_shape_nchw_5());
859 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_5,resize_nearest_neighbor::CreateModel_shape_nchw_5)860 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_5, resize_nearest_neighbor::CreateModel_shape_nchw_5)
861
862 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_relaxed_5) {
863 execute(resize_nearest_neighbor::CreateModel_shape_nchw_relaxed_5,
864 resize_nearest_neighbor::is_ignored_shape_nchw_relaxed_5,
865 resize_nearest_neighbor::get_examples_shape_nchw_relaxed_5());
866 }
867
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nchw_quant8_5)868 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_quant8_5) {
869 execute(resize_nearest_neighbor::CreateModel_shape_nchw_quant8_5,
870 resize_nearest_neighbor::is_ignored_shape_nchw_quant8_5,
871 resize_nearest_neighbor::get_examples_shape_nchw_quant8_5());
872 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_quant8_5,resize_nearest_neighbor::CreateModel_shape_nchw_quant8_5)873 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_quant8_5, resize_nearest_neighbor::CreateModel_shape_nchw_quant8_5)
874
875 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_float16_5) {
876 execute(resize_nearest_neighbor::CreateModel_shape_nchw_float16_5,
877 resize_nearest_neighbor::is_ignored_shape_nchw_float16_5,
878 resize_nearest_neighbor::get_examples_shape_nchw_float16_5());
879 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_float16_5,resize_nearest_neighbor::CreateModel_shape_nchw_float16_5)880 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_float16_5, resize_nearest_neighbor::CreateModel_shape_nchw_float16_5)
881
882 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_5) {
883 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_5,
884 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_5,
885 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_5());
886 }
887
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_5)888 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_5) {
889 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_relaxed_5,
890 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_relaxed_5,
891 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_relaxed_5());
892 }
893
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_5)894 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_5) {
895 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_quant8_5,
896 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_quant8_5,
897 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_quant8_5());
898 }
899
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_5)900 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_5) {
901 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_float16_5,
902 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_float16_5,
903 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_float16_5());
904 }
905
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_5)906 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_5) {
907 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_5,
908 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_5,
909 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_5());
910 }
911
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_5)912 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_5) {
913 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_relaxed_5,
914 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_relaxed_5,
915 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_relaxed_5());
916 }
917
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_5)918 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_5) {
919 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_quant8_5,
920 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_quant8_5,
921 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_quant8_5());
922 }
923
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_5)924 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_5) {
925 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_float16_5,
926 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_float16_5,
927 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_float16_5());
928 }
929
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_5)930 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_5) {
931 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_5,
932 resize_nearest_neighbor::is_ignored_scale_nhwc_5,
933 resize_nearest_neighbor::get_examples_scale_nhwc_5());
934 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_5,resize_nearest_neighbor::CreateModel_scale_nhwc_5)935 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_5, resize_nearest_neighbor::CreateModel_scale_nhwc_5)
936
937 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_relaxed_5) {
938 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_relaxed_5,
939 resize_nearest_neighbor::is_ignored_scale_nhwc_relaxed_5,
940 resize_nearest_neighbor::get_examples_scale_nhwc_relaxed_5());
941 }
942
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_quant8_5)943 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_quant8_5) {
944 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_5,
945 resize_nearest_neighbor::is_ignored_scale_nhwc_quant8_5,
946 resize_nearest_neighbor::get_examples_scale_nhwc_quant8_5());
947 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_quant8_5,resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_5)948 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_quant8_5, resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_5)
949
950 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_float16_5) {
951 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_float16_5,
952 resize_nearest_neighbor::is_ignored_scale_nhwc_float16_5,
953 resize_nearest_neighbor::get_examples_scale_nhwc_float16_5());
954 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_float16_5,resize_nearest_neighbor::CreateModel_scale_nhwc_float16_5)955 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_float16_5, resize_nearest_neighbor::CreateModel_scale_nhwc_float16_5)
956
957 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_5) {
958 execute(resize_nearest_neighbor::CreateModel_scale_nchw_5,
959 resize_nearest_neighbor::is_ignored_scale_nchw_5,
960 resize_nearest_neighbor::get_examples_scale_nchw_5());
961 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_5,resize_nearest_neighbor::CreateModel_scale_nchw_5)962 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_5, resize_nearest_neighbor::CreateModel_scale_nchw_5)
963
964 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_relaxed_5) {
965 execute(resize_nearest_neighbor::CreateModel_scale_nchw_relaxed_5,
966 resize_nearest_neighbor::is_ignored_scale_nchw_relaxed_5,
967 resize_nearest_neighbor::get_examples_scale_nchw_relaxed_5());
968 }
969
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nchw_quant8_5)970 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_quant8_5) {
971 execute(resize_nearest_neighbor::CreateModel_scale_nchw_quant8_5,
972 resize_nearest_neighbor::is_ignored_scale_nchw_quant8_5,
973 resize_nearest_neighbor::get_examples_scale_nchw_quant8_5());
974 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_quant8_5,resize_nearest_neighbor::CreateModel_scale_nchw_quant8_5)975 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_quant8_5, resize_nearest_neighbor::CreateModel_scale_nchw_quant8_5)
976
977 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_float16_5) {
978 execute(resize_nearest_neighbor::CreateModel_scale_nchw_float16_5,
979 resize_nearest_neighbor::is_ignored_scale_nchw_float16_5,
980 resize_nearest_neighbor::get_examples_scale_nchw_float16_5());
981 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_float16_5,resize_nearest_neighbor::CreateModel_scale_nchw_float16_5)982 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_float16_5, resize_nearest_neighbor::CreateModel_scale_nchw_float16_5)
983
984 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_5) {
985 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_5,
986 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_5,
987 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_5());
988 }
989
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_5)990 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_5) {
991 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_relaxed_5,
992 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_relaxed_5,
993 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_relaxed_5());
994 }
995
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_5)996 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_5) {
997 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_quant8_5,
998 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_quant8_5,
999 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_quant8_5());
1000 }
1001
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_5)1002 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_5) {
1003 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_float16_5,
1004 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_float16_5,
1005 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_float16_5());
1006 }
1007
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_5)1008 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_5) {
1009 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_5,
1010 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_5,
1011 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_5());
1012 }
1013
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_5)1014 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_5) {
1015 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_relaxed_5,
1016 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_relaxed_5,
1017 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_relaxed_5());
1018 }
1019
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_5)1020 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_5) {
1021 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_quant8_5,
1022 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_quant8_5,
1023 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_quant8_5());
1024 }
1025
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_5)1026 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_5) {
1027 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_float16_5,
1028 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_float16_5,
1029 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_float16_5());
1030 }
1031
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_6)1032 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_6) {
1033 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_6,
1034 resize_nearest_neighbor::is_ignored_shape_nhwc_6,
1035 resize_nearest_neighbor::get_examples_shape_nhwc_6());
1036 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_6,resize_nearest_neighbor::CreateModel_shape_nhwc_6)1037 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_6, resize_nearest_neighbor::CreateModel_shape_nhwc_6)
1038
1039 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_relaxed_6) {
1040 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_relaxed_6,
1041 resize_nearest_neighbor::is_ignored_shape_nhwc_relaxed_6,
1042 resize_nearest_neighbor::get_examples_shape_nhwc_relaxed_6());
1043 }
1044
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_quant8_6)1045 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_quant8_6) {
1046 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_6,
1047 resize_nearest_neighbor::is_ignored_shape_nhwc_quant8_6,
1048 resize_nearest_neighbor::get_examples_shape_nhwc_quant8_6());
1049 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_quant8_6,resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_6)1050 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_quant8_6, resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_6)
1051
1052 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_float16_6) {
1053 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_float16_6,
1054 resize_nearest_neighbor::is_ignored_shape_nhwc_float16_6,
1055 resize_nearest_neighbor::get_examples_shape_nhwc_float16_6());
1056 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_float16_6,resize_nearest_neighbor::CreateModel_shape_nhwc_float16_6)1057 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_float16_6, resize_nearest_neighbor::CreateModel_shape_nhwc_float16_6)
1058
1059 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_6) {
1060 execute(resize_nearest_neighbor::CreateModel_shape_nchw_6,
1061 resize_nearest_neighbor::is_ignored_shape_nchw_6,
1062 resize_nearest_neighbor::get_examples_shape_nchw_6());
1063 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_6,resize_nearest_neighbor::CreateModel_shape_nchw_6)1064 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_6, resize_nearest_neighbor::CreateModel_shape_nchw_6)
1065
1066 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_relaxed_6) {
1067 execute(resize_nearest_neighbor::CreateModel_shape_nchw_relaxed_6,
1068 resize_nearest_neighbor::is_ignored_shape_nchw_relaxed_6,
1069 resize_nearest_neighbor::get_examples_shape_nchw_relaxed_6());
1070 }
1071
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nchw_quant8_6)1072 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_quant8_6) {
1073 execute(resize_nearest_neighbor::CreateModel_shape_nchw_quant8_6,
1074 resize_nearest_neighbor::is_ignored_shape_nchw_quant8_6,
1075 resize_nearest_neighbor::get_examples_shape_nchw_quant8_6());
1076 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_quant8_6,resize_nearest_neighbor::CreateModel_shape_nchw_quant8_6)1077 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_quant8_6, resize_nearest_neighbor::CreateModel_shape_nchw_quant8_6)
1078
1079 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_float16_6) {
1080 execute(resize_nearest_neighbor::CreateModel_shape_nchw_float16_6,
1081 resize_nearest_neighbor::is_ignored_shape_nchw_float16_6,
1082 resize_nearest_neighbor::get_examples_shape_nchw_float16_6());
1083 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_float16_6,resize_nearest_neighbor::CreateModel_shape_nchw_float16_6)1084 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_float16_6, resize_nearest_neighbor::CreateModel_shape_nchw_float16_6)
1085
1086 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_6) {
1087 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_6,
1088 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_6,
1089 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_6());
1090 }
1091
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_6)1092 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_6) {
1093 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_relaxed_6,
1094 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_relaxed_6,
1095 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_relaxed_6());
1096 }
1097
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_6)1098 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_6) {
1099 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_quant8_6,
1100 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_quant8_6,
1101 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_quant8_6());
1102 }
1103
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_6)1104 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_6) {
1105 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_float16_6,
1106 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_float16_6,
1107 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_float16_6());
1108 }
1109
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_6)1110 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_6) {
1111 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_6,
1112 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_6,
1113 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_6());
1114 }
1115
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_6)1116 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_6) {
1117 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_relaxed_6,
1118 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_relaxed_6,
1119 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_relaxed_6());
1120 }
1121
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_6)1122 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_6) {
1123 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_quant8_6,
1124 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_quant8_6,
1125 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_quant8_6());
1126 }
1127
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_6)1128 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_6) {
1129 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_float16_6,
1130 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_float16_6,
1131 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_float16_6());
1132 }
1133
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_6)1134 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_6) {
1135 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_6,
1136 resize_nearest_neighbor::is_ignored_scale_nhwc_6,
1137 resize_nearest_neighbor::get_examples_scale_nhwc_6());
1138 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_6,resize_nearest_neighbor::CreateModel_scale_nhwc_6)1139 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_6, resize_nearest_neighbor::CreateModel_scale_nhwc_6)
1140
1141 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_relaxed_6) {
1142 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_relaxed_6,
1143 resize_nearest_neighbor::is_ignored_scale_nhwc_relaxed_6,
1144 resize_nearest_neighbor::get_examples_scale_nhwc_relaxed_6());
1145 }
1146
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_quant8_6)1147 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_quant8_6) {
1148 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_6,
1149 resize_nearest_neighbor::is_ignored_scale_nhwc_quant8_6,
1150 resize_nearest_neighbor::get_examples_scale_nhwc_quant8_6());
1151 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_quant8_6,resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_6)1152 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_quant8_6, resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_6)
1153
1154 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_float16_6) {
1155 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_float16_6,
1156 resize_nearest_neighbor::is_ignored_scale_nhwc_float16_6,
1157 resize_nearest_neighbor::get_examples_scale_nhwc_float16_6());
1158 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_float16_6,resize_nearest_neighbor::CreateModel_scale_nhwc_float16_6)1159 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_float16_6, resize_nearest_neighbor::CreateModel_scale_nhwc_float16_6)
1160
1161 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_6) {
1162 execute(resize_nearest_neighbor::CreateModel_scale_nchw_6,
1163 resize_nearest_neighbor::is_ignored_scale_nchw_6,
1164 resize_nearest_neighbor::get_examples_scale_nchw_6());
1165 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_6,resize_nearest_neighbor::CreateModel_scale_nchw_6)1166 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_6, resize_nearest_neighbor::CreateModel_scale_nchw_6)
1167
1168 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_relaxed_6) {
1169 execute(resize_nearest_neighbor::CreateModel_scale_nchw_relaxed_6,
1170 resize_nearest_neighbor::is_ignored_scale_nchw_relaxed_6,
1171 resize_nearest_neighbor::get_examples_scale_nchw_relaxed_6());
1172 }
1173
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nchw_quant8_6)1174 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_quant8_6) {
1175 execute(resize_nearest_neighbor::CreateModel_scale_nchw_quant8_6,
1176 resize_nearest_neighbor::is_ignored_scale_nchw_quant8_6,
1177 resize_nearest_neighbor::get_examples_scale_nchw_quant8_6());
1178 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_quant8_6,resize_nearest_neighbor::CreateModel_scale_nchw_quant8_6)1179 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_quant8_6, resize_nearest_neighbor::CreateModel_scale_nchw_quant8_6)
1180
1181 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_float16_6) {
1182 execute(resize_nearest_neighbor::CreateModel_scale_nchw_float16_6,
1183 resize_nearest_neighbor::is_ignored_scale_nchw_float16_6,
1184 resize_nearest_neighbor::get_examples_scale_nchw_float16_6());
1185 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_float16_6,resize_nearest_neighbor::CreateModel_scale_nchw_float16_6)1186 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_float16_6, resize_nearest_neighbor::CreateModel_scale_nchw_float16_6)
1187
1188 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_6) {
1189 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_6,
1190 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_6,
1191 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_6());
1192 }
1193
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_6)1194 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_6) {
1195 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_relaxed_6,
1196 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_relaxed_6,
1197 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_relaxed_6());
1198 }
1199
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_6)1200 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_6) {
1201 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_quant8_6,
1202 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_quant8_6,
1203 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_quant8_6());
1204 }
1205
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_6)1206 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_6) {
1207 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_float16_6,
1208 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_float16_6,
1209 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_float16_6());
1210 }
1211
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_6)1212 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_6) {
1213 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_6,
1214 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_6,
1215 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_6());
1216 }
1217
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_6)1218 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_6) {
1219 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_relaxed_6,
1220 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_relaxed_6,
1221 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_relaxed_6());
1222 }
1223
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_6)1224 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_6) {
1225 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_quant8_6,
1226 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_quant8_6,
1227 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_quant8_6());
1228 }
1229
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_6)1230 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_6) {
1231 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_float16_6,
1232 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_float16_6,
1233 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_float16_6());
1234 }
1235
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_7)1236 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_7) {
1237 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_7,
1238 resize_nearest_neighbor::is_ignored_shape_nhwc_7,
1239 resize_nearest_neighbor::get_examples_shape_nhwc_7());
1240 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_7,resize_nearest_neighbor::CreateModel_shape_nhwc_7)1241 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_7, resize_nearest_neighbor::CreateModel_shape_nhwc_7)
1242
1243 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_relaxed_7) {
1244 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_relaxed_7,
1245 resize_nearest_neighbor::is_ignored_shape_nhwc_relaxed_7,
1246 resize_nearest_neighbor::get_examples_shape_nhwc_relaxed_7());
1247 }
1248
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_quant8_7)1249 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_quant8_7) {
1250 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_7,
1251 resize_nearest_neighbor::is_ignored_shape_nhwc_quant8_7,
1252 resize_nearest_neighbor::get_examples_shape_nhwc_quant8_7());
1253 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_quant8_7,resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_7)1254 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_quant8_7, resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_7)
1255
1256 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_float16_7) {
1257 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_float16_7,
1258 resize_nearest_neighbor::is_ignored_shape_nhwc_float16_7,
1259 resize_nearest_neighbor::get_examples_shape_nhwc_float16_7());
1260 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_float16_7,resize_nearest_neighbor::CreateModel_shape_nhwc_float16_7)1261 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_float16_7, resize_nearest_neighbor::CreateModel_shape_nhwc_float16_7)
1262
1263 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_7) {
1264 execute(resize_nearest_neighbor::CreateModel_shape_nchw_7,
1265 resize_nearest_neighbor::is_ignored_shape_nchw_7,
1266 resize_nearest_neighbor::get_examples_shape_nchw_7());
1267 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_7,resize_nearest_neighbor::CreateModel_shape_nchw_7)1268 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_7, resize_nearest_neighbor::CreateModel_shape_nchw_7)
1269
1270 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_relaxed_7) {
1271 execute(resize_nearest_neighbor::CreateModel_shape_nchw_relaxed_7,
1272 resize_nearest_neighbor::is_ignored_shape_nchw_relaxed_7,
1273 resize_nearest_neighbor::get_examples_shape_nchw_relaxed_7());
1274 }
1275
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nchw_quant8_7)1276 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_quant8_7) {
1277 execute(resize_nearest_neighbor::CreateModel_shape_nchw_quant8_7,
1278 resize_nearest_neighbor::is_ignored_shape_nchw_quant8_7,
1279 resize_nearest_neighbor::get_examples_shape_nchw_quant8_7());
1280 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_quant8_7,resize_nearest_neighbor::CreateModel_shape_nchw_quant8_7)1281 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_quant8_7, resize_nearest_neighbor::CreateModel_shape_nchw_quant8_7)
1282
1283 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_float16_7) {
1284 execute(resize_nearest_neighbor::CreateModel_shape_nchw_float16_7,
1285 resize_nearest_neighbor::is_ignored_shape_nchw_float16_7,
1286 resize_nearest_neighbor::get_examples_shape_nchw_float16_7());
1287 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_float16_7,resize_nearest_neighbor::CreateModel_shape_nchw_float16_7)1288 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_float16_7, resize_nearest_neighbor::CreateModel_shape_nchw_float16_7)
1289
1290 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_7) {
1291 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_7,
1292 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_7,
1293 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_7());
1294 }
1295
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_7)1296 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_7) {
1297 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_relaxed_7,
1298 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_relaxed_7,
1299 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_relaxed_7());
1300 }
1301
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_7)1302 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_7) {
1303 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_quant8_7,
1304 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_quant8_7,
1305 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_quant8_7());
1306 }
1307
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_7)1308 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_7) {
1309 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_float16_7,
1310 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_float16_7,
1311 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_float16_7());
1312 }
1313
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_7)1314 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_7) {
1315 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_7,
1316 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_7,
1317 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_7());
1318 }
1319
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_7)1320 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_7) {
1321 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_relaxed_7,
1322 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_relaxed_7,
1323 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_relaxed_7());
1324 }
1325
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_7)1326 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_7) {
1327 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_quant8_7,
1328 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_quant8_7,
1329 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_quant8_7());
1330 }
1331
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_7)1332 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_7) {
1333 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_float16_7,
1334 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_float16_7,
1335 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_float16_7());
1336 }
1337
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_7)1338 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_7) {
1339 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_7,
1340 resize_nearest_neighbor::is_ignored_scale_nhwc_7,
1341 resize_nearest_neighbor::get_examples_scale_nhwc_7());
1342 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_7,resize_nearest_neighbor::CreateModel_scale_nhwc_7)1343 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_7, resize_nearest_neighbor::CreateModel_scale_nhwc_7)
1344
1345 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_relaxed_7) {
1346 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_relaxed_7,
1347 resize_nearest_neighbor::is_ignored_scale_nhwc_relaxed_7,
1348 resize_nearest_neighbor::get_examples_scale_nhwc_relaxed_7());
1349 }
1350
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_quant8_7)1351 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_quant8_7) {
1352 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_7,
1353 resize_nearest_neighbor::is_ignored_scale_nhwc_quant8_7,
1354 resize_nearest_neighbor::get_examples_scale_nhwc_quant8_7());
1355 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_quant8_7,resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_7)1356 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_quant8_7, resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_7)
1357
1358 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_float16_7) {
1359 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_float16_7,
1360 resize_nearest_neighbor::is_ignored_scale_nhwc_float16_7,
1361 resize_nearest_neighbor::get_examples_scale_nhwc_float16_7());
1362 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_float16_7,resize_nearest_neighbor::CreateModel_scale_nhwc_float16_7)1363 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_float16_7, resize_nearest_neighbor::CreateModel_scale_nhwc_float16_7)
1364
1365 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_7) {
1366 execute(resize_nearest_neighbor::CreateModel_scale_nchw_7,
1367 resize_nearest_neighbor::is_ignored_scale_nchw_7,
1368 resize_nearest_neighbor::get_examples_scale_nchw_7());
1369 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_7,resize_nearest_neighbor::CreateModel_scale_nchw_7)1370 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_7, resize_nearest_neighbor::CreateModel_scale_nchw_7)
1371
1372 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_relaxed_7) {
1373 execute(resize_nearest_neighbor::CreateModel_scale_nchw_relaxed_7,
1374 resize_nearest_neighbor::is_ignored_scale_nchw_relaxed_7,
1375 resize_nearest_neighbor::get_examples_scale_nchw_relaxed_7());
1376 }
1377
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nchw_quant8_7)1378 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_quant8_7) {
1379 execute(resize_nearest_neighbor::CreateModel_scale_nchw_quant8_7,
1380 resize_nearest_neighbor::is_ignored_scale_nchw_quant8_7,
1381 resize_nearest_neighbor::get_examples_scale_nchw_quant8_7());
1382 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_quant8_7,resize_nearest_neighbor::CreateModel_scale_nchw_quant8_7)1383 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_quant8_7, resize_nearest_neighbor::CreateModel_scale_nchw_quant8_7)
1384
1385 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_float16_7) {
1386 execute(resize_nearest_neighbor::CreateModel_scale_nchw_float16_7,
1387 resize_nearest_neighbor::is_ignored_scale_nchw_float16_7,
1388 resize_nearest_neighbor::get_examples_scale_nchw_float16_7());
1389 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_float16_7,resize_nearest_neighbor::CreateModel_scale_nchw_float16_7)1390 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_float16_7, resize_nearest_neighbor::CreateModel_scale_nchw_float16_7)
1391
1392 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_7) {
1393 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_7,
1394 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_7,
1395 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_7());
1396 }
1397
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_7)1398 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_7) {
1399 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_relaxed_7,
1400 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_relaxed_7,
1401 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_relaxed_7());
1402 }
1403
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_7)1404 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_7) {
1405 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_quant8_7,
1406 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_quant8_7,
1407 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_quant8_7());
1408 }
1409
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_7)1410 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_7) {
1411 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_float16_7,
1412 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_float16_7,
1413 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_float16_7());
1414 }
1415
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_7)1416 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_7) {
1417 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_7,
1418 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_7,
1419 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_7());
1420 }
1421
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_7)1422 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_7) {
1423 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_relaxed_7,
1424 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_relaxed_7,
1425 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_relaxed_7());
1426 }
1427
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_7)1428 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_7) {
1429 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_quant8_7,
1430 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_quant8_7,
1431 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_quant8_7());
1432 }
1433
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_7)1434 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_7) {
1435 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_float16_7,
1436 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_float16_7,
1437 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_float16_7());
1438 }
1439
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_8)1440 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_8) {
1441 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_8,
1442 resize_nearest_neighbor::is_ignored_shape_nhwc_8,
1443 resize_nearest_neighbor::get_examples_shape_nhwc_8());
1444 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_8,resize_nearest_neighbor::CreateModel_shape_nhwc_8)1445 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_8, resize_nearest_neighbor::CreateModel_shape_nhwc_8)
1446
1447 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_relaxed_8) {
1448 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_relaxed_8,
1449 resize_nearest_neighbor::is_ignored_shape_nhwc_relaxed_8,
1450 resize_nearest_neighbor::get_examples_shape_nhwc_relaxed_8());
1451 }
1452
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nhwc_quant8_8)1453 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_quant8_8) {
1454 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_8,
1455 resize_nearest_neighbor::is_ignored_shape_nhwc_quant8_8,
1456 resize_nearest_neighbor::get_examples_shape_nhwc_quant8_8());
1457 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_quant8_8,resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_8)1458 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_quant8_8, resize_nearest_neighbor::CreateModel_shape_nhwc_quant8_8)
1459
1460 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nhwc_float16_8) {
1461 execute(resize_nearest_neighbor::CreateModel_shape_nhwc_float16_8,
1462 resize_nearest_neighbor::is_ignored_shape_nhwc_float16_8,
1463 resize_nearest_neighbor::get_examples_shape_nhwc_float16_8());
1464 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nhwc_float16_8,resize_nearest_neighbor::CreateModel_shape_nhwc_float16_8)1465 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_float16_8, resize_nearest_neighbor::CreateModel_shape_nhwc_float16_8)
1466
1467 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_8) {
1468 execute(resize_nearest_neighbor::CreateModel_shape_nchw_8,
1469 resize_nearest_neighbor::is_ignored_shape_nchw_8,
1470 resize_nearest_neighbor::get_examples_shape_nchw_8());
1471 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_8,resize_nearest_neighbor::CreateModel_shape_nchw_8)1472 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_8, resize_nearest_neighbor::CreateModel_shape_nchw_8)
1473
1474 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_relaxed_8) {
1475 execute(resize_nearest_neighbor::CreateModel_shape_nchw_relaxed_8,
1476 resize_nearest_neighbor::is_ignored_shape_nchw_relaxed_8,
1477 resize_nearest_neighbor::get_examples_shape_nchw_relaxed_8());
1478 }
1479
TEST_F(GeneratedTests,resize_nearest_neighbor_shape_nchw_quant8_8)1480 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_quant8_8) {
1481 execute(resize_nearest_neighbor::CreateModel_shape_nchw_quant8_8,
1482 resize_nearest_neighbor::is_ignored_shape_nchw_quant8_8,
1483 resize_nearest_neighbor::get_examples_shape_nchw_quant8_8());
1484 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_quant8_8,resize_nearest_neighbor::CreateModel_shape_nchw_quant8_8)1485 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_quant8_8, resize_nearest_neighbor::CreateModel_shape_nchw_quant8_8)
1486
1487 TEST_F(GeneratedTests, resize_nearest_neighbor_shape_nchw_float16_8) {
1488 execute(resize_nearest_neighbor::CreateModel_shape_nchw_float16_8,
1489 resize_nearest_neighbor::is_ignored_shape_nchw_float16_8,
1490 resize_nearest_neighbor::get_examples_shape_nchw_float16_8());
1491 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_shape_nchw_float16_8,resize_nearest_neighbor::CreateModel_shape_nchw_float16_8)1492 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_float16_8, resize_nearest_neighbor::CreateModel_shape_nchw_float16_8)
1493
1494 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_8) {
1495 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_8,
1496 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_8,
1497 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_8());
1498 }
1499
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_8)1500 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_relaxed_8) {
1501 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_relaxed_8,
1502 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_relaxed_8,
1503 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_relaxed_8());
1504 }
1505
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_8)1506 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_quant8_8) {
1507 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_quant8_8,
1508 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_quant8_8,
1509 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_quant8_8());
1510 }
1511
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_8)1512 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nhwc_float16_8) {
1513 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nhwc_float16_8,
1514 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nhwc_float16_8,
1515 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nhwc_float16_8());
1516 }
1517
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_8)1518 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_8) {
1519 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_8,
1520 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_8,
1521 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_8());
1522 }
1523
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_8)1524 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_relaxed_8) {
1525 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_relaxed_8,
1526 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_relaxed_8,
1527 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_relaxed_8());
1528 }
1529
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_8)1530 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_quant8_8) {
1531 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_quant8_8,
1532 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_quant8_8,
1533 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_quant8_8());
1534 }
1535
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_8)1536 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_shape_dynamic_output_shape_nchw_float16_8) {
1537 execute(resize_nearest_neighbor::CreateModel_shape_dynamic_output_shape_nchw_float16_8,
1538 resize_nearest_neighbor::is_ignored_shape_dynamic_output_shape_nchw_float16_8,
1539 resize_nearest_neighbor::get_examples_shape_dynamic_output_shape_nchw_float16_8());
1540 }
1541
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_8)1542 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_8) {
1543 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_8,
1544 resize_nearest_neighbor::is_ignored_scale_nhwc_8,
1545 resize_nearest_neighbor::get_examples_scale_nhwc_8());
1546 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_8,resize_nearest_neighbor::CreateModel_scale_nhwc_8)1547 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_8, resize_nearest_neighbor::CreateModel_scale_nhwc_8)
1548
1549 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_relaxed_8) {
1550 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_relaxed_8,
1551 resize_nearest_neighbor::is_ignored_scale_nhwc_relaxed_8,
1552 resize_nearest_neighbor::get_examples_scale_nhwc_relaxed_8());
1553 }
1554
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nhwc_quant8_8)1555 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_quant8_8) {
1556 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_8,
1557 resize_nearest_neighbor::is_ignored_scale_nhwc_quant8_8,
1558 resize_nearest_neighbor::get_examples_scale_nhwc_quant8_8());
1559 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_quant8_8,resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_8)1560 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_quant8_8, resize_nearest_neighbor::CreateModel_scale_nhwc_quant8_8)
1561
1562 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nhwc_float16_8) {
1563 execute(resize_nearest_neighbor::CreateModel_scale_nhwc_float16_8,
1564 resize_nearest_neighbor::is_ignored_scale_nhwc_float16_8,
1565 resize_nearest_neighbor::get_examples_scale_nhwc_float16_8());
1566 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nhwc_float16_8,resize_nearest_neighbor::CreateModel_scale_nhwc_float16_8)1567 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_float16_8, resize_nearest_neighbor::CreateModel_scale_nhwc_float16_8)
1568
1569 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_8) {
1570 execute(resize_nearest_neighbor::CreateModel_scale_nchw_8,
1571 resize_nearest_neighbor::is_ignored_scale_nchw_8,
1572 resize_nearest_neighbor::get_examples_scale_nchw_8());
1573 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_8,resize_nearest_neighbor::CreateModel_scale_nchw_8)1574 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_8, resize_nearest_neighbor::CreateModel_scale_nchw_8)
1575
1576 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_relaxed_8) {
1577 execute(resize_nearest_neighbor::CreateModel_scale_nchw_relaxed_8,
1578 resize_nearest_neighbor::is_ignored_scale_nchw_relaxed_8,
1579 resize_nearest_neighbor::get_examples_scale_nchw_relaxed_8());
1580 }
1581
TEST_F(GeneratedTests,resize_nearest_neighbor_scale_nchw_quant8_8)1582 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_quant8_8) {
1583 execute(resize_nearest_neighbor::CreateModel_scale_nchw_quant8_8,
1584 resize_nearest_neighbor::is_ignored_scale_nchw_quant8_8,
1585 resize_nearest_neighbor::get_examples_scale_nchw_quant8_8());
1586 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_quant8_8,resize_nearest_neighbor::CreateModel_scale_nchw_quant8_8)1587 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_quant8_8, resize_nearest_neighbor::CreateModel_scale_nchw_quant8_8)
1588
1589 TEST_F(GeneratedTests, resize_nearest_neighbor_scale_nchw_float16_8) {
1590 execute(resize_nearest_neighbor::CreateModel_scale_nchw_float16_8,
1591 resize_nearest_neighbor::is_ignored_scale_nchw_float16_8,
1592 resize_nearest_neighbor::get_examples_scale_nchw_float16_8());
1593 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_scale_nchw_float16_8,resize_nearest_neighbor::CreateModel_scale_nchw_float16_8)1594 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw_float16_8, resize_nearest_neighbor::CreateModel_scale_nchw_float16_8)
1595
1596 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_8) {
1597 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_8,
1598 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_8,
1599 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_8());
1600 }
1601
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_8)1602 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_relaxed_8) {
1603 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_relaxed_8,
1604 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_relaxed_8,
1605 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_relaxed_8());
1606 }
1607
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_8)1608 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_quant8_8) {
1609 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_quant8_8,
1610 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_quant8_8,
1611 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_quant8_8());
1612 }
1613
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_8)1614 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nhwc_float16_8) {
1615 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nhwc_float16_8,
1616 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nhwc_float16_8,
1617 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nhwc_float16_8());
1618 }
1619
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_8)1620 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_8) {
1621 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_8,
1622 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_8,
1623 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_8());
1624 }
1625
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_8)1626 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_relaxed_8) {
1627 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_relaxed_8,
1628 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_relaxed_8,
1629 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_relaxed_8());
1630 }
1631
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_8)1632 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_quant8_8) {
1633 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_quant8_8,
1634 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_quant8_8,
1635 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_quant8_8());
1636 }
1637
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_8)1638 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_scale_dynamic_output_shape_nchw_float16_8) {
1639 execute(resize_nearest_neighbor::CreateModel_scale_dynamic_output_shape_nchw_float16_8,
1640 resize_nearest_neighbor::is_ignored_scale_dynamic_output_shape_nchw_float16_8,
1641 resize_nearest_neighbor::get_examples_scale_dynamic_output_shape_nchw_float16_8());
1642 }
1643
TEST_F(GeneratedTests,resize_nearest_neighbor_zero_sized_nhwc)1644 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nhwc) {
1645 execute(resize_nearest_neighbor::CreateModel_zero_sized_nhwc,
1646 resize_nearest_neighbor::is_ignored_zero_sized_nhwc,
1647 resize_nearest_neighbor::get_examples_zero_sized_nhwc());
1648 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_zero_sized_nhwc,resize_nearest_neighbor::CreateModel_zero_sized_nhwc)1649 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_zero_sized_nhwc, resize_nearest_neighbor::CreateModel_zero_sized_nhwc)
1650
1651 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nhwc_relaxed) {
1652 execute(resize_nearest_neighbor::CreateModel_zero_sized_nhwc_relaxed,
1653 resize_nearest_neighbor::is_ignored_zero_sized_nhwc_relaxed,
1654 resize_nearest_neighbor::get_examples_zero_sized_nhwc_relaxed());
1655 }
1656
TEST_F(GeneratedTests,resize_nearest_neighbor_zero_sized_nhwc_quant8)1657 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nhwc_quant8) {
1658 execute(resize_nearest_neighbor::CreateModel_zero_sized_nhwc_quant8,
1659 resize_nearest_neighbor::is_ignored_zero_sized_nhwc_quant8,
1660 resize_nearest_neighbor::get_examples_zero_sized_nhwc_quant8());
1661 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_zero_sized_nhwc_quant8,resize_nearest_neighbor::CreateModel_zero_sized_nhwc_quant8)1662 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_zero_sized_nhwc_quant8, resize_nearest_neighbor::CreateModel_zero_sized_nhwc_quant8)
1663
1664 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nhwc_float16) {
1665 execute(resize_nearest_neighbor::CreateModel_zero_sized_nhwc_float16,
1666 resize_nearest_neighbor::is_ignored_zero_sized_nhwc_float16,
1667 resize_nearest_neighbor::get_examples_zero_sized_nhwc_float16());
1668 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_zero_sized_nhwc_float16,resize_nearest_neighbor::CreateModel_zero_sized_nhwc_float16)1669 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_zero_sized_nhwc_float16, resize_nearest_neighbor::CreateModel_zero_sized_nhwc_float16)
1670
1671 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nchw) {
1672 execute(resize_nearest_neighbor::CreateModel_zero_sized_nchw,
1673 resize_nearest_neighbor::is_ignored_zero_sized_nchw,
1674 resize_nearest_neighbor::get_examples_zero_sized_nchw());
1675 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_zero_sized_nchw,resize_nearest_neighbor::CreateModel_zero_sized_nchw)1676 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_zero_sized_nchw, resize_nearest_neighbor::CreateModel_zero_sized_nchw)
1677
1678 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nchw_relaxed) {
1679 execute(resize_nearest_neighbor::CreateModel_zero_sized_nchw_relaxed,
1680 resize_nearest_neighbor::is_ignored_zero_sized_nchw_relaxed,
1681 resize_nearest_neighbor::get_examples_zero_sized_nchw_relaxed());
1682 }
1683
TEST_F(GeneratedTests,resize_nearest_neighbor_zero_sized_nchw_quant8)1684 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nchw_quant8) {
1685 execute(resize_nearest_neighbor::CreateModel_zero_sized_nchw_quant8,
1686 resize_nearest_neighbor::is_ignored_zero_sized_nchw_quant8,
1687 resize_nearest_neighbor::get_examples_zero_sized_nchw_quant8());
1688 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_zero_sized_nchw_quant8,resize_nearest_neighbor::CreateModel_zero_sized_nchw_quant8)1689 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_zero_sized_nchw_quant8, resize_nearest_neighbor::CreateModel_zero_sized_nchw_quant8)
1690
1691 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nchw_float16) {
1692 execute(resize_nearest_neighbor::CreateModel_zero_sized_nchw_float16,
1693 resize_nearest_neighbor::is_ignored_zero_sized_nchw_float16,
1694 resize_nearest_neighbor::get_examples_zero_sized_nchw_float16());
1695 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_zero_sized_nchw_float16,resize_nearest_neighbor::CreateModel_zero_sized_nchw_float16)1696 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_zero_sized_nchw_float16, resize_nearest_neighbor::CreateModel_zero_sized_nchw_float16)
1697
1698 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc) {
1699 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nhwc,
1700 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nhwc,
1701 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nhwc());
1702 }
1703
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc_relaxed)1704 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc_relaxed) {
1705 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nhwc_relaxed,
1706 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nhwc_relaxed,
1707 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed());
1708 }
1709
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc_quant8)1710 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc_quant8) {
1711 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nhwc_quant8,
1712 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nhwc_quant8,
1713 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nhwc_quant8());
1714 }
1715
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc_float16)1716 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc_float16) {
1717 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nhwc_float16,
1718 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nhwc_float16,
1719 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nhwc_float16());
1720 }
1721
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw)1722 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw) {
1723 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nchw,
1724 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nchw,
1725 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nchw());
1726 }
1727
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_relaxed)1728 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_relaxed) {
1729 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nchw_relaxed,
1730 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nchw_relaxed,
1731 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nchw_relaxed());
1732 }
1733
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_quant8)1734 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_quant8) {
1735 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nchw_quant8,
1736 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nchw_quant8,
1737 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nchw_quant8());
1738 }
1739
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_float16)1740 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_float16) {
1741 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nchw_float16,
1742 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nchw_float16,
1743 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nchw_float16());
1744 }
1745
TEST_F(GeneratedTests,resize_nearest_neighbor_zero_sized_nhwc_2)1746 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nhwc_2) {
1747 execute(resize_nearest_neighbor::CreateModel_zero_sized_nhwc_2,
1748 resize_nearest_neighbor::is_ignored_zero_sized_nhwc_2,
1749 resize_nearest_neighbor::get_examples_zero_sized_nhwc_2());
1750 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_zero_sized_nhwc_2,resize_nearest_neighbor::CreateModel_zero_sized_nhwc_2)1751 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_zero_sized_nhwc_2, resize_nearest_neighbor::CreateModel_zero_sized_nhwc_2)
1752
1753 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nhwc_relaxed_2) {
1754 execute(resize_nearest_neighbor::CreateModel_zero_sized_nhwc_relaxed_2,
1755 resize_nearest_neighbor::is_ignored_zero_sized_nhwc_relaxed_2,
1756 resize_nearest_neighbor::get_examples_zero_sized_nhwc_relaxed_2());
1757 }
1758
TEST_F(GeneratedTests,resize_nearest_neighbor_zero_sized_nhwc_quant8_2)1759 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nhwc_quant8_2) {
1760 execute(resize_nearest_neighbor::CreateModel_zero_sized_nhwc_quant8_2,
1761 resize_nearest_neighbor::is_ignored_zero_sized_nhwc_quant8_2,
1762 resize_nearest_neighbor::get_examples_zero_sized_nhwc_quant8_2());
1763 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_zero_sized_nhwc_quant8_2,resize_nearest_neighbor::CreateModel_zero_sized_nhwc_quant8_2)1764 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_zero_sized_nhwc_quant8_2, resize_nearest_neighbor::CreateModel_zero_sized_nhwc_quant8_2)
1765
1766 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nhwc_float16_2) {
1767 execute(resize_nearest_neighbor::CreateModel_zero_sized_nhwc_float16_2,
1768 resize_nearest_neighbor::is_ignored_zero_sized_nhwc_float16_2,
1769 resize_nearest_neighbor::get_examples_zero_sized_nhwc_float16_2());
1770 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_zero_sized_nhwc_float16_2,resize_nearest_neighbor::CreateModel_zero_sized_nhwc_float16_2)1771 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_zero_sized_nhwc_float16_2, resize_nearest_neighbor::CreateModel_zero_sized_nhwc_float16_2)
1772
1773 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nchw_2) {
1774 execute(resize_nearest_neighbor::CreateModel_zero_sized_nchw_2,
1775 resize_nearest_neighbor::is_ignored_zero_sized_nchw_2,
1776 resize_nearest_neighbor::get_examples_zero_sized_nchw_2());
1777 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_zero_sized_nchw_2,resize_nearest_neighbor::CreateModel_zero_sized_nchw_2)1778 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_zero_sized_nchw_2, resize_nearest_neighbor::CreateModel_zero_sized_nchw_2)
1779
1780 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nchw_relaxed_2) {
1781 execute(resize_nearest_neighbor::CreateModel_zero_sized_nchw_relaxed_2,
1782 resize_nearest_neighbor::is_ignored_zero_sized_nchw_relaxed_2,
1783 resize_nearest_neighbor::get_examples_zero_sized_nchw_relaxed_2());
1784 }
1785
TEST_F(GeneratedTests,resize_nearest_neighbor_zero_sized_nchw_quant8_2)1786 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nchw_quant8_2) {
1787 execute(resize_nearest_neighbor::CreateModel_zero_sized_nchw_quant8_2,
1788 resize_nearest_neighbor::is_ignored_zero_sized_nchw_quant8_2,
1789 resize_nearest_neighbor::get_examples_zero_sized_nchw_quant8_2());
1790 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_zero_sized_nchw_quant8_2,resize_nearest_neighbor::CreateModel_zero_sized_nchw_quant8_2)1791 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_zero_sized_nchw_quant8_2, resize_nearest_neighbor::CreateModel_zero_sized_nchw_quant8_2)
1792
1793 TEST_F(GeneratedTests, resize_nearest_neighbor_zero_sized_nchw_float16_2) {
1794 execute(resize_nearest_neighbor::CreateModel_zero_sized_nchw_float16_2,
1795 resize_nearest_neighbor::is_ignored_zero_sized_nchw_float16_2,
1796 resize_nearest_neighbor::get_examples_zero_sized_nchw_float16_2());
1797 }
TEST_AVAILABLE_SINCE(V1_2,resize_nearest_neighbor_zero_sized_nchw_float16_2,resize_nearest_neighbor::CreateModel_zero_sized_nchw_float16_2)1798 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_zero_sized_nchw_float16_2, resize_nearest_neighbor::CreateModel_zero_sized_nchw_float16_2)
1799
1800 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc_2) {
1801 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nhwc_2,
1802 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nhwc_2,
1803 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nhwc_2());
1804 }
1805
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc_relaxed_2)1806 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc_relaxed_2) {
1807 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nhwc_relaxed_2,
1808 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nhwc_relaxed_2,
1809 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed_2());
1810 }
1811
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc_quant8_2)1812 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc_quant8_2) {
1813 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nhwc_quant8_2,
1814 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nhwc_quant8_2,
1815 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nhwc_quant8_2());
1816 }
1817
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc_float16_2)1818 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nhwc_float16_2) {
1819 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nhwc_float16_2,
1820 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nhwc_float16_2,
1821 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nhwc_float16_2());
1822 }
1823
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_2)1824 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_2) {
1825 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nchw_2,
1826 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nchw_2,
1827 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nchw_2());
1828 }
1829
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_relaxed_2)1830 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_relaxed_2) {
1831 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nchw_relaxed_2,
1832 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nchw_relaxed_2,
1833 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nchw_relaxed_2());
1834 }
1835
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_quant8_2)1836 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_quant8_2) {
1837 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nchw_quant8_2,
1838 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nchw_quant8_2,
1839 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nchw_quant8_2());
1840 }
1841
TEST_F(DynamicOutputShapeTest,resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_float16_2)1842 TEST_F(DynamicOutputShapeTest, resize_nearest_neighbor_zero_sized_dynamic_output_shape_nchw_float16_2) {
1843 execute(resize_nearest_neighbor::CreateModel_zero_sized_dynamic_output_shape_nchw_float16_2,
1844 resize_nearest_neighbor::is_ignored_zero_sized_dynamic_output_shape_nchw_float16_2,
1845 resize_nearest_neighbor::get_examples_zero_sized_dynamic_output_shape_nchw_float16_2());
1846 }
1847
1848