1 // clang-format off
2 // Generated file (from: resize_bilinear_v1_2.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace resize_bilinear_v1_2 {
6 // Generated resize_bilinear_v1_2 test
7 #include "generated/examples/resize_bilinear_v1_2.example.cpp"
8 // Generated model constructor
9 #include "generated/models/resize_bilinear_v1_2.model.cpp"
10 } // namespace resize_bilinear_v1_2
11
TEST_F(GeneratedTests,resize_bilinear_v1_2_shape_nhwc)12 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nhwc) {
13 execute(resize_bilinear_v1_2::CreateModel_shape_nhwc,
14 resize_bilinear_v1_2::is_ignored_shape_nhwc,
15 resize_bilinear_v1_2::get_examples_shape_nhwc());
16 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_nhwc,resize_bilinear_v1_2::CreateModel_shape_nhwc)17 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nhwc, resize_bilinear_v1_2::CreateModel_shape_nhwc)
18
19 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nhwc_relaxed) {
20 execute(resize_bilinear_v1_2::CreateModel_shape_nhwc_relaxed,
21 resize_bilinear_v1_2::is_ignored_shape_nhwc_relaxed,
22 resize_bilinear_v1_2::get_examples_shape_nhwc_relaxed());
23 }
24
TEST_F(GeneratedTests,resize_bilinear_v1_2_shape_nhwc_float16)25 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nhwc_float16) {
26 execute(resize_bilinear_v1_2::CreateModel_shape_nhwc_float16,
27 resize_bilinear_v1_2::is_ignored_shape_nhwc_float16,
28 resize_bilinear_v1_2::get_examples_shape_nhwc_float16());
29 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_nhwc_float16,resize_bilinear_v1_2::CreateModel_shape_nhwc_float16)30 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nhwc_float16, resize_bilinear_v1_2::CreateModel_shape_nhwc_float16)
31
32 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nhwc_quant8) {
33 execute(resize_bilinear_v1_2::CreateModel_shape_nhwc_quant8,
34 resize_bilinear_v1_2::is_ignored_shape_nhwc_quant8,
35 resize_bilinear_v1_2::get_examples_shape_nhwc_quant8());
36 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_nhwc_quant8,resize_bilinear_v1_2::CreateModel_shape_nhwc_quant8)37 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nhwc_quant8, resize_bilinear_v1_2::CreateModel_shape_nhwc_quant8)
38
39 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nchw) {
40 execute(resize_bilinear_v1_2::CreateModel_shape_nchw,
41 resize_bilinear_v1_2::is_ignored_shape_nchw,
42 resize_bilinear_v1_2::get_examples_shape_nchw());
43 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_nchw,resize_bilinear_v1_2::CreateModel_shape_nchw)44 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nchw, resize_bilinear_v1_2::CreateModel_shape_nchw)
45
46 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nchw_relaxed) {
47 execute(resize_bilinear_v1_2::CreateModel_shape_nchw_relaxed,
48 resize_bilinear_v1_2::is_ignored_shape_nchw_relaxed,
49 resize_bilinear_v1_2::get_examples_shape_nchw_relaxed());
50 }
51
TEST_F(GeneratedTests,resize_bilinear_v1_2_shape_nchw_float16)52 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nchw_float16) {
53 execute(resize_bilinear_v1_2::CreateModel_shape_nchw_float16,
54 resize_bilinear_v1_2::is_ignored_shape_nchw_float16,
55 resize_bilinear_v1_2::get_examples_shape_nchw_float16());
56 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_nchw_float16,resize_bilinear_v1_2::CreateModel_shape_nchw_float16)57 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nchw_float16, resize_bilinear_v1_2::CreateModel_shape_nchw_float16)
58
59 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nchw_quant8) {
60 execute(resize_bilinear_v1_2::CreateModel_shape_nchw_quant8,
61 resize_bilinear_v1_2::is_ignored_shape_nchw_quant8,
62 resize_bilinear_v1_2::get_examples_shape_nchw_quant8());
63 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_nchw_quant8,resize_bilinear_v1_2::CreateModel_shape_nchw_quant8)64 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nchw_quant8, resize_bilinear_v1_2::CreateModel_shape_nchw_quant8)
65
66 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc) {
67 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nhwc,
68 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nhwc,
69 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nhwc());
70 }
71
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc_relaxed)72 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc_relaxed) {
73 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nhwc_relaxed,
74 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nhwc_relaxed,
75 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nhwc_relaxed());
76 }
77
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc_float16)78 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc_float16) {
79 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nhwc_float16,
80 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nhwc_float16,
81 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nhwc_float16());
82 }
83
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc_quant8)84 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc_quant8) {
85 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nhwc_quant8,
86 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nhwc_quant8,
87 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nhwc_quant8());
88 }
89
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nchw)90 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nchw) {
91 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nchw,
92 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nchw,
93 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nchw());
94 }
95
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_relaxed)96 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_relaxed) {
97 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nchw_relaxed,
98 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nchw_relaxed,
99 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nchw_relaxed());
100 }
101
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_float16)102 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_float16) {
103 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nchw_float16,
104 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nchw_float16,
105 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nchw_float16());
106 }
107
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_quant8)108 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_quant8) {
109 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nchw_quant8,
110 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nchw_quant8,
111 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nchw_quant8());
112 }
113
TEST_F(GeneratedTests,resize_bilinear_v1_2_scale_nhwc)114 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nhwc) {
115 execute(resize_bilinear_v1_2::CreateModel_scale_nhwc,
116 resize_bilinear_v1_2::is_ignored_scale_nhwc,
117 resize_bilinear_v1_2::get_examples_scale_nhwc());
118 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_nhwc,resize_bilinear_v1_2::CreateModel_scale_nhwc)119 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nhwc, resize_bilinear_v1_2::CreateModel_scale_nhwc)
120
121 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nhwc_relaxed) {
122 execute(resize_bilinear_v1_2::CreateModel_scale_nhwc_relaxed,
123 resize_bilinear_v1_2::is_ignored_scale_nhwc_relaxed,
124 resize_bilinear_v1_2::get_examples_scale_nhwc_relaxed());
125 }
126
TEST_F(GeneratedTests,resize_bilinear_v1_2_scale_nhwc_float16)127 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nhwc_float16) {
128 execute(resize_bilinear_v1_2::CreateModel_scale_nhwc_float16,
129 resize_bilinear_v1_2::is_ignored_scale_nhwc_float16,
130 resize_bilinear_v1_2::get_examples_scale_nhwc_float16());
131 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_nhwc_float16,resize_bilinear_v1_2::CreateModel_scale_nhwc_float16)132 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nhwc_float16, resize_bilinear_v1_2::CreateModel_scale_nhwc_float16)
133
134 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nhwc_quant8) {
135 execute(resize_bilinear_v1_2::CreateModel_scale_nhwc_quant8,
136 resize_bilinear_v1_2::is_ignored_scale_nhwc_quant8,
137 resize_bilinear_v1_2::get_examples_scale_nhwc_quant8());
138 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_nhwc_quant8,resize_bilinear_v1_2::CreateModel_scale_nhwc_quant8)139 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nhwc_quant8, resize_bilinear_v1_2::CreateModel_scale_nhwc_quant8)
140
141 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nchw) {
142 execute(resize_bilinear_v1_2::CreateModel_scale_nchw,
143 resize_bilinear_v1_2::is_ignored_scale_nchw,
144 resize_bilinear_v1_2::get_examples_scale_nchw());
145 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_nchw,resize_bilinear_v1_2::CreateModel_scale_nchw)146 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nchw, resize_bilinear_v1_2::CreateModel_scale_nchw)
147
148 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nchw_relaxed) {
149 execute(resize_bilinear_v1_2::CreateModel_scale_nchw_relaxed,
150 resize_bilinear_v1_2::is_ignored_scale_nchw_relaxed,
151 resize_bilinear_v1_2::get_examples_scale_nchw_relaxed());
152 }
153
TEST_F(GeneratedTests,resize_bilinear_v1_2_scale_nchw_float16)154 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nchw_float16) {
155 execute(resize_bilinear_v1_2::CreateModel_scale_nchw_float16,
156 resize_bilinear_v1_2::is_ignored_scale_nchw_float16,
157 resize_bilinear_v1_2::get_examples_scale_nchw_float16());
158 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_nchw_float16,resize_bilinear_v1_2::CreateModel_scale_nchw_float16)159 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nchw_float16, resize_bilinear_v1_2::CreateModel_scale_nchw_float16)
160
161 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nchw_quant8) {
162 execute(resize_bilinear_v1_2::CreateModel_scale_nchw_quant8,
163 resize_bilinear_v1_2::is_ignored_scale_nchw_quant8,
164 resize_bilinear_v1_2::get_examples_scale_nchw_quant8());
165 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_nchw_quant8,resize_bilinear_v1_2::CreateModel_scale_nchw_quant8)166 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nchw_quant8, resize_bilinear_v1_2::CreateModel_scale_nchw_quant8)
167
168 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc) {
169 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nhwc,
170 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nhwc,
171 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nhwc());
172 }
173
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc_relaxed)174 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc_relaxed) {
175 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nhwc_relaxed,
176 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nhwc_relaxed,
177 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nhwc_relaxed());
178 }
179
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc_float16)180 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc_float16) {
181 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nhwc_float16,
182 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nhwc_float16,
183 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nhwc_float16());
184 }
185
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc_quant8)186 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc_quant8) {
187 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nhwc_quant8,
188 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nhwc_quant8,
189 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nhwc_quant8());
190 }
191
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nchw)192 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nchw) {
193 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nchw,
194 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nchw,
195 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nchw());
196 }
197
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_relaxed)198 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_relaxed) {
199 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nchw_relaxed,
200 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nchw_relaxed,
201 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nchw_relaxed());
202 }
203
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_float16)204 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_float16) {
205 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nchw_float16,
206 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nchw_float16,
207 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nchw_float16());
208 }
209
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_quant8)210 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_quant8) {
211 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nchw_quant8,
212 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nchw_quant8,
213 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nchw_quant8());
214 }
215
TEST_F(GeneratedTests,resize_bilinear_v1_2_shape_nhwc_2)216 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nhwc_2) {
217 execute(resize_bilinear_v1_2::CreateModel_shape_nhwc_2,
218 resize_bilinear_v1_2::is_ignored_shape_nhwc_2,
219 resize_bilinear_v1_2::get_examples_shape_nhwc_2());
220 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_nhwc_2,resize_bilinear_v1_2::CreateModel_shape_nhwc_2)221 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nhwc_2, resize_bilinear_v1_2::CreateModel_shape_nhwc_2)
222
223 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nhwc_relaxed_2) {
224 execute(resize_bilinear_v1_2::CreateModel_shape_nhwc_relaxed_2,
225 resize_bilinear_v1_2::is_ignored_shape_nhwc_relaxed_2,
226 resize_bilinear_v1_2::get_examples_shape_nhwc_relaxed_2());
227 }
228
TEST_F(GeneratedTests,resize_bilinear_v1_2_shape_nhwc_float16_2)229 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nhwc_float16_2) {
230 execute(resize_bilinear_v1_2::CreateModel_shape_nhwc_float16_2,
231 resize_bilinear_v1_2::is_ignored_shape_nhwc_float16_2,
232 resize_bilinear_v1_2::get_examples_shape_nhwc_float16_2());
233 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_nhwc_float16_2,resize_bilinear_v1_2::CreateModel_shape_nhwc_float16_2)234 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nhwc_float16_2, resize_bilinear_v1_2::CreateModel_shape_nhwc_float16_2)
235
236 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nhwc_quant8_2) {
237 execute(resize_bilinear_v1_2::CreateModel_shape_nhwc_quant8_2,
238 resize_bilinear_v1_2::is_ignored_shape_nhwc_quant8_2,
239 resize_bilinear_v1_2::get_examples_shape_nhwc_quant8_2());
240 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_nhwc_quant8_2,resize_bilinear_v1_2::CreateModel_shape_nhwc_quant8_2)241 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nhwc_quant8_2, resize_bilinear_v1_2::CreateModel_shape_nhwc_quant8_2)
242
243 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nchw_2) {
244 execute(resize_bilinear_v1_2::CreateModel_shape_nchw_2,
245 resize_bilinear_v1_2::is_ignored_shape_nchw_2,
246 resize_bilinear_v1_2::get_examples_shape_nchw_2());
247 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_nchw_2,resize_bilinear_v1_2::CreateModel_shape_nchw_2)248 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nchw_2, resize_bilinear_v1_2::CreateModel_shape_nchw_2)
249
250 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nchw_relaxed_2) {
251 execute(resize_bilinear_v1_2::CreateModel_shape_nchw_relaxed_2,
252 resize_bilinear_v1_2::is_ignored_shape_nchw_relaxed_2,
253 resize_bilinear_v1_2::get_examples_shape_nchw_relaxed_2());
254 }
255
TEST_F(GeneratedTests,resize_bilinear_v1_2_shape_nchw_float16_2)256 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nchw_float16_2) {
257 execute(resize_bilinear_v1_2::CreateModel_shape_nchw_float16_2,
258 resize_bilinear_v1_2::is_ignored_shape_nchw_float16_2,
259 resize_bilinear_v1_2::get_examples_shape_nchw_float16_2());
260 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_nchw_float16_2,resize_bilinear_v1_2::CreateModel_shape_nchw_float16_2)261 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nchw_float16_2, resize_bilinear_v1_2::CreateModel_shape_nchw_float16_2)
262
263 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_nchw_quant8_2) {
264 execute(resize_bilinear_v1_2::CreateModel_shape_nchw_quant8_2,
265 resize_bilinear_v1_2::is_ignored_shape_nchw_quant8_2,
266 resize_bilinear_v1_2::get_examples_shape_nchw_quant8_2());
267 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_nchw_quant8_2,resize_bilinear_v1_2::CreateModel_shape_nchw_quant8_2)268 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nchw_quant8_2, resize_bilinear_v1_2::CreateModel_shape_nchw_quant8_2)
269
270 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc_2) {
271 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nhwc_2,
272 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nhwc_2,
273 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nhwc_2());
274 }
275
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc_relaxed_2)276 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc_relaxed_2) {
277 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nhwc_relaxed_2,
278 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nhwc_relaxed_2,
279 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nhwc_relaxed_2());
280 }
281
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc_float16_2)282 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc_float16_2) {
283 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nhwc_float16_2,
284 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nhwc_float16_2,
285 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nhwc_float16_2());
286 }
287
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc_quant8_2)288 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nhwc_quant8_2) {
289 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nhwc_quant8_2,
290 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nhwc_quant8_2,
291 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nhwc_quant8_2());
292 }
293
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_2)294 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_2) {
295 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nchw_2,
296 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nchw_2,
297 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nchw_2());
298 }
299
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_relaxed_2)300 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_relaxed_2) {
301 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nchw_relaxed_2,
302 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nchw_relaxed_2,
303 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nchw_relaxed_2());
304 }
305
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_float16_2)306 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_float16_2) {
307 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nchw_float16_2,
308 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nchw_float16_2,
309 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nchw_float16_2());
310 }
311
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_quant8_2)312 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_nchw_quant8_2) {
313 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_nchw_quant8_2,
314 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_nchw_quant8_2,
315 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_nchw_quant8_2());
316 }
317
TEST_F(GeneratedTests,resize_bilinear_v1_2_scale_nhwc_2)318 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nhwc_2) {
319 execute(resize_bilinear_v1_2::CreateModel_scale_nhwc_2,
320 resize_bilinear_v1_2::is_ignored_scale_nhwc_2,
321 resize_bilinear_v1_2::get_examples_scale_nhwc_2());
322 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_nhwc_2,resize_bilinear_v1_2::CreateModel_scale_nhwc_2)323 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nhwc_2, resize_bilinear_v1_2::CreateModel_scale_nhwc_2)
324
325 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nhwc_relaxed_2) {
326 execute(resize_bilinear_v1_2::CreateModel_scale_nhwc_relaxed_2,
327 resize_bilinear_v1_2::is_ignored_scale_nhwc_relaxed_2,
328 resize_bilinear_v1_2::get_examples_scale_nhwc_relaxed_2());
329 }
330
TEST_F(GeneratedTests,resize_bilinear_v1_2_scale_nhwc_float16_2)331 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nhwc_float16_2) {
332 execute(resize_bilinear_v1_2::CreateModel_scale_nhwc_float16_2,
333 resize_bilinear_v1_2::is_ignored_scale_nhwc_float16_2,
334 resize_bilinear_v1_2::get_examples_scale_nhwc_float16_2());
335 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_nhwc_float16_2,resize_bilinear_v1_2::CreateModel_scale_nhwc_float16_2)336 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nhwc_float16_2, resize_bilinear_v1_2::CreateModel_scale_nhwc_float16_2)
337
338 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nhwc_quant8_2) {
339 execute(resize_bilinear_v1_2::CreateModel_scale_nhwc_quant8_2,
340 resize_bilinear_v1_2::is_ignored_scale_nhwc_quant8_2,
341 resize_bilinear_v1_2::get_examples_scale_nhwc_quant8_2());
342 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_nhwc_quant8_2,resize_bilinear_v1_2::CreateModel_scale_nhwc_quant8_2)343 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nhwc_quant8_2, resize_bilinear_v1_2::CreateModel_scale_nhwc_quant8_2)
344
345 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nchw_2) {
346 execute(resize_bilinear_v1_2::CreateModel_scale_nchw_2,
347 resize_bilinear_v1_2::is_ignored_scale_nchw_2,
348 resize_bilinear_v1_2::get_examples_scale_nchw_2());
349 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_nchw_2,resize_bilinear_v1_2::CreateModel_scale_nchw_2)350 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nchw_2, resize_bilinear_v1_2::CreateModel_scale_nchw_2)
351
352 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nchw_relaxed_2) {
353 execute(resize_bilinear_v1_2::CreateModel_scale_nchw_relaxed_2,
354 resize_bilinear_v1_2::is_ignored_scale_nchw_relaxed_2,
355 resize_bilinear_v1_2::get_examples_scale_nchw_relaxed_2());
356 }
357
TEST_F(GeneratedTests,resize_bilinear_v1_2_scale_nchw_float16_2)358 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nchw_float16_2) {
359 execute(resize_bilinear_v1_2::CreateModel_scale_nchw_float16_2,
360 resize_bilinear_v1_2::is_ignored_scale_nchw_float16_2,
361 resize_bilinear_v1_2::get_examples_scale_nchw_float16_2());
362 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_nchw_float16_2,resize_bilinear_v1_2::CreateModel_scale_nchw_float16_2)363 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nchw_float16_2, resize_bilinear_v1_2::CreateModel_scale_nchw_float16_2)
364
365 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_nchw_quant8_2) {
366 execute(resize_bilinear_v1_2::CreateModel_scale_nchw_quant8_2,
367 resize_bilinear_v1_2::is_ignored_scale_nchw_quant8_2,
368 resize_bilinear_v1_2::get_examples_scale_nchw_quant8_2());
369 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_nchw_quant8_2,resize_bilinear_v1_2::CreateModel_scale_nchw_quant8_2)370 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nchw_quant8_2, resize_bilinear_v1_2::CreateModel_scale_nchw_quant8_2)
371
372 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc_2) {
373 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nhwc_2,
374 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nhwc_2,
375 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nhwc_2());
376 }
377
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc_relaxed_2)378 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc_relaxed_2) {
379 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nhwc_relaxed_2,
380 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nhwc_relaxed_2,
381 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nhwc_relaxed_2());
382 }
383
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc_float16_2)384 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc_float16_2) {
385 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nhwc_float16_2,
386 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nhwc_float16_2,
387 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nhwc_float16_2());
388 }
389
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc_quant8_2)390 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nhwc_quant8_2) {
391 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nhwc_quant8_2,
392 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nhwc_quant8_2,
393 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nhwc_quant8_2());
394 }
395
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_2)396 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_2) {
397 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nchw_2,
398 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nchw_2,
399 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nchw_2());
400 }
401
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_relaxed_2)402 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_relaxed_2) {
403 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nchw_relaxed_2,
404 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nchw_relaxed_2,
405 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nchw_relaxed_2());
406 }
407
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_float16_2)408 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_float16_2) {
409 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nchw_float16_2,
410 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nchw_float16_2,
411 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nchw_float16_2());
412 }
413
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_quant8_2)414 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_nchw_quant8_2) {
415 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_nchw_quant8_2,
416 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_nchw_quant8_2,
417 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_nchw_quant8_2());
418 }
419
TEST_F(GeneratedTests,resize_bilinear_v1_2_shape_float16)420 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_float16) {
421 execute(resize_bilinear_v1_2::CreateModel_shape_float16,
422 resize_bilinear_v1_2::is_ignored_shape_float16,
423 resize_bilinear_v1_2::get_examples_shape_float16());
424 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_float16,resize_bilinear_v1_2::CreateModel_shape_float16)425 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_float16, resize_bilinear_v1_2::CreateModel_shape_float16)
426
427 TEST_F(GeneratedTests, resize_bilinear_v1_2_shape_quant8) {
428 execute(resize_bilinear_v1_2::CreateModel_shape_quant8,
429 resize_bilinear_v1_2::is_ignored_shape_quant8,
430 resize_bilinear_v1_2::get_examples_shape_quant8());
431 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_shape_quant8,resize_bilinear_v1_2::CreateModel_shape_quant8)432 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_quant8, resize_bilinear_v1_2::CreateModel_shape_quant8)
433
434 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_float16) {
435 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_float16,
436 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_float16,
437 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_float16());
438 }
439
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_shape_dynamic_output_shape_quant8)440 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_shape_dynamic_output_shape_quant8) {
441 execute(resize_bilinear_v1_2::CreateModel_shape_dynamic_output_shape_quant8,
442 resize_bilinear_v1_2::is_ignored_shape_dynamic_output_shape_quant8,
443 resize_bilinear_v1_2::get_examples_shape_dynamic_output_shape_quant8());
444 }
445
TEST_F(GeneratedTests,resize_bilinear_v1_2_scale_float16)446 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_float16) {
447 execute(resize_bilinear_v1_2::CreateModel_scale_float16,
448 resize_bilinear_v1_2::is_ignored_scale_float16,
449 resize_bilinear_v1_2::get_examples_scale_float16());
450 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_float16,resize_bilinear_v1_2::CreateModel_scale_float16)451 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_float16, resize_bilinear_v1_2::CreateModel_scale_float16)
452
453 TEST_F(GeneratedTests, resize_bilinear_v1_2_scale_quant8) {
454 execute(resize_bilinear_v1_2::CreateModel_scale_quant8,
455 resize_bilinear_v1_2::is_ignored_scale_quant8,
456 resize_bilinear_v1_2::get_examples_scale_quant8());
457 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_scale_quant8,resize_bilinear_v1_2::CreateModel_scale_quant8)458 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_quant8, resize_bilinear_v1_2::CreateModel_scale_quant8)
459
460 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_float16) {
461 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_float16,
462 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_float16,
463 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_float16());
464 }
465
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_scale_dynamic_output_shape_quant8)466 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_scale_dynamic_output_shape_quant8) {
467 execute(resize_bilinear_v1_2::CreateModel_scale_dynamic_output_shape_quant8,
468 resize_bilinear_v1_2::is_ignored_scale_dynamic_output_shape_quant8,
469 resize_bilinear_v1_2::get_examples_scale_dynamic_output_shape_quant8());
470 }
471
TEST_F(GeneratedTests,resize_bilinear_v1_2_zero_sized_nhwc)472 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nhwc) {
473 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nhwc,
474 resize_bilinear_v1_2::is_ignored_zero_sized_nhwc,
475 resize_bilinear_v1_2::get_examples_zero_sized_nhwc());
476 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_zero_sized_nhwc,resize_bilinear_v1_2::CreateModel_zero_sized_nhwc)477 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_zero_sized_nhwc, resize_bilinear_v1_2::CreateModel_zero_sized_nhwc)
478
479 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nhwc_relaxed) {
480 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_relaxed,
481 resize_bilinear_v1_2::is_ignored_zero_sized_nhwc_relaxed,
482 resize_bilinear_v1_2::get_examples_zero_sized_nhwc_relaxed());
483 }
484
TEST_F(GeneratedTests,resize_bilinear_v1_2_zero_sized_nhwc_quant8)485 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nhwc_quant8) {
486 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_quant8,
487 resize_bilinear_v1_2::is_ignored_zero_sized_nhwc_quant8,
488 resize_bilinear_v1_2::get_examples_zero_sized_nhwc_quant8());
489 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_zero_sized_nhwc_quant8,resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_quant8)490 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_zero_sized_nhwc_quant8, resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_quant8)
491
492 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nhwc_float16) {
493 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_float16,
494 resize_bilinear_v1_2::is_ignored_zero_sized_nhwc_float16,
495 resize_bilinear_v1_2::get_examples_zero_sized_nhwc_float16());
496 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_zero_sized_nhwc_float16,resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_float16)497 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_zero_sized_nhwc_float16, resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_float16)
498
499 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nchw) {
500 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nchw,
501 resize_bilinear_v1_2::is_ignored_zero_sized_nchw,
502 resize_bilinear_v1_2::get_examples_zero_sized_nchw());
503 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_zero_sized_nchw,resize_bilinear_v1_2::CreateModel_zero_sized_nchw)504 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_zero_sized_nchw, resize_bilinear_v1_2::CreateModel_zero_sized_nchw)
505
506 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nchw_relaxed) {
507 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nchw_relaxed,
508 resize_bilinear_v1_2::is_ignored_zero_sized_nchw_relaxed,
509 resize_bilinear_v1_2::get_examples_zero_sized_nchw_relaxed());
510 }
511
TEST_F(GeneratedTests,resize_bilinear_v1_2_zero_sized_nchw_quant8)512 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nchw_quant8) {
513 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nchw_quant8,
514 resize_bilinear_v1_2::is_ignored_zero_sized_nchw_quant8,
515 resize_bilinear_v1_2::get_examples_zero_sized_nchw_quant8());
516 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_zero_sized_nchw_quant8,resize_bilinear_v1_2::CreateModel_zero_sized_nchw_quant8)517 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_zero_sized_nchw_quant8, resize_bilinear_v1_2::CreateModel_zero_sized_nchw_quant8)
518
519 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nchw_float16) {
520 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nchw_float16,
521 resize_bilinear_v1_2::is_ignored_zero_sized_nchw_float16,
522 resize_bilinear_v1_2::get_examples_zero_sized_nchw_float16());
523 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_zero_sized_nchw_float16,resize_bilinear_v1_2::CreateModel_zero_sized_nchw_float16)524 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_zero_sized_nchw_float16, resize_bilinear_v1_2::CreateModel_zero_sized_nchw_float16)
525
526 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc) {
527 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc,
528 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc,
529 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc());
530 }
531
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed)532 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed) {
533 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_relaxed,
534 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_relaxed,
535 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed());
536 }
537
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc_quant8)538 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc_quant8) {
539 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_quant8,
540 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_quant8,
541 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_quant8());
542 }
543
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc_float16)544 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc_float16) {
545 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_float16,
546 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_float16,
547 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_float16());
548 }
549
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw)550 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw) {
551 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw,
552 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw,
553 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw());
554 }
555
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed)556 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed) {
557 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_relaxed,
558 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_relaxed,
559 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_relaxed());
560 }
561
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_quant8)562 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_quant8) {
563 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_quant8,
564 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_quant8,
565 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_quant8());
566 }
567
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_float16)568 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_float16) {
569 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_float16,
570 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_float16,
571 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_float16());
572 }
573
TEST_F(GeneratedTests,resize_bilinear_v1_2_zero_sized_nhwc_2)574 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nhwc_2) {
575 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_2,
576 resize_bilinear_v1_2::is_ignored_zero_sized_nhwc_2,
577 resize_bilinear_v1_2::get_examples_zero_sized_nhwc_2());
578 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_zero_sized_nhwc_2,resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_2)579 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_zero_sized_nhwc_2, resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_2)
580
581 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nhwc_relaxed_2) {
582 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_relaxed_2,
583 resize_bilinear_v1_2::is_ignored_zero_sized_nhwc_relaxed_2,
584 resize_bilinear_v1_2::get_examples_zero_sized_nhwc_relaxed_2());
585 }
586
TEST_F(GeneratedTests,resize_bilinear_v1_2_zero_sized_nhwc_quant8_2)587 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nhwc_quant8_2) {
588 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_quant8_2,
589 resize_bilinear_v1_2::is_ignored_zero_sized_nhwc_quant8_2,
590 resize_bilinear_v1_2::get_examples_zero_sized_nhwc_quant8_2());
591 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_zero_sized_nhwc_quant8_2,resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_quant8_2)592 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_zero_sized_nhwc_quant8_2, resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_quant8_2)
593
594 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nhwc_float16_2) {
595 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_float16_2,
596 resize_bilinear_v1_2::is_ignored_zero_sized_nhwc_float16_2,
597 resize_bilinear_v1_2::get_examples_zero_sized_nhwc_float16_2());
598 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_zero_sized_nhwc_float16_2,resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_float16_2)599 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_zero_sized_nhwc_float16_2, resize_bilinear_v1_2::CreateModel_zero_sized_nhwc_float16_2)
600
601 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nchw_2) {
602 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nchw_2,
603 resize_bilinear_v1_2::is_ignored_zero_sized_nchw_2,
604 resize_bilinear_v1_2::get_examples_zero_sized_nchw_2());
605 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_zero_sized_nchw_2,resize_bilinear_v1_2::CreateModel_zero_sized_nchw_2)606 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_zero_sized_nchw_2, resize_bilinear_v1_2::CreateModel_zero_sized_nchw_2)
607
608 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nchw_relaxed_2) {
609 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nchw_relaxed_2,
610 resize_bilinear_v1_2::is_ignored_zero_sized_nchw_relaxed_2,
611 resize_bilinear_v1_2::get_examples_zero_sized_nchw_relaxed_2());
612 }
613
TEST_F(GeneratedTests,resize_bilinear_v1_2_zero_sized_nchw_quant8_2)614 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nchw_quant8_2) {
615 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nchw_quant8_2,
616 resize_bilinear_v1_2::is_ignored_zero_sized_nchw_quant8_2,
617 resize_bilinear_v1_2::get_examples_zero_sized_nchw_quant8_2());
618 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_zero_sized_nchw_quant8_2,resize_bilinear_v1_2::CreateModel_zero_sized_nchw_quant8_2)619 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_zero_sized_nchw_quant8_2, resize_bilinear_v1_2::CreateModel_zero_sized_nchw_quant8_2)
620
621 TEST_F(GeneratedTests, resize_bilinear_v1_2_zero_sized_nchw_float16_2) {
622 execute(resize_bilinear_v1_2::CreateModel_zero_sized_nchw_float16_2,
623 resize_bilinear_v1_2::is_ignored_zero_sized_nchw_float16_2,
624 resize_bilinear_v1_2::get_examples_zero_sized_nchw_float16_2());
625 }
TEST_AVAILABLE_SINCE(V1_2,resize_bilinear_v1_2_zero_sized_nchw_float16_2,resize_bilinear_v1_2::CreateModel_zero_sized_nchw_float16_2)626 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_zero_sized_nchw_float16_2, resize_bilinear_v1_2::CreateModel_zero_sized_nchw_float16_2)
627
628 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc_2) {
629 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_2,
630 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_2,
631 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_2());
632 }
633
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed_2)634 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed_2) {
635 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_relaxed_2,
636 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_relaxed_2,
637 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed_2());
638 }
639
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc_quant8_2)640 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc_quant8_2) {
641 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_quant8_2,
642 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_quant8_2,
643 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_quant8_2());
644 }
645
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc_float16_2)646 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nhwc_float16_2) {
647 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_float16_2,
648 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_float16_2,
649 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_float16_2());
650 }
651
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_2)652 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_2) {
653 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_2,
654 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_2,
655 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_2());
656 }
657
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed_2)658 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed_2) {
659 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_relaxed_2,
660 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_relaxed_2,
661 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_relaxed_2());
662 }
663
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_quant8_2)664 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_quant8_2) {
665 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_quant8_2,
666 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_quant8_2,
667 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_quant8_2());
668 }
669
TEST_F(DynamicOutputShapeTest,resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_float16_2)670 TEST_F(DynamicOutputShapeTest, resize_bilinear_v1_2_zero_sized_dynamic_output_shape_nchw_float16_2) {
671 execute(resize_bilinear_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_float16_2,
672 resize_bilinear_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_float16_2,
673 resize_bilinear_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_float16_2());
674 }
675
676