1 // clang-format off
2 // Generated file (from: conv2d_v1_2.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace conv2d_v1_2 {
6 // Generated conv2d_v1_2 test
7 #include "generated/examples/conv2d_v1_2.example.cpp"
8 // Generated model constructor
9 #include "generated/models/conv2d_v1_2.model.cpp"
10 } // namespace conv2d_v1_2
11
TEST_F(GeneratedTests,conv2d_v1_2_nhwc)12 TEST_F(GeneratedTests, conv2d_v1_2_nhwc) {
13 execute(conv2d_v1_2::CreateModel_nhwc,
14 conv2d_v1_2::is_ignored_nhwc,
15 conv2d_v1_2::get_examples_nhwc());
16 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc,conv2d_v1_2::CreateModel_nhwc)17 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc, conv2d_v1_2::CreateModel_nhwc)
18
19 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_relaxed) {
20 execute(conv2d_v1_2::CreateModel_nhwc_relaxed,
21 conv2d_v1_2::is_ignored_nhwc_relaxed,
22 conv2d_v1_2::get_examples_nhwc_relaxed());
23 }
24
TEST_F(GeneratedTests,conv2d_v1_2_nhwc_quant8)25 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_quant8) {
26 execute(conv2d_v1_2::CreateModel_nhwc_quant8,
27 conv2d_v1_2::is_ignored_nhwc_quant8,
28 conv2d_v1_2::get_examples_nhwc_quant8());
29 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_quant8,conv2d_v1_2::CreateModel_nhwc_quant8)30 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_quant8, conv2d_v1_2::CreateModel_nhwc_quant8)
31
32 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_channelQuant8) {
33 execute(conv2d_v1_2::CreateModel_nhwc_channelQuant8,
34 conv2d_v1_2::is_ignored_nhwc_channelQuant8,
35 conv2d_v1_2::get_examples_nhwc_channelQuant8());
36 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_channelQuant8,conv2d_v1_2::CreateModel_nhwc_channelQuant8)37 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_channelQuant8, conv2d_v1_2::CreateModel_nhwc_channelQuant8)
38
39 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_float16) {
40 execute(conv2d_v1_2::CreateModel_nhwc_float16,
41 conv2d_v1_2::is_ignored_nhwc_float16,
42 conv2d_v1_2::get_examples_nhwc_float16());
43 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_float16,conv2d_v1_2::CreateModel_nhwc_float16)44 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_float16, conv2d_v1_2::CreateModel_nhwc_float16)
45
46 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_weight_as_input) {
47 execute(conv2d_v1_2::CreateModel_nhwc_weight_as_input,
48 conv2d_v1_2::is_ignored_nhwc_weight_as_input,
49 conv2d_v1_2::get_examples_nhwc_weight_as_input());
50 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_weight_as_input,conv2d_v1_2::CreateModel_nhwc_weight_as_input)51 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_weight_as_input, conv2d_v1_2::CreateModel_nhwc_weight_as_input)
52
53 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_weight_as_input_relaxed) {
54 execute(conv2d_v1_2::CreateModel_nhwc_weight_as_input_relaxed,
55 conv2d_v1_2::is_ignored_nhwc_weight_as_input_relaxed,
56 conv2d_v1_2::get_examples_nhwc_weight_as_input_relaxed());
57 }
58
TEST_F(GeneratedTests,conv2d_v1_2_nhwc_weight_as_input_quant8)59 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_weight_as_input_quant8) {
60 execute(conv2d_v1_2::CreateModel_nhwc_weight_as_input_quant8,
61 conv2d_v1_2::is_ignored_nhwc_weight_as_input_quant8,
62 conv2d_v1_2::get_examples_nhwc_weight_as_input_quant8());
63 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_weight_as_input_quant8,conv2d_v1_2::CreateModel_nhwc_weight_as_input_quant8)64 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_weight_as_input_quant8, conv2d_v1_2::CreateModel_nhwc_weight_as_input_quant8)
65
66 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_weight_as_input_channelQuant8) {
67 execute(conv2d_v1_2::CreateModel_nhwc_weight_as_input_channelQuant8,
68 conv2d_v1_2::is_ignored_nhwc_weight_as_input_channelQuant8,
69 conv2d_v1_2::get_examples_nhwc_weight_as_input_channelQuant8());
70 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_weight_as_input_channelQuant8,conv2d_v1_2::CreateModel_nhwc_weight_as_input_channelQuant8)71 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_weight_as_input_channelQuant8, conv2d_v1_2::CreateModel_nhwc_weight_as_input_channelQuant8)
72
73 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_weight_as_input_float16) {
74 execute(conv2d_v1_2::CreateModel_nhwc_weight_as_input_float16,
75 conv2d_v1_2::is_ignored_nhwc_weight_as_input_float16,
76 conv2d_v1_2::get_examples_nhwc_weight_as_input_float16());
77 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_weight_as_input_float16,conv2d_v1_2::CreateModel_nhwc_weight_as_input_float16)78 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_weight_as_input_float16, conv2d_v1_2::CreateModel_nhwc_weight_as_input_float16)
79
80 TEST_F(GeneratedTests, conv2d_v1_2_nchw) {
81 execute(conv2d_v1_2::CreateModel_nchw,
82 conv2d_v1_2::is_ignored_nchw,
83 conv2d_v1_2::get_examples_nchw());
84 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw,conv2d_v1_2::CreateModel_nchw)85 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw, conv2d_v1_2::CreateModel_nchw)
86
87 TEST_F(GeneratedTests, conv2d_v1_2_nchw_relaxed) {
88 execute(conv2d_v1_2::CreateModel_nchw_relaxed,
89 conv2d_v1_2::is_ignored_nchw_relaxed,
90 conv2d_v1_2::get_examples_nchw_relaxed());
91 }
92
TEST_F(GeneratedTests,conv2d_v1_2_nchw_quant8)93 TEST_F(GeneratedTests, conv2d_v1_2_nchw_quant8) {
94 execute(conv2d_v1_2::CreateModel_nchw_quant8,
95 conv2d_v1_2::is_ignored_nchw_quant8,
96 conv2d_v1_2::get_examples_nchw_quant8());
97 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_quant8,conv2d_v1_2::CreateModel_nchw_quant8)98 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_quant8, conv2d_v1_2::CreateModel_nchw_quant8)
99
100 TEST_F(GeneratedTests, conv2d_v1_2_nchw_channelQuant8) {
101 execute(conv2d_v1_2::CreateModel_nchw_channelQuant8,
102 conv2d_v1_2::is_ignored_nchw_channelQuant8,
103 conv2d_v1_2::get_examples_nchw_channelQuant8());
104 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_channelQuant8,conv2d_v1_2::CreateModel_nchw_channelQuant8)105 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_channelQuant8, conv2d_v1_2::CreateModel_nchw_channelQuant8)
106
107 TEST_F(GeneratedTests, conv2d_v1_2_nchw_float16) {
108 execute(conv2d_v1_2::CreateModel_nchw_float16,
109 conv2d_v1_2::is_ignored_nchw_float16,
110 conv2d_v1_2::get_examples_nchw_float16());
111 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_float16,conv2d_v1_2::CreateModel_nchw_float16)112 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_float16, conv2d_v1_2::CreateModel_nchw_float16)
113
114 TEST_F(GeneratedTests, conv2d_v1_2_nchw_weight_as_input) {
115 execute(conv2d_v1_2::CreateModel_nchw_weight_as_input,
116 conv2d_v1_2::is_ignored_nchw_weight_as_input,
117 conv2d_v1_2::get_examples_nchw_weight_as_input());
118 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_weight_as_input,conv2d_v1_2::CreateModel_nchw_weight_as_input)119 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_weight_as_input, conv2d_v1_2::CreateModel_nchw_weight_as_input)
120
121 TEST_F(GeneratedTests, conv2d_v1_2_nchw_weight_as_input_relaxed) {
122 execute(conv2d_v1_2::CreateModel_nchw_weight_as_input_relaxed,
123 conv2d_v1_2::is_ignored_nchw_weight_as_input_relaxed,
124 conv2d_v1_2::get_examples_nchw_weight_as_input_relaxed());
125 }
126
TEST_F(GeneratedTests,conv2d_v1_2_nchw_weight_as_input_quant8)127 TEST_F(GeneratedTests, conv2d_v1_2_nchw_weight_as_input_quant8) {
128 execute(conv2d_v1_2::CreateModel_nchw_weight_as_input_quant8,
129 conv2d_v1_2::is_ignored_nchw_weight_as_input_quant8,
130 conv2d_v1_2::get_examples_nchw_weight_as_input_quant8());
131 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_weight_as_input_quant8,conv2d_v1_2::CreateModel_nchw_weight_as_input_quant8)132 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_weight_as_input_quant8, conv2d_v1_2::CreateModel_nchw_weight_as_input_quant8)
133
134 TEST_F(GeneratedTests, conv2d_v1_2_nchw_weight_as_input_channelQuant8) {
135 execute(conv2d_v1_2::CreateModel_nchw_weight_as_input_channelQuant8,
136 conv2d_v1_2::is_ignored_nchw_weight_as_input_channelQuant8,
137 conv2d_v1_2::get_examples_nchw_weight_as_input_channelQuant8());
138 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_weight_as_input_channelQuant8,conv2d_v1_2::CreateModel_nchw_weight_as_input_channelQuant8)139 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_weight_as_input_channelQuant8, conv2d_v1_2::CreateModel_nchw_weight_as_input_channelQuant8)
140
141 TEST_F(GeneratedTests, conv2d_v1_2_nchw_weight_as_input_float16) {
142 execute(conv2d_v1_2::CreateModel_nchw_weight_as_input_float16,
143 conv2d_v1_2::is_ignored_nchw_weight_as_input_float16,
144 conv2d_v1_2::get_examples_nchw_weight_as_input_float16());
145 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_weight_as_input_float16,conv2d_v1_2::CreateModel_nchw_weight_as_input_float16)146 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_weight_as_input_float16, conv2d_v1_2::CreateModel_nchw_weight_as_input_float16)
147
148 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc) {
149 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc,
150 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc,
151 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc());
152 }
153
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_relaxed)154 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_relaxed) {
155 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_relaxed,
156 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_relaxed,
157 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_relaxed());
158 }
159
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_quant8)160 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_quant8) {
161 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_quant8,
162 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_quant8,
163 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_quant8());
164 }
165
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_channelQuant8)166 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_channelQuant8) {
167 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_channelQuant8,
168 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_channelQuant8,
169 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_channelQuant8());
170 }
171
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_float16)172 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_float16) {
173 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_float16,
174 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_float16,
175 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_float16());
176 }
177
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input)178 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input) {
179 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_weight_as_input,
180 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_weight_as_input,
181 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_weight_as_input());
182 }
183
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_relaxed)184 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_relaxed) {
185 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_weight_as_input_relaxed,
186 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_weight_as_input_relaxed,
187 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_weight_as_input_relaxed());
188 }
189
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_quant8)190 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_quant8) {
191 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_weight_as_input_quant8,
192 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_weight_as_input_quant8,
193 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_weight_as_input_quant8());
194 }
195
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_channelQuant8)196 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_channelQuant8) {
197 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_weight_as_input_channelQuant8,
198 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_weight_as_input_channelQuant8,
199 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_weight_as_input_channelQuant8());
200 }
201
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_float16)202 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_float16) {
203 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_weight_as_input_float16,
204 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_weight_as_input_float16,
205 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_weight_as_input_float16());
206 }
207
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw)208 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw) {
209 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw,
210 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw,
211 conv2d_v1_2::get_examples_dynamic_output_shape_nchw());
212 }
213
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_relaxed)214 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_relaxed) {
215 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_relaxed,
216 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_relaxed,
217 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_relaxed());
218 }
219
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_quant8)220 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_quant8) {
221 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_quant8,
222 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_quant8,
223 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_quant8());
224 }
225
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_channelQuant8)226 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_channelQuant8) {
227 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_channelQuant8,
228 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_channelQuant8,
229 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_channelQuant8());
230 }
231
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_float16)232 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_float16) {
233 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_float16,
234 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_float16,
235 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_float16());
236 }
237
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input)238 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input) {
239 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_weight_as_input,
240 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_weight_as_input,
241 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_weight_as_input());
242 }
243
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_relaxed)244 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_relaxed) {
245 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_weight_as_input_relaxed,
246 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_weight_as_input_relaxed,
247 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_weight_as_input_relaxed());
248 }
249
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_quant8)250 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_quant8) {
251 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_weight_as_input_quant8,
252 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_weight_as_input_quant8,
253 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_weight_as_input_quant8());
254 }
255
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_channelQuant8)256 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_channelQuant8) {
257 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_weight_as_input_channelQuant8,
258 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_weight_as_input_channelQuant8,
259 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_weight_as_input_channelQuant8());
260 }
261
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_float16)262 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_float16) {
263 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_weight_as_input_float16,
264 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_weight_as_input_float16,
265 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_weight_as_input_float16());
266 }
267
TEST_F(GeneratedTests,conv2d_v1_2_nhwc_2)268 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_2) {
269 execute(conv2d_v1_2::CreateModel_nhwc_2,
270 conv2d_v1_2::is_ignored_nhwc_2,
271 conv2d_v1_2::get_examples_nhwc_2());
272 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_2,conv2d_v1_2::CreateModel_nhwc_2)273 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_2, conv2d_v1_2::CreateModel_nhwc_2)
274
275 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_relaxed_2) {
276 execute(conv2d_v1_2::CreateModel_nhwc_relaxed_2,
277 conv2d_v1_2::is_ignored_nhwc_relaxed_2,
278 conv2d_v1_2::get_examples_nhwc_relaxed_2());
279 }
280
TEST_F(GeneratedTests,conv2d_v1_2_nhwc_quant8_2)281 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_quant8_2) {
282 execute(conv2d_v1_2::CreateModel_nhwc_quant8_2,
283 conv2d_v1_2::is_ignored_nhwc_quant8_2,
284 conv2d_v1_2::get_examples_nhwc_quant8_2());
285 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_quant8_2,conv2d_v1_2::CreateModel_nhwc_quant8_2)286 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_quant8_2, conv2d_v1_2::CreateModel_nhwc_quant8_2)
287
288 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_channelQuant8_2) {
289 execute(conv2d_v1_2::CreateModel_nhwc_channelQuant8_2,
290 conv2d_v1_2::is_ignored_nhwc_channelQuant8_2,
291 conv2d_v1_2::get_examples_nhwc_channelQuant8_2());
292 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_channelQuant8_2,conv2d_v1_2::CreateModel_nhwc_channelQuant8_2)293 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_channelQuant8_2, conv2d_v1_2::CreateModel_nhwc_channelQuant8_2)
294
295 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_float16_2) {
296 execute(conv2d_v1_2::CreateModel_nhwc_float16_2,
297 conv2d_v1_2::is_ignored_nhwc_float16_2,
298 conv2d_v1_2::get_examples_nhwc_float16_2());
299 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_float16_2,conv2d_v1_2::CreateModel_nhwc_float16_2)300 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_float16_2, conv2d_v1_2::CreateModel_nhwc_float16_2)
301
302 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_weight_as_input_2) {
303 execute(conv2d_v1_2::CreateModel_nhwc_weight_as_input_2,
304 conv2d_v1_2::is_ignored_nhwc_weight_as_input_2,
305 conv2d_v1_2::get_examples_nhwc_weight_as_input_2());
306 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_weight_as_input_2,conv2d_v1_2::CreateModel_nhwc_weight_as_input_2)307 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_weight_as_input_2, conv2d_v1_2::CreateModel_nhwc_weight_as_input_2)
308
309 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_weight_as_input_relaxed_2) {
310 execute(conv2d_v1_2::CreateModel_nhwc_weight_as_input_relaxed_2,
311 conv2d_v1_2::is_ignored_nhwc_weight_as_input_relaxed_2,
312 conv2d_v1_2::get_examples_nhwc_weight_as_input_relaxed_2());
313 }
314
TEST_F(GeneratedTests,conv2d_v1_2_nhwc_weight_as_input_quant8_2)315 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_weight_as_input_quant8_2) {
316 execute(conv2d_v1_2::CreateModel_nhwc_weight_as_input_quant8_2,
317 conv2d_v1_2::is_ignored_nhwc_weight_as_input_quant8_2,
318 conv2d_v1_2::get_examples_nhwc_weight_as_input_quant8_2());
319 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_weight_as_input_quant8_2,conv2d_v1_2::CreateModel_nhwc_weight_as_input_quant8_2)320 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_weight_as_input_quant8_2, conv2d_v1_2::CreateModel_nhwc_weight_as_input_quant8_2)
321
322 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_weight_as_input_channelQuant8_2) {
323 execute(conv2d_v1_2::CreateModel_nhwc_weight_as_input_channelQuant8_2,
324 conv2d_v1_2::is_ignored_nhwc_weight_as_input_channelQuant8_2,
325 conv2d_v1_2::get_examples_nhwc_weight_as_input_channelQuant8_2());
326 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_weight_as_input_channelQuant8_2,conv2d_v1_2::CreateModel_nhwc_weight_as_input_channelQuant8_2)327 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_weight_as_input_channelQuant8_2, conv2d_v1_2::CreateModel_nhwc_weight_as_input_channelQuant8_2)
328
329 TEST_F(GeneratedTests, conv2d_v1_2_nhwc_weight_as_input_float16_2) {
330 execute(conv2d_v1_2::CreateModel_nhwc_weight_as_input_float16_2,
331 conv2d_v1_2::is_ignored_nhwc_weight_as_input_float16_2,
332 conv2d_v1_2::get_examples_nhwc_weight_as_input_float16_2());
333 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nhwc_weight_as_input_float16_2,conv2d_v1_2::CreateModel_nhwc_weight_as_input_float16_2)334 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_weight_as_input_float16_2, conv2d_v1_2::CreateModel_nhwc_weight_as_input_float16_2)
335
336 TEST_F(GeneratedTests, conv2d_v1_2_nchw_2) {
337 execute(conv2d_v1_2::CreateModel_nchw_2,
338 conv2d_v1_2::is_ignored_nchw_2,
339 conv2d_v1_2::get_examples_nchw_2());
340 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_2,conv2d_v1_2::CreateModel_nchw_2)341 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_2, conv2d_v1_2::CreateModel_nchw_2)
342
343 TEST_F(GeneratedTests, conv2d_v1_2_nchw_relaxed_2) {
344 execute(conv2d_v1_2::CreateModel_nchw_relaxed_2,
345 conv2d_v1_2::is_ignored_nchw_relaxed_2,
346 conv2d_v1_2::get_examples_nchw_relaxed_2());
347 }
348
TEST_F(GeneratedTests,conv2d_v1_2_nchw_quant8_2)349 TEST_F(GeneratedTests, conv2d_v1_2_nchw_quant8_2) {
350 execute(conv2d_v1_2::CreateModel_nchw_quant8_2,
351 conv2d_v1_2::is_ignored_nchw_quant8_2,
352 conv2d_v1_2::get_examples_nchw_quant8_2());
353 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_quant8_2,conv2d_v1_2::CreateModel_nchw_quant8_2)354 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_quant8_2, conv2d_v1_2::CreateModel_nchw_quant8_2)
355
356 TEST_F(GeneratedTests, conv2d_v1_2_nchw_channelQuant8_2) {
357 execute(conv2d_v1_2::CreateModel_nchw_channelQuant8_2,
358 conv2d_v1_2::is_ignored_nchw_channelQuant8_2,
359 conv2d_v1_2::get_examples_nchw_channelQuant8_2());
360 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_channelQuant8_2,conv2d_v1_2::CreateModel_nchw_channelQuant8_2)361 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_channelQuant8_2, conv2d_v1_2::CreateModel_nchw_channelQuant8_2)
362
363 TEST_F(GeneratedTests, conv2d_v1_2_nchw_float16_2) {
364 execute(conv2d_v1_2::CreateModel_nchw_float16_2,
365 conv2d_v1_2::is_ignored_nchw_float16_2,
366 conv2d_v1_2::get_examples_nchw_float16_2());
367 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_float16_2,conv2d_v1_2::CreateModel_nchw_float16_2)368 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_float16_2, conv2d_v1_2::CreateModel_nchw_float16_2)
369
370 TEST_F(GeneratedTests, conv2d_v1_2_nchw_weight_as_input_2) {
371 execute(conv2d_v1_2::CreateModel_nchw_weight_as_input_2,
372 conv2d_v1_2::is_ignored_nchw_weight_as_input_2,
373 conv2d_v1_2::get_examples_nchw_weight_as_input_2());
374 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_weight_as_input_2,conv2d_v1_2::CreateModel_nchw_weight_as_input_2)375 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_weight_as_input_2, conv2d_v1_2::CreateModel_nchw_weight_as_input_2)
376
377 TEST_F(GeneratedTests, conv2d_v1_2_nchw_weight_as_input_relaxed_2) {
378 execute(conv2d_v1_2::CreateModel_nchw_weight_as_input_relaxed_2,
379 conv2d_v1_2::is_ignored_nchw_weight_as_input_relaxed_2,
380 conv2d_v1_2::get_examples_nchw_weight_as_input_relaxed_2());
381 }
382
TEST_F(GeneratedTests,conv2d_v1_2_nchw_weight_as_input_quant8_2)383 TEST_F(GeneratedTests, conv2d_v1_2_nchw_weight_as_input_quant8_2) {
384 execute(conv2d_v1_2::CreateModel_nchw_weight_as_input_quant8_2,
385 conv2d_v1_2::is_ignored_nchw_weight_as_input_quant8_2,
386 conv2d_v1_2::get_examples_nchw_weight_as_input_quant8_2());
387 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_weight_as_input_quant8_2,conv2d_v1_2::CreateModel_nchw_weight_as_input_quant8_2)388 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_weight_as_input_quant8_2, conv2d_v1_2::CreateModel_nchw_weight_as_input_quant8_2)
389
390 TEST_F(GeneratedTests, conv2d_v1_2_nchw_weight_as_input_channelQuant8_2) {
391 execute(conv2d_v1_2::CreateModel_nchw_weight_as_input_channelQuant8_2,
392 conv2d_v1_2::is_ignored_nchw_weight_as_input_channelQuant8_2,
393 conv2d_v1_2::get_examples_nchw_weight_as_input_channelQuant8_2());
394 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_weight_as_input_channelQuant8_2,conv2d_v1_2::CreateModel_nchw_weight_as_input_channelQuant8_2)395 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_weight_as_input_channelQuant8_2, conv2d_v1_2::CreateModel_nchw_weight_as_input_channelQuant8_2)
396
397 TEST_F(GeneratedTests, conv2d_v1_2_nchw_weight_as_input_float16_2) {
398 execute(conv2d_v1_2::CreateModel_nchw_weight_as_input_float16_2,
399 conv2d_v1_2::is_ignored_nchw_weight_as_input_float16_2,
400 conv2d_v1_2::get_examples_nchw_weight_as_input_float16_2());
401 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_nchw_weight_as_input_float16_2,conv2d_v1_2::CreateModel_nchw_weight_as_input_float16_2)402 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_weight_as_input_float16_2, conv2d_v1_2::CreateModel_nchw_weight_as_input_float16_2)
403
404 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_2) {
405 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_2,
406 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_2,
407 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_2());
408 }
409
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_relaxed_2)410 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_relaxed_2) {
411 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_relaxed_2,
412 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_relaxed_2,
413 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_relaxed_2());
414 }
415
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_quant8_2)416 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_quant8_2) {
417 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_quant8_2,
418 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_quant8_2,
419 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_quant8_2());
420 }
421
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_channelQuant8_2)422 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_channelQuant8_2) {
423 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_channelQuant8_2,
424 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_channelQuant8_2,
425 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_channelQuant8_2());
426 }
427
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_float16_2)428 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_float16_2) {
429 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_float16_2,
430 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_float16_2,
431 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_float16_2());
432 }
433
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_2)434 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_2) {
435 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_weight_as_input_2,
436 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_weight_as_input_2,
437 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_weight_as_input_2());
438 }
439
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_relaxed_2)440 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_relaxed_2) {
441 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_weight_as_input_relaxed_2,
442 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_weight_as_input_relaxed_2,
443 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_weight_as_input_relaxed_2());
444 }
445
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_quant8_2)446 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_quant8_2) {
447 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_weight_as_input_quant8_2,
448 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_weight_as_input_quant8_2,
449 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_weight_as_input_quant8_2());
450 }
451
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2)452 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2) {
453 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2,
454 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2,
455 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2());
456 }
457
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_float16_2)458 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nhwc_weight_as_input_float16_2) {
459 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nhwc_weight_as_input_float16_2,
460 conv2d_v1_2::is_ignored_dynamic_output_shape_nhwc_weight_as_input_float16_2,
461 conv2d_v1_2::get_examples_dynamic_output_shape_nhwc_weight_as_input_float16_2());
462 }
463
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_2)464 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_2) {
465 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_2,
466 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_2,
467 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_2());
468 }
469
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_relaxed_2)470 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_relaxed_2) {
471 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_relaxed_2,
472 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_relaxed_2,
473 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_relaxed_2());
474 }
475
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_quant8_2)476 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_quant8_2) {
477 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_quant8_2,
478 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_quant8_2,
479 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_quant8_2());
480 }
481
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_channelQuant8_2)482 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_channelQuant8_2) {
483 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_channelQuant8_2,
484 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_channelQuant8_2,
485 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_channelQuant8_2());
486 }
487
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_float16_2)488 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_float16_2) {
489 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_float16_2,
490 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_float16_2,
491 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_float16_2());
492 }
493
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_2)494 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_2) {
495 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_weight_as_input_2,
496 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_weight_as_input_2,
497 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_weight_as_input_2());
498 }
499
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_relaxed_2)500 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_relaxed_2) {
501 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_weight_as_input_relaxed_2,
502 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_weight_as_input_relaxed_2,
503 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_weight_as_input_relaxed_2());
504 }
505
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_quant8_2)506 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_quant8_2) {
507 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_weight_as_input_quant8_2,
508 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_weight_as_input_quant8_2,
509 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_weight_as_input_quant8_2());
510 }
511
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2)512 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2) {
513 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2,
514 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2,
515 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2());
516 }
517
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_float16_2)518 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_dynamic_output_shape_nchw_weight_as_input_float16_2) {
519 execute(conv2d_v1_2::CreateModel_dynamic_output_shape_nchw_weight_as_input_float16_2,
520 conv2d_v1_2::is_ignored_dynamic_output_shape_nchw_weight_as_input_float16_2,
521 conv2d_v1_2::get_examples_dynamic_output_shape_nchw_weight_as_input_float16_2());
522 }
523
TEST_F(GeneratedTests,conv2d_v1_2_channel_nhwc)524 TEST_F(GeneratedTests, conv2d_v1_2_channel_nhwc) {
525 execute(conv2d_v1_2::CreateModel_channel_nhwc,
526 conv2d_v1_2::is_ignored_channel_nhwc,
527 conv2d_v1_2::get_examples_channel_nhwc());
528 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nhwc,conv2d_v1_2::CreateModel_channel_nhwc)529 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nhwc, conv2d_v1_2::CreateModel_channel_nhwc)
530
531 TEST_F(GeneratedTests, conv2d_v1_2_channel_nhwc_relaxed) {
532 execute(conv2d_v1_2::CreateModel_channel_nhwc_relaxed,
533 conv2d_v1_2::is_ignored_channel_nhwc_relaxed,
534 conv2d_v1_2::get_examples_channel_nhwc_relaxed());
535 }
536
TEST_F(GeneratedTests,conv2d_v1_2_channel_nhwc_quant8)537 TEST_F(GeneratedTests, conv2d_v1_2_channel_nhwc_quant8) {
538 execute(conv2d_v1_2::CreateModel_channel_nhwc_quant8,
539 conv2d_v1_2::is_ignored_channel_nhwc_quant8,
540 conv2d_v1_2::get_examples_channel_nhwc_quant8());
541 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nhwc_quant8,conv2d_v1_2::CreateModel_channel_nhwc_quant8)542 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nhwc_quant8, conv2d_v1_2::CreateModel_channel_nhwc_quant8)
543
544 TEST_F(GeneratedTests, conv2d_v1_2_channel_nhwc_channelQuant8) {
545 execute(conv2d_v1_2::CreateModel_channel_nhwc_channelQuant8,
546 conv2d_v1_2::is_ignored_channel_nhwc_channelQuant8,
547 conv2d_v1_2::get_examples_channel_nhwc_channelQuant8());
548 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nhwc_channelQuant8,conv2d_v1_2::CreateModel_channel_nhwc_channelQuant8)549 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nhwc_channelQuant8, conv2d_v1_2::CreateModel_channel_nhwc_channelQuant8)
550
551 TEST_F(GeneratedTests, conv2d_v1_2_channel_nhwc_float16) {
552 execute(conv2d_v1_2::CreateModel_channel_nhwc_float16,
553 conv2d_v1_2::is_ignored_channel_nhwc_float16,
554 conv2d_v1_2::get_examples_channel_nhwc_float16());
555 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nhwc_float16,conv2d_v1_2::CreateModel_channel_nhwc_float16)556 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nhwc_float16, conv2d_v1_2::CreateModel_channel_nhwc_float16)
557
558 TEST_F(GeneratedTests, conv2d_v1_2_channel_nhwc_weight_as_input) {
559 execute(conv2d_v1_2::CreateModel_channel_nhwc_weight_as_input,
560 conv2d_v1_2::is_ignored_channel_nhwc_weight_as_input,
561 conv2d_v1_2::get_examples_channel_nhwc_weight_as_input());
562 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nhwc_weight_as_input,conv2d_v1_2::CreateModel_channel_nhwc_weight_as_input)563 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nhwc_weight_as_input, conv2d_v1_2::CreateModel_channel_nhwc_weight_as_input)
564
565 TEST_F(GeneratedTests, conv2d_v1_2_channel_nhwc_weight_as_input_relaxed) {
566 execute(conv2d_v1_2::CreateModel_channel_nhwc_weight_as_input_relaxed,
567 conv2d_v1_2::is_ignored_channel_nhwc_weight_as_input_relaxed,
568 conv2d_v1_2::get_examples_channel_nhwc_weight_as_input_relaxed());
569 }
570
TEST_F(GeneratedTests,conv2d_v1_2_channel_nhwc_weight_as_input_quant8)571 TEST_F(GeneratedTests, conv2d_v1_2_channel_nhwc_weight_as_input_quant8) {
572 execute(conv2d_v1_2::CreateModel_channel_nhwc_weight_as_input_quant8,
573 conv2d_v1_2::is_ignored_channel_nhwc_weight_as_input_quant8,
574 conv2d_v1_2::get_examples_channel_nhwc_weight_as_input_quant8());
575 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nhwc_weight_as_input_quant8,conv2d_v1_2::CreateModel_channel_nhwc_weight_as_input_quant8)576 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nhwc_weight_as_input_quant8, conv2d_v1_2::CreateModel_channel_nhwc_weight_as_input_quant8)
577
578 TEST_F(GeneratedTests, conv2d_v1_2_channel_nhwc_weight_as_input_channelQuant8) {
579 execute(conv2d_v1_2::CreateModel_channel_nhwc_weight_as_input_channelQuant8,
580 conv2d_v1_2::is_ignored_channel_nhwc_weight_as_input_channelQuant8,
581 conv2d_v1_2::get_examples_channel_nhwc_weight_as_input_channelQuant8());
582 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nhwc_weight_as_input_channelQuant8,conv2d_v1_2::CreateModel_channel_nhwc_weight_as_input_channelQuant8)583 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nhwc_weight_as_input_channelQuant8, conv2d_v1_2::CreateModel_channel_nhwc_weight_as_input_channelQuant8)
584
585 TEST_F(GeneratedTests, conv2d_v1_2_channel_nhwc_weight_as_input_float16) {
586 execute(conv2d_v1_2::CreateModel_channel_nhwc_weight_as_input_float16,
587 conv2d_v1_2::is_ignored_channel_nhwc_weight_as_input_float16,
588 conv2d_v1_2::get_examples_channel_nhwc_weight_as_input_float16());
589 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nhwc_weight_as_input_float16,conv2d_v1_2::CreateModel_channel_nhwc_weight_as_input_float16)590 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nhwc_weight_as_input_float16, conv2d_v1_2::CreateModel_channel_nhwc_weight_as_input_float16)
591
592 TEST_F(GeneratedTests, conv2d_v1_2_channel_nchw) {
593 execute(conv2d_v1_2::CreateModel_channel_nchw,
594 conv2d_v1_2::is_ignored_channel_nchw,
595 conv2d_v1_2::get_examples_channel_nchw());
596 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nchw,conv2d_v1_2::CreateModel_channel_nchw)597 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nchw, conv2d_v1_2::CreateModel_channel_nchw)
598
599 TEST_F(GeneratedTests, conv2d_v1_2_channel_nchw_relaxed) {
600 execute(conv2d_v1_2::CreateModel_channel_nchw_relaxed,
601 conv2d_v1_2::is_ignored_channel_nchw_relaxed,
602 conv2d_v1_2::get_examples_channel_nchw_relaxed());
603 }
604
TEST_F(GeneratedTests,conv2d_v1_2_channel_nchw_quant8)605 TEST_F(GeneratedTests, conv2d_v1_2_channel_nchw_quant8) {
606 execute(conv2d_v1_2::CreateModel_channel_nchw_quant8,
607 conv2d_v1_2::is_ignored_channel_nchw_quant8,
608 conv2d_v1_2::get_examples_channel_nchw_quant8());
609 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nchw_quant8,conv2d_v1_2::CreateModel_channel_nchw_quant8)610 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nchw_quant8, conv2d_v1_2::CreateModel_channel_nchw_quant8)
611
612 TEST_F(GeneratedTests, conv2d_v1_2_channel_nchw_channelQuant8) {
613 execute(conv2d_v1_2::CreateModel_channel_nchw_channelQuant8,
614 conv2d_v1_2::is_ignored_channel_nchw_channelQuant8,
615 conv2d_v1_2::get_examples_channel_nchw_channelQuant8());
616 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nchw_channelQuant8,conv2d_v1_2::CreateModel_channel_nchw_channelQuant8)617 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nchw_channelQuant8, conv2d_v1_2::CreateModel_channel_nchw_channelQuant8)
618
619 TEST_F(GeneratedTests, conv2d_v1_2_channel_nchw_float16) {
620 execute(conv2d_v1_2::CreateModel_channel_nchw_float16,
621 conv2d_v1_2::is_ignored_channel_nchw_float16,
622 conv2d_v1_2::get_examples_channel_nchw_float16());
623 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nchw_float16,conv2d_v1_2::CreateModel_channel_nchw_float16)624 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nchw_float16, conv2d_v1_2::CreateModel_channel_nchw_float16)
625
626 TEST_F(GeneratedTests, conv2d_v1_2_channel_nchw_weight_as_input) {
627 execute(conv2d_v1_2::CreateModel_channel_nchw_weight_as_input,
628 conv2d_v1_2::is_ignored_channel_nchw_weight_as_input,
629 conv2d_v1_2::get_examples_channel_nchw_weight_as_input());
630 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nchw_weight_as_input,conv2d_v1_2::CreateModel_channel_nchw_weight_as_input)631 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nchw_weight_as_input, conv2d_v1_2::CreateModel_channel_nchw_weight_as_input)
632
633 TEST_F(GeneratedTests, conv2d_v1_2_channel_nchw_weight_as_input_relaxed) {
634 execute(conv2d_v1_2::CreateModel_channel_nchw_weight_as_input_relaxed,
635 conv2d_v1_2::is_ignored_channel_nchw_weight_as_input_relaxed,
636 conv2d_v1_2::get_examples_channel_nchw_weight_as_input_relaxed());
637 }
638
TEST_F(GeneratedTests,conv2d_v1_2_channel_nchw_weight_as_input_quant8)639 TEST_F(GeneratedTests, conv2d_v1_2_channel_nchw_weight_as_input_quant8) {
640 execute(conv2d_v1_2::CreateModel_channel_nchw_weight_as_input_quant8,
641 conv2d_v1_2::is_ignored_channel_nchw_weight_as_input_quant8,
642 conv2d_v1_2::get_examples_channel_nchw_weight_as_input_quant8());
643 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nchw_weight_as_input_quant8,conv2d_v1_2::CreateModel_channel_nchw_weight_as_input_quant8)644 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nchw_weight_as_input_quant8, conv2d_v1_2::CreateModel_channel_nchw_weight_as_input_quant8)
645
646 TEST_F(GeneratedTests, conv2d_v1_2_channel_nchw_weight_as_input_channelQuant8) {
647 execute(conv2d_v1_2::CreateModel_channel_nchw_weight_as_input_channelQuant8,
648 conv2d_v1_2::is_ignored_channel_nchw_weight_as_input_channelQuant8,
649 conv2d_v1_2::get_examples_channel_nchw_weight_as_input_channelQuant8());
650 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nchw_weight_as_input_channelQuant8,conv2d_v1_2::CreateModel_channel_nchw_weight_as_input_channelQuant8)651 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nchw_weight_as_input_channelQuant8, conv2d_v1_2::CreateModel_channel_nchw_weight_as_input_channelQuant8)
652
653 TEST_F(GeneratedTests, conv2d_v1_2_channel_nchw_weight_as_input_float16) {
654 execute(conv2d_v1_2::CreateModel_channel_nchw_weight_as_input_float16,
655 conv2d_v1_2::is_ignored_channel_nchw_weight_as_input_float16,
656 conv2d_v1_2::get_examples_channel_nchw_weight_as_input_float16());
657 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_channel_nchw_weight_as_input_float16,conv2d_v1_2::CreateModel_channel_nchw_weight_as_input_float16)658 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_channel_nchw_weight_as_input_float16, conv2d_v1_2::CreateModel_channel_nchw_weight_as_input_float16)
659
660 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nhwc) {
661 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nhwc,
662 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nhwc,
663 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nhwc());
664 }
665
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nhwc_relaxed)666 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nhwc_relaxed) {
667 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nhwc_relaxed,
668 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nhwc_relaxed,
669 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nhwc_relaxed());
670 }
671
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nhwc_quant8)672 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nhwc_quant8) {
673 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nhwc_quant8,
674 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nhwc_quant8,
675 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nhwc_quant8());
676 }
677
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nhwc_channelQuant8)678 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nhwc_channelQuant8) {
679 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nhwc_channelQuant8,
680 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nhwc_channelQuant8,
681 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nhwc_channelQuant8());
682 }
683
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nhwc_float16)684 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nhwc_float16) {
685 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nhwc_float16,
686 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nhwc_float16,
687 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nhwc_float16());
688 }
689
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nhwc_weight_as_input)690 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nhwc_weight_as_input) {
691 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nhwc_weight_as_input,
692 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nhwc_weight_as_input,
693 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nhwc_weight_as_input());
694 }
695
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nhwc_weight_as_input_relaxed)696 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nhwc_weight_as_input_relaxed) {
697 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nhwc_weight_as_input_relaxed,
698 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nhwc_weight_as_input_relaxed,
699 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nhwc_weight_as_input_relaxed());
700 }
701
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nhwc_weight_as_input_quant8)702 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nhwc_weight_as_input_quant8) {
703 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nhwc_weight_as_input_quant8,
704 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nhwc_weight_as_input_quant8,
705 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nhwc_weight_as_input_quant8());
706 }
707
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nhwc_weight_as_input_channelQuant8)708 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nhwc_weight_as_input_channelQuant8) {
709 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nhwc_weight_as_input_channelQuant8,
710 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nhwc_weight_as_input_channelQuant8,
711 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nhwc_weight_as_input_channelQuant8());
712 }
713
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nhwc_weight_as_input_float16)714 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nhwc_weight_as_input_float16) {
715 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nhwc_weight_as_input_float16,
716 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nhwc_weight_as_input_float16,
717 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nhwc_weight_as_input_float16());
718 }
719
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nchw)720 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nchw) {
721 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nchw,
722 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nchw,
723 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nchw());
724 }
725
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nchw_relaxed)726 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nchw_relaxed) {
727 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nchw_relaxed,
728 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nchw_relaxed,
729 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nchw_relaxed());
730 }
731
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nchw_quant8)732 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nchw_quant8) {
733 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nchw_quant8,
734 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nchw_quant8,
735 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nchw_quant8());
736 }
737
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nchw_channelQuant8)738 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nchw_channelQuant8) {
739 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nchw_channelQuant8,
740 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nchw_channelQuant8,
741 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nchw_channelQuant8());
742 }
743
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nchw_float16)744 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nchw_float16) {
745 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nchw_float16,
746 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nchw_float16,
747 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nchw_float16());
748 }
749
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nchw_weight_as_input)750 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nchw_weight_as_input) {
751 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nchw_weight_as_input,
752 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nchw_weight_as_input,
753 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nchw_weight_as_input());
754 }
755
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nchw_weight_as_input_relaxed)756 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nchw_weight_as_input_relaxed) {
757 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nchw_weight_as_input_relaxed,
758 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nchw_weight_as_input_relaxed,
759 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nchw_weight_as_input_relaxed());
760 }
761
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nchw_weight_as_input_quant8)762 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nchw_weight_as_input_quant8) {
763 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nchw_weight_as_input_quant8,
764 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nchw_weight_as_input_quant8,
765 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nchw_weight_as_input_quant8());
766 }
767
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nchw_weight_as_input_channelQuant8)768 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nchw_weight_as_input_channelQuant8) {
769 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nchw_weight_as_input_channelQuant8,
770 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nchw_weight_as_input_channelQuant8,
771 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nchw_weight_as_input_channelQuant8());
772 }
773
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_channel_dynamic_output_shape_nchw_weight_as_input_float16)774 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_channel_dynamic_output_shape_nchw_weight_as_input_float16) {
775 execute(conv2d_v1_2::CreateModel_channel_dynamic_output_shape_nchw_weight_as_input_float16,
776 conv2d_v1_2::is_ignored_channel_dynamic_output_shape_nchw_weight_as_input_float16,
777 conv2d_v1_2::get_examples_channel_dynamic_output_shape_nchw_weight_as_input_float16());
778 }
779
TEST_F(GeneratedTests,conv2d_v1_2_large_nhwc)780 TEST_F(GeneratedTests, conv2d_v1_2_large_nhwc) {
781 execute(conv2d_v1_2::CreateModel_large_nhwc,
782 conv2d_v1_2::is_ignored_large_nhwc,
783 conv2d_v1_2::get_examples_large_nhwc());
784 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nhwc,conv2d_v1_2::CreateModel_large_nhwc)785 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nhwc, conv2d_v1_2::CreateModel_large_nhwc)
786
787 TEST_F(GeneratedTests, conv2d_v1_2_large_nhwc_relaxed) {
788 execute(conv2d_v1_2::CreateModel_large_nhwc_relaxed,
789 conv2d_v1_2::is_ignored_large_nhwc_relaxed,
790 conv2d_v1_2::get_examples_large_nhwc_relaxed());
791 }
792
TEST_F(GeneratedTests,conv2d_v1_2_large_nhwc_quant8)793 TEST_F(GeneratedTests, conv2d_v1_2_large_nhwc_quant8) {
794 execute(conv2d_v1_2::CreateModel_large_nhwc_quant8,
795 conv2d_v1_2::is_ignored_large_nhwc_quant8,
796 conv2d_v1_2::get_examples_large_nhwc_quant8());
797 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nhwc_quant8,conv2d_v1_2::CreateModel_large_nhwc_quant8)798 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nhwc_quant8, conv2d_v1_2::CreateModel_large_nhwc_quant8)
799
800 TEST_F(GeneratedTests, conv2d_v1_2_large_nhwc_channelQuant8) {
801 execute(conv2d_v1_2::CreateModel_large_nhwc_channelQuant8,
802 conv2d_v1_2::is_ignored_large_nhwc_channelQuant8,
803 conv2d_v1_2::get_examples_large_nhwc_channelQuant8());
804 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nhwc_channelQuant8,conv2d_v1_2::CreateModel_large_nhwc_channelQuant8)805 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nhwc_channelQuant8, conv2d_v1_2::CreateModel_large_nhwc_channelQuant8)
806
807 TEST_F(GeneratedTests, conv2d_v1_2_large_nhwc_channelQuant8_2) {
808 execute(conv2d_v1_2::CreateModel_large_nhwc_channelQuant8_2,
809 conv2d_v1_2::is_ignored_large_nhwc_channelQuant8_2,
810 conv2d_v1_2::get_examples_large_nhwc_channelQuant8_2());
811 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nhwc_channelQuant8_2,conv2d_v1_2::CreateModel_large_nhwc_channelQuant8_2)812 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nhwc_channelQuant8_2, conv2d_v1_2::CreateModel_large_nhwc_channelQuant8_2)
813
814 TEST_F(GeneratedTests, conv2d_v1_2_large_nhwc_float16) {
815 execute(conv2d_v1_2::CreateModel_large_nhwc_float16,
816 conv2d_v1_2::is_ignored_large_nhwc_float16,
817 conv2d_v1_2::get_examples_large_nhwc_float16());
818 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nhwc_float16,conv2d_v1_2::CreateModel_large_nhwc_float16)819 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nhwc_float16, conv2d_v1_2::CreateModel_large_nhwc_float16)
820
821 TEST_F(GeneratedTests, conv2d_v1_2_large_nhwc_weight_as_input) {
822 execute(conv2d_v1_2::CreateModel_large_nhwc_weight_as_input,
823 conv2d_v1_2::is_ignored_large_nhwc_weight_as_input,
824 conv2d_v1_2::get_examples_large_nhwc_weight_as_input());
825 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nhwc_weight_as_input,conv2d_v1_2::CreateModel_large_nhwc_weight_as_input)826 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nhwc_weight_as_input, conv2d_v1_2::CreateModel_large_nhwc_weight_as_input)
827
828 TEST_F(GeneratedTests, conv2d_v1_2_large_nhwc_weight_as_input_relaxed) {
829 execute(conv2d_v1_2::CreateModel_large_nhwc_weight_as_input_relaxed,
830 conv2d_v1_2::is_ignored_large_nhwc_weight_as_input_relaxed,
831 conv2d_v1_2::get_examples_large_nhwc_weight_as_input_relaxed());
832 }
833
TEST_F(GeneratedTests,conv2d_v1_2_large_nhwc_weight_as_input_quant8)834 TEST_F(GeneratedTests, conv2d_v1_2_large_nhwc_weight_as_input_quant8) {
835 execute(conv2d_v1_2::CreateModel_large_nhwc_weight_as_input_quant8,
836 conv2d_v1_2::is_ignored_large_nhwc_weight_as_input_quant8,
837 conv2d_v1_2::get_examples_large_nhwc_weight_as_input_quant8());
838 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nhwc_weight_as_input_quant8,conv2d_v1_2::CreateModel_large_nhwc_weight_as_input_quant8)839 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nhwc_weight_as_input_quant8, conv2d_v1_2::CreateModel_large_nhwc_weight_as_input_quant8)
840
841 TEST_F(GeneratedTests, conv2d_v1_2_large_nhwc_weight_as_input_channelQuant8) {
842 execute(conv2d_v1_2::CreateModel_large_nhwc_weight_as_input_channelQuant8,
843 conv2d_v1_2::is_ignored_large_nhwc_weight_as_input_channelQuant8,
844 conv2d_v1_2::get_examples_large_nhwc_weight_as_input_channelQuant8());
845 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nhwc_weight_as_input_channelQuant8,conv2d_v1_2::CreateModel_large_nhwc_weight_as_input_channelQuant8)846 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nhwc_weight_as_input_channelQuant8, conv2d_v1_2::CreateModel_large_nhwc_weight_as_input_channelQuant8)
847
848 TEST_F(GeneratedTests, conv2d_v1_2_large_nhwc_weight_as_input_channelQuant8_2) {
849 execute(conv2d_v1_2::CreateModel_large_nhwc_weight_as_input_channelQuant8_2,
850 conv2d_v1_2::is_ignored_large_nhwc_weight_as_input_channelQuant8_2,
851 conv2d_v1_2::get_examples_large_nhwc_weight_as_input_channelQuant8_2());
852 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nhwc_weight_as_input_channelQuant8_2,conv2d_v1_2::CreateModel_large_nhwc_weight_as_input_channelQuant8_2)853 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nhwc_weight_as_input_channelQuant8_2, conv2d_v1_2::CreateModel_large_nhwc_weight_as_input_channelQuant8_2)
854
855 TEST_F(GeneratedTests, conv2d_v1_2_large_nhwc_weight_as_input_float16) {
856 execute(conv2d_v1_2::CreateModel_large_nhwc_weight_as_input_float16,
857 conv2d_v1_2::is_ignored_large_nhwc_weight_as_input_float16,
858 conv2d_v1_2::get_examples_large_nhwc_weight_as_input_float16());
859 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nhwc_weight_as_input_float16,conv2d_v1_2::CreateModel_large_nhwc_weight_as_input_float16)860 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nhwc_weight_as_input_float16, conv2d_v1_2::CreateModel_large_nhwc_weight_as_input_float16)
861
862 TEST_F(GeneratedTests, conv2d_v1_2_large_nchw) {
863 execute(conv2d_v1_2::CreateModel_large_nchw,
864 conv2d_v1_2::is_ignored_large_nchw,
865 conv2d_v1_2::get_examples_large_nchw());
866 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nchw,conv2d_v1_2::CreateModel_large_nchw)867 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nchw, conv2d_v1_2::CreateModel_large_nchw)
868
869 TEST_F(GeneratedTests, conv2d_v1_2_large_nchw_relaxed) {
870 execute(conv2d_v1_2::CreateModel_large_nchw_relaxed,
871 conv2d_v1_2::is_ignored_large_nchw_relaxed,
872 conv2d_v1_2::get_examples_large_nchw_relaxed());
873 }
874
TEST_F(GeneratedTests,conv2d_v1_2_large_nchw_quant8)875 TEST_F(GeneratedTests, conv2d_v1_2_large_nchw_quant8) {
876 execute(conv2d_v1_2::CreateModel_large_nchw_quant8,
877 conv2d_v1_2::is_ignored_large_nchw_quant8,
878 conv2d_v1_2::get_examples_large_nchw_quant8());
879 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nchw_quant8,conv2d_v1_2::CreateModel_large_nchw_quant8)880 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nchw_quant8, conv2d_v1_2::CreateModel_large_nchw_quant8)
881
882 TEST_F(GeneratedTests, conv2d_v1_2_large_nchw_channelQuant8) {
883 execute(conv2d_v1_2::CreateModel_large_nchw_channelQuant8,
884 conv2d_v1_2::is_ignored_large_nchw_channelQuant8,
885 conv2d_v1_2::get_examples_large_nchw_channelQuant8());
886 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nchw_channelQuant8,conv2d_v1_2::CreateModel_large_nchw_channelQuant8)887 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nchw_channelQuant8, conv2d_v1_2::CreateModel_large_nchw_channelQuant8)
888
889 TEST_F(GeneratedTests, conv2d_v1_2_large_nchw_channelQuant8_2) {
890 execute(conv2d_v1_2::CreateModel_large_nchw_channelQuant8_2,
891 conv2d_v1_2::is_ignored_large_nchw_channelQuant8_2,
892 conv2d_v1_2::get_examples_large_nchw_channelQuant8_2());
893 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nchw_channelQuant8_2,conv2d_v1_2::CreateModel_large_nchw_channelQuant8_2)894 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nchw_channelQuant8_2, conv2d_v1_2::CreateModel_large_nchw_channelQuant8_2)
895
896 TEST_F(GeneratedTests, conv2d_v1_2_large_nchw_float16) {
897 execute(conv2d_v1_2::CreateModel_large_nchw_float16,
898 conv2d_v1_2::is_ignored_large_nchw_float16,
899 conv2d_v1_2::get_examples_large_nchw_float16());
900 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nchw_float16,conv2d_v1_2::CreateModel_large_nchw_float16)901 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nchw_float16, conv2d_v1_2::CreateModel_large_nchw_float16)
902
903 TEST_F(GeneratedTests, conv2d_v1_2_large_nchw_weight_as_input) {
904 execute(conv2d_v1_2::CreateModel_large_nchw_weight_as_input,
905 conv2d_v1_2::is_ignored_large_nchw_weight_as_input,
906 conv2d_v1_2::get_examples_large_nchw_weight_as_input());
907 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nchw_weight_as_input,conv2d_v1_2::CreateModel_large_nchw_weight_as_input)908 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nchw_weight_as_input, conv2d_v1_2::CreateModel_large_nchw_weight_as_input)
909
910 TEST_F(GeneratedTests, conv2d_v1_2_large_nchw_weight_as_input_relaxed) {
911 execute(conv2d_v1_2::CreateModel_large_nchw_weight_as_input_relaxed,
912 conv2d_v1_2::is_ignored_large_nchw_weight_as_input_relaxed,
913 conv2d_v1_2::get_examples_large_nchw_weight_as_input_relaxed());
914 }
915
TEST_F(GeneratedTests,conv2d_v1_2_large_nchw_weight_as_input_quant8)916 TEST_F(GeneratedTests, conv2d_v1_2_large_nchw_weight_as_input_quant8) {
917 execute(conv2d_v1_2::CreateModel_large_nchw_weight_as_input_quant8,
918 conv2d_v1_2::is_ignored_large_nchw_weight_as_input_quant8,
919 conv2d_v1_2::get_examples_large_nchw_weight_as_input_quant8());
920 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nchw_weight_as_input_quant8,conv2d_v1_2::CreateModel_large_nchw_weight_as_input_quant8)921 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nchw_weight_as_input_quant8, conv2d_v1_2::CreateModel_large_nchw_weight_as_input_quant8)
922
923 TEST_F(GeneratedTests, conv2d_v1_2_large_nchw_weight_as_input_channelQuant8) {
924 execute(conv2d_v1_2::CreateModel_large_nchw_weight_as_input_channelQuant8,
925 conv2d_v1_2::is_ignored_large_nchw_weight_as_input_channelQuant8,
926 conv2d_v1_2::get_examples_large_nchw_weight_as_input_channelQuant8());
927 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nchw_weight_as_input_channelQuant8,conv2d_v1_2::CreateModel_large_nchw_weight_as_input_channelQuant8)928 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nchw_weight_as_input_channelQuant8, conv2d_v1_2::CreateModel_large_nchw_weight_as_input_channelQuant8)
929
930 TEST_F(GeneratedTests, conv2d_v1_2_large_nchw_weight_as_input_channelQuant8_2) {
931 execute(conv2d_v1_2::CreateModel_large_nchw_weight_as_input_channelQuant8_2,
932 conv2d_v1_2::is_ignored_large_nchw_weight_as_input_channelQuant8_2,
933 conv2d_v1_2::get_examples_large_nchw_weight_as_input_channelQuant8_2());
934 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nchw_weight_as_input_channelQuant8_2,conv2d_v1_2::CreateModel_large_nchw_weight_as_input_channelQuant8_2)935 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nchw_weight_as_input_channelQuant8_2, conv2d_v1_2::CreateModel_large_nchw_weight_as_input_channelQuant8_2)
936
937 TEST_F(GeneratedTests, conv2d_v1_2_large_nchw_weight_as_input_float16) {
938 execute(conv2d_v1_2::CreateModel_large_nchw_weight_as_input_float16,
939 conv2d_v1_2::is_ignored_large_nchw_weight_as_input_float16,
940 conv2d_v1_2::get_examples_large_nchw_weight_as_input_float16());
941 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_large_nchw_weight_as_input_float16,conv2d_v1_2::CreateModel_large_nchw_weight_as_input_float16)942 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_large_nchw_weight_as_input_float16, conv2d_v1_2::CreateModel_large_nchw_weight_as_input_float16)
943
944 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nhwc) {
945 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nhwc,
946 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nhwc,
947 conv2d_v1_2::get_examples_large_dynamic_output_shape_nhwc());
948 }
949
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nhwc_relaxed)950 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nhwc_relaxed) {
951 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nhwc_relaxed,
952 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nhwc_relaxed,
953 conv2d_v1_2::get_examples_large_dynamic_output_shape_nhwc_relaxed());
954 }
955
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nhwc_quant8)956 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nhwc_quant8) {
957 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nhwc_quant8,
958 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nhwc_quant8,
959 conv2d_v1_2::get_examples_large_dynamic_output_shape_nhwc_quant8());
960 }
961
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nhwc_channelQuant8)962 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nhwc_channelQuant8) {
963 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nhwc_channelQuant8,
964 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nhwc_channelQuant8,
965 conv2d_v1_2::get_examples_large_dynamic_output_shape_nhwc_channelQuant8());
966 }
967
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nhwc_channelQuant8_2)968 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nhwc_channelQuant8_2) {
969 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nhwc_channelQuant8_2,
970 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nhwc_channelQuant8_2,
971 conv2d_v1_2::get_examples_large_dynamic_output_shape_nhwc_channelQuant8_2());
972 }
973
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nhwc_float16)974 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nhwc_float16) {
975 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nhwc_float16,
976 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nhwc_float16,
977 conv2d_v1_2::get_examples_large_dynamic_output_shape_nhwc_float16());
978 }
979
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nhwc_weight_as_input)980 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nhwc_weight_as_input) {
981 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nhwc_weight_as_input,
982 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nhwc_weight_as_input,
983 conv2d_v1_2::get_examples_large_dynamic_output_shape_nhwc_weight_as_input());
984 }
985
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nhwc_weight_as_input_relaxed)986 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nhwc_weight_as_input_relaxed) {
987 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nhwc_weight_as_input_relaxed,
988 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nhwc_weight_as_input_relaxed,
989 conv2d_v1_2::get_examples_large_dynamic_output_shape_nhwc_weight_as_input_relaxed());
990 }
991
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nhwc_weight_as_input_quant8)992 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nhwc_weight_as_input_quant8) {
993 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nhwc_weight_as_input_quant8,
994 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nhwc_weight_as_input_quant8,
995 conv2d_v1_2::get_examples_large_dynamic_output_shape_nhwc_weight_as_input_quant8());
996 }
997
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8)998 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8) {
999 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8,
1000 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8,
1001 conv2d_v1_2::get_examples_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8());
1002 }
1003
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2)1004 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2) {
1005 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2,
1006 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2,
1007 conv2d_v1_2::get_examples_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2());
1008 }
1009
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nhwc_weight_as_input_float16)1010 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nhwc_weight_as_input_float16) {
1011 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nhwc_weight_as_input_float16,
1012 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nhwc_weight_as_input_float16,
1013 conv2d_v1_2::get_examples_large_dynamic_output_shape_nhwc_weight_as_input_float16());
1014 }
1015
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nchw)1016 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nchw) {
1017 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nchw,
1018 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nchw,
1019 conv2d_v1_2::get_examples_large_dynamic_output_shape_nchw());
1020 }
1021
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nchw_relaxed)1022 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nchw_relaxed) {
1023 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nchw_relaxed,
1024 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nchw_relaxed,
1025 conv2d_v1_2::get_examples_large_dynamic_output_shape_nchw_relaxed());
1026 }
1027
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nchw_quant8)1028 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nchw_quant8) {
1029 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nchw_quant8,
1030 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nchw_quant8,
1031 conv2d_v1_2::get_examples_large_dynamic_output_shape_nchw_quant8());
1032 }
1033
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nchw_channelQuant8)1034 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nchw_channelQuant8) {
1035 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nchw_channelQuant8,
1036 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nchw_channelQuant8,
1037 conv2d_v1_2::get_examples_large_dynamic_output_shape_nchw_channelQuant8());
1038 }
1039
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nchw_channelQuant8_2)1040 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nchw_channelQuant8_2) {
1041 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nchw_channelQuant8_2,
1042 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nchw_channelQuant8_2,
1043 conv2d_v1_2::get_examples_large_dynamic_output_shape_nchw_channelQuant8_2());
1044 }
1045
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nchw_float16)1046 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nchw_float16) {
1047 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nchw_float16,
1048 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nchw_float16,
1049 conv2d_v1_2::get_examples_large_dynamic_output_shape_nchw_float16());
1050 }
1051
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nchw_weight_as_input)1052 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nchw_weight_as_input) {
1053 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nchw_weight_as_input,
1054 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nchw_weight_as_input,
1055 conv2d_v1_2::get_examples_large_dynamic_output_shape_nchw_weight_as_input());
1056 }
1057
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nchw_weight_as_input_relaxed)1058 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nchw_weight_as_input_relaxed) {
1059 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nchw_weight_as_input_relaxed,
1060 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nchw_weight_as_input_relaxed,
1061 conv2d_v1_2::get_examples_large_dynamic_output_shape_nchw_weight_as_input_relaxed());
1062 }
1063
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nchw_weight_as_input_quant8)1064 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nchw_weight_as_input_quant8) {
1065 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nchw_weight_as_input_quant8,
1066 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nchw_weight_as_input_quant8,
1067 conv2d_v1_2::get_examples_large_dynamic_output_shape_nchw_weight_as_input_quant8());
1068 }
1069
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8)1070 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8) {
1071 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8,
1072 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8,
1073 conv2d_v1_2::get_examples_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8());
1074 }
1075
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2)1076 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2) {
1077 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2,
1078 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2,
1079 conv2d_v1_2::get_examples_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2());
1080 }
1081
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_large_dynamic_output_shape_nchw_weight_as_input_float16)1082 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_large_dynamic_output_shape_nchw_weight_as_input_float16) {
1083 execute(conv2d_v1_2::CreateModel_large_dynamic_output_shape_nchw_weight_as_input_float16,
1084 conv2d_v1_2::is_ignored_large_dynamic_output_shape_nchw_weight_as_input_float16,
1085 conv2d_v1_2::get_examples_large_dynamic_output_shape_nchw_weight_as_input_float16());
1086 }
1087
TEST_F(GeneratedTests,conv2d_v1_2_1_H3_W2_SAME_nhwc)1088 TEST_F(GeneratedTests, conv2d_v1_2_1_H3_W2_SAME_nhwc) {
1089 execute(conv2d_v1_2::CreateModel_1_H3_W2_SAME_nhwc,
1090 conv2d_v1_2::is_ignored_1_H3_W2_SAME_nhwc,
1091 conv2d_v1_2::get_examples_1_H3_W2_SAME_nhwc());
1092 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_1_H3_W2_SAME_nhwc,conv2d_v1_2::CreateModel_1_H3_W2_SAME_nhwc)1093 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_1_H3_W2_SAME_nhwc, conv2d_v1_2::CreateModel_1_H3_W2_SAME_nhwc)
1094
1095 TEST_F(GeneratedTests, conv2d_v1_2_1_H3_W2_SAME_nhwc_relaxed) {
1096 execute(conv2d_v1_2::CreateModel_1_H3_W2_SAME_nhwc_relaxed,
1097 conv2d_v1_2::is_ignored_1_H3_W2_SAME_nhwc_relaxed,
1098 conv2d_v1_2::get_examples_1_H3_W2_SAME_nhwc_relaxed());
1099 }
1100
TEST_F(GeneratedTests,conv2d_v1_2_1_H3_W2_SAME_nhwc_float16)1101 TEST_F(GeneratedTests, conv2d_v1_2_1_H3_W2_SAME_nhwc_float16) {
1102 execute(conv2d_v1_2::CreateModel_1_H3_W2_SAME_nhwc_float16,
1103 conv2d_v1_2::is_ignored_1_H3_W2_SAME_nhwc_float16,
1104 conv2d_v1_2::get_examples_1_H3_W2_SAME_nhwc_float16());
1105 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_1_H3_W2_SAME_nhwc_float16,conv2d_v1_2::CreateModel_1_H3_W2_SAME_nhwc_float16)1106 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_1_H3_W2_SAME_nhwc_float16, conv2d_v1_2::CreateModel_1_H3_W2_SAME_nhwc_float16)
1107
1108 TEST_F(GeneratedTests, conv2d_v1_2_1_H3_W2_SAME_nchw) {
1109 execute(conv2d_v1_2::CreateModel_1_H3_W2_SAME_nchw,
1110 conv2d_v1_2::is_ignored_1_H3_W2_SAME_nchw,
1111 conv2d_v1_2::get_examples_1_H3_W2_SAME_nchw());
1112 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_1_H3_W2_SAME_nchw,conv2d_v1_2::CreateModel_1_H3_W2_SAME_nchw)1113 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_1_H3_W2_SAME_nchw, conv2d_v1_2::CreateModel_1_H3_W2_SAME_nchw)
1114
1115 TEST_F(GeneratedTests, conv2d_v1_2_1_H3_W2_SAME_nchw_relaxed) {
1116 execute(conv2d_v1_2::CreateModel_1_H3_W2_SAME_nchw_relaxed,
1117 conv2d_v1_2::is_ignored_1_H3_W2_SAME_nchw_relaxed,
1118 conv2d_v1_2::get_examples_1_H3_W2_SAME_nchw_relaxed());
1119 }
1120
TEST_F(GeneratedTests,conv2d_v1_2_1_H3_W2_SAME_nchw_float16)1121 TEST_F(GeneratedTests, conv2d_v1_2_1_H3_W2_SAME_nchw_float16) {
1122 execute(conv2d_v1_2::CreateModel_1_H3_W2_SAME_nchw_float16,
1123 conv2d_v1_2::is_ignored_1_H3_W2_SAME_nchw_float16,
1124 conv2d_v1_2::get_examples_1_H3_W2_SAME_nchw_float16());
1125 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_1_H3_W2_SAME_nchw_float16,conv2d_v1_2::CreateModel_1_H3_W2_SAME_nchw_float16)1126 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_1_H3_W2_SAME_nchw_float16, conv2d_v1_2::CreateModel_1_H3_W2_SAME_nchw_float16)
1127
1128 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_1_H3_W2_SAME_dynamic_output_shape_nhwc) {
1129 execute(conv2d_v1_2::CreateModel_1_H3_W2_SAME_dynamic_output_shape_nhwc,
1130 conv2d_v1_2::is_ignored_1_H3_W2_SAME_dynamic_output_shape_nhwc,
1131 conv2d_v1_2::get_examples_1_H3_W2_SAME_dynamic_output_shape_nhwc());
1132 }
1133
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_1_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed)1134 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_1_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed) {
1135 execute(conv2d_v1_2::CreateModel_1_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed,
1136 conv2d_v1_2::is_ignored_1_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed,
1137 conv2d_v1_2::get_examples_1_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed());
1138 }
1139
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_1_H3_W2_SAME_dynamic_output_shape_nhwc_float16)1140 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_1_H3_W2_SAME_dynamic_output_shape_nhwc_float16) {
1141 execute(conv2d_v1_2::CreateModel_1_H3_W2_SAME_dynamic_output_shape_nhwc_float16,
1142 conv2d_v1_2::is_ignored_1_H3_W2_SAME_dynamic_output_shape_nhwc_float16,
1143 conv2d_v1_2::get_examples_1_H3_W2_SAME_dynamic_output_shape_nhwc_float16());
1144 }
1145
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_1_H3_W2_SAME_dynamic_output_shape_nchw)1146 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_1_H3_W2_SAME_dynamic_output_shape_nchw) {
1147 execute(conv2d_v1_2::CreateModel_1_H3_W2_SAME_dynamic_output_shape_nchw,
1148 conv2d_v1_2::is_ignored_1_H3_W2_SAME_dynamic_output_shape_nchw,
1149 conv2d_v1_2::get_examples_1_H3_W2_SAME_dynamic_output_shape_nchw());
1150 }
1151
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_1_H3_W2_SAME_dynamic_output_shape_nchw_relaxed)1152 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_1_H3_W2_SAME_dynamic_output_shape_nchw_relaxed) {
1153 execute(conv2d_v1_2::CreateModel_1_H3_W2_SAME_dynamic_output_shape_nchw_relaxed,
1154 conv2d_v1_2::is_ignored_1_H3_W2_SAME_dynamic_output_shape_nchw_relaxed,
1155 conv2d_v1_2::get_examples_1_H3_W2_SAME_dynamic_output_shape_nchw_relaxed());
1156 }
1157
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_1_H3_W2_SAME_dynamic_output_shape_nchw_float16)1158 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_1_H3_W2_SAME_dynamic_output_shape_nchw_float16) {
1159 execute(conv2d_v1_2::CreateModel_1_H3_W2_SAME_dynamic_output_shape_nchw_float16,
1160 conv2d_v1_2::is_ignored_1_H3_W2_SAME_dynamic_output_shape_nchw_float16,
1161 conv2d_v1_2::get_examples_1_H3_W2_SAME_dynamic_output_shape_nchw_float16());
1162 }
1163
TEST_F(GeneratedTests,conv2d_v1_2_1_H3_W2_VALID_nhwc)1164 TEST_F(GeneratedTests, conv2d_v1_2_1_H3_W2_VALID_nhwc) {
1165 execute(conv2d_v1_2::CreateModel_1_H3_W2_VALID_nhwc,
1166 conv2d_v1_2::is_ignored_1_H3_W2_VALID_nhwc,
1167 conv2d_v1_2::get_examples_1_H3_W2_VALID_nhwc());
1168 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_1_H3_W2_VALID_nhwc,conv2d_v1_2::CreateModel_1_H3_W2_VALID_nhwc)1169 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_1_H3_W2_VALID_nhwc, conv2d_v1_2::CreateModel_1_H3_W2_VALID_nhwc)
1170
1171 TEST_F(GeneratedTests, conv2d_v1_2_1_H3_W2_VALID_nhwc_relaxed) {
1172 execute(conv2d_v1_2::CreateModel_1_H3_W2_VALID_nhwc_relaxed,
1173 conv2d_v1_2::is_ignored_1_H3_W2_VALID_nhwc_relaxed,
1174 conv2d_v1_2::get_examples_1_H3_W2_VALID_nhwc_relaxed());
1175 }
1176
TEST_F(GeneratedTests,conv2d_v1_2_1_H3_W2_VALID_nhwc_float16)1177 TEST_F(GeneratedTests, conv2d_v1_2_1_H3_W2_VALID_nhwc_float16) {
1178 execute(conv2d_v1_2::CreateModel_1_H3_W2_VALID_nhwc_float16,
1179 conv2d_v1_2::is_ignored_1_H3_W2_VALID_nhwc_float16,
1180 conv2d_v1_2::get_examples_1_H3_W2_VALID_nhwc_float16());
1181 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_1_H3_W2_VALID_nhwc_float16,conv2d_v1_2::CreateModel_1_H3_W2_VALID_nhwc_float16)1182 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_1_H3_W2_VALID_nhwc_float16, conv2d_v1_2::CreateModel_1_H3_W2_VALID_nhwc_float16)
1183
1184 TEST_F(GeneratedTests, conv2d_v1_2_1_H3_W2_VALID_nchw) {
1185 execute(conv2d_v1_2::CreateModel_1_H3_W2_VALID_nchw,
1186 conv2d_v1_2::is_ignored_1_H3_W2_VALID_nchw,
1187 conv2d_v1_2::get_examples_1_H3_W2_VALID_nchw());
1188 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_1_H3_W2_VALID_nchw,conv2d_v1_2::CreateModel_1_H3_W2_VALID_nchw)1189 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_1_H3_W2_VALID_nchw, conv2d_v1_2::CreateModel_1_H3_W2_VALID_nchw)
1190
1191 TEST_F(GeneratedTests, conv2d_v1_2_1_H3_W2_VALID_nchw_relaxed) {
1192 execute(conv2d_v1_2::CreateModel_1_H3_W2_VALID_nchw_relaxed,
1193 conv2d_v1_2::is_ignored_1_H3_W2_VALID_nchw_relaxed,
1194 conv2d_v1_2::get_examples_1_H3_W2_VALID_nchw_relaxed());
1195 }
1196
TEST_F(GeneratedTests,conv2d_v1_2_1_H3_W2_VALID_nchw_float16)1197 TEST_F(GeneratedTests, conv2d_v1_2_1_H3_W2_VALID_nchw_float16) {
1198 execute(conv2d_v1_2::CreateModel_1_H3_W2_VALID_nchw_float16,
1199 conv2d_v1_2::is_ignored_1_H3_W2_VALID_nchw_float16,
1200 conv2d_v1_2::get_examples_1_H3_W2_VALID_nchw_float16());
1201 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_1_H3_W2_VALID_nchw_float16,conv2d_v1_2::CreateModel_1_H3_W2_VALID_nchw_float16)1202 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_1_H3_W2_VALID_nchw_float16, conv2d_v1_2::CreateModel_1_H3_W2_VALID_nchw_float16)
1203
1204 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_1_H3_W2_VALID_dynamic_output_shape_nhwc) {
1205 execute(conv2d_v1_2::CreateModel_1_H3_W2_VALID_dynamic_output_shape_nhwc,
1206 conv2d_v1_2::is_ignored_1_H3_W2_VALID_dynamic_output_shape_nhwc,
1207 conv2d_v1_2::get_examples_1_H3_W2_VALID_dynamic_output_shape_nhwc());
1208 }
1209
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_1_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed)1210 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_1_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed) {
1211 execute(conv2d_v1_2::CreateModel_1_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed,
1212 conv2d_v1_2::is_ignored_1_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed,
1213 conv2d_v1_2::get_examples_1_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed());
1214 }
1215
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_1_H3_W2_VALID_dynamic_output_shape_nhwc_float16)1216 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_1_H3_W2_VALID_dynamic_output_shape_nhwc_float16) {
1217 execute(conv2d_v1_2::CreateModel_1_H3_W2_VALID_dynamic_output_shape_nhwc_float16,
1218 conv2d_v1_2::is_ignored_1_H3_W2_VALID_dynamic_output_shape_nhwc_float16,
1219 conv2d_v1_2::get_examples_1_H3_W2_VALID_dynamic_output_shape_nhwc_float16());
1220 }
1221
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_1_H3_W2_VALID_dynamic_output_shape_nchw)1222 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_1_H3_W2_VALID_dynamic_output_shape_nchw) {
1223 execute(conv2d_v1_2::CreateModel_1_H3_W2_VALID_dynamic_output_shape_nchw,
1224 conv2d_v1_2::is_ignored_1_H3_W2_VALID_dynamic_output_shape_nchw,
1225 conv2d_v1_2::get_examples_1_H3_W2_VALID_dynamic_output_shape_nchw());
1226 }
1227
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_1_H3_W2_VALID_dynamic_output_shape_nchw_relaxed)1228 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_1_H3_W2_VALID_dynamic_output_shape_nchw_relaxed) {
1229 execute(conv2d_v1_2::CreateModel_1_H3_W2_VALID_dynamic_output_shape_nchw_relaxed,
1230 conv2d_v1_2::is_ignored_1_H3_W2_VALID_dynamic_output_shape_nchw_relaxed,
1231 conv2d_v1_2::get_examples_1_H3_W2_VALID_dynamic_output_shape_nchw_relaxed());
1232 }
1233
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_1_H3_W2_VALID_dynamic_output_shape_nchw_float16)1234 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_1_H3_W2_VALID_dynamic_output_shape_nchw_float16) {
1235 execute(conv2d_v1_2::CreateModel_1_H3_W2_VALID_dynamic_output_shape_nchw_float16,
1236 conv2d_v1_2::is_ignored_1_H3_W2_VALID_dynamic_output_shape_nchw_float16,
1237 conv2d_v1_2::get_examples_1_H3_W2_VALID_dynamic_output_shape_nchw_float16());
1238 }
1239
TEST_F(GeneratedTests,conv2d_v1_2_3_H3_W2_SAME_nhwc)1240 TEST_F(GeneratedTests, conv2d_v1_2_3_H3_W2_SAME_nhwc) {
1241 execute(conv2d_v1_2::CreateModel_3_H3_W2_SAME_nhwc,
1242 conv2d_v1_2::is_ignored_3_H3_W2_SAME_nhwc,
1243 conv2d_v1_2::get_examples_3_H3_W2_SAME_nhwc());
1244 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_3_H3_W2_SAME_nhwc,conv2d_v1_2::CreateModel_3_H3_W2_SAME_nhwc)1245 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_3_H3_W2_SAME_nhwc, conv2d_v1_2::CreateModel_3_H3_W2_SAME_nhwc)
1246
1247 TEST_F(GeneratedTests, conv2d_v1_2_3_H3_W2_SAME_nhwc_relaxed) {
1248 execute(conv2d_v1_2::CreateModel_3_H3_W2_SAME_nhwc_relaxed,
1249 conv2d_v1_2::is_ignored_3_H3_W2_SAME_nhwc_relaxed,
1250 conv2d_v1_2::get_examples_3_H3_W2_SAME_nhwc_relaxed());
1251 }
1252
TEST_F(GeneratedTests,conv2d_v1_2_3_H3_W2_SAME_nhwc_float16)1253 TEST_F(GeneratedTests, conv2d_v1_2_3_H3_W2_SAME_nhwc_float16) {
1254 execute(conv2d_v1_2::CreateModel_3_H3_W2_SAME_nhwc_float16,
1255 conv2d_v1_2::is_ignored_3_H3_W2_SAME_nhwc_float16,
1256 conv2d_v1_2::get_examples_3_H3_W2_SAME_nhwc_float16());
1257 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_3_H3_W2_SAME_nhwc_float16,conv2d_v1_2::CreateModel_3_H3_W2_SAME_nhwc_float16)1258 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_3_H3_W2_SAME_nhwc_float16, conv2d_v1_2::CreateModel_3_H3_W2_SAME_nhwc_float16)
1259
1260 TEST_F(GeneratedTests, conv2d_v1_2_3_H3_W2_SAME_nchw) {
1261 execute(conv2d_v1_2::CreateModel_3_H3_W2_SAME_nchw,
1262 conv2d_v1_2::is_ignored_3_H3_W2_SAME_nchw,
1263 conv2d_v1_2::get_examples_3_H3_W2_SAME_nchw());
1264 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_3_H3_W2_SAME_nchw,conv2d_v1_2::CreateModel_3_H3_W2_SAME_nchw)1265 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_3_H3_W2_SAME_nchw, conv2d_v1_2::CreateModel_3_H3_W2_SAME_nchw)
1266
1267 TEST_F(GeneratedTests, conv2d_v1_2_3_H3_W2_SAME_nchw_relaxed) {
1268 execute(conv2d_v1_2::CreateModel_3_H3_W2_SAME_nchw_relaxed,
1269 conv2d_v1_2::is_ignored_3_H3_W2_SAME_nchw_relaxed,
1270 conv2d_v1_2::get_examples_3_H3_W2_SAME_nchw_relaxed());
1271 }
1272
TEST_F(GeneratedTests,conv2d_v1_2_3_H3_W2_SAME_nchw_float16)1273 TEST_F(GeneratedTests, conv2d_v1_2_3_H3_W2_SAME_nchw_float16) {
1274 execute(conv2d_v1_2::CreateModel_3_H3_W2_SAME_nchw_float16,
1275 conv2d_v1_2::is_ignored_3_H3_W2_SAME_nchw_float16,
1276 conv2d_v1_2::get_examples_3_H3_W2_SAME_nchw_float16());
1277 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_3_H3_W2_SAME_nchw_float16,conv2d_v1_2::CreateModel_3_H3_W2_SAME_nchw_float16)1278 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_3_H3_W2_SAME_nchw_float16, conv2d_v1_2::CreateModel_3_H3_W2_SAME_nchw_float16)
1279
1280 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_3_H3_W2_SAME_dynamic_output_shape_nhwc) {
1281 execute(conv2d_v1_2::CreateModel_3_H3_W2_SAME_dynamic_output_shape_nhwc,
1282 conv2d_v1_2::is_ignored_3_H3_W2_SAME_dynamic_output_shape_nhwc,
1283 conv2d_v1_2::get_examples_3_H3_W2_SAME_dynamic_output_shape_nhwc());
1284 }
1285
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_3_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed)1286 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_3_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed) {
1287 execute(conv2d_v1_2::CreateModel_3_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed,
1288 conv2d_v1_2::is_ignored_3_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed,
1289 conv2d_v1_2::get_examples_3_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed());
1290 }
1291
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_3_H3_W2_SAME_dynamic_output_shape_nhwc_float16)1292 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_3_H3_W2_SAME_dynamic_output_shape_nhwc_float16) {
1293 execute(conv2d_v1_2::CreateModel_3_H3_W2_SAME_dynamic_output_shape_nhwc_float16,
1294 conv2d_v1_2::is_ignored_3_H3_W2_SAME_dynamic_output_shape_nhwc_float16,
1295 conv2d_v1_2::get_examples_3_H3_W2_SAME_dynamic_output_shape_nhwc_float16());
1296 }
1297
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_3_H3_W2_SAME_dynamic_output_shape_nchw)1298 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_3_H3_W2_SAME_dynamic_output_shape_nchw) {
1299 execute(conv2d_v1_2::CreateModel_3_H3_W2_SAME_dynamic_output_shape_nchw,
1300 conv2d_v1_2::is_ignored_3_H3_W2_SAME_dynamic_output_shape_nchw,
1301 conv2d_v1_2::get_examples_3_H3_W2_SAME_dynamic_output_shape_nchw());
1302 }
1303
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_3_H3_W2_SAME_dynamic_output_shape_nchw_relaxed)1304 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_3_H3_W2_SAME_dynamic_output_shape_nchw_relaxed) {
1305 execute(conv2d_v1_2::CreateModel_3_H3_W2_SAME_dynamic_output_shape_nchw_relaxed,
1306 conv2d_v1_2::is_ignored_3_H3_W2_SAME_dynamic_output_shape_nchw_relaxed,
1307 conv2d_v1_2::get_examples_3_H3_W2_SAME_dynamic_output_shape_nchw_relaxed());
1308 }
1309
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_3_H3_W2_SAME_dynamic_output_shape_nchw_float16)1310 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_3_H3_W2_SAME_dynamic_output_shape_nchw_float16) {
1311 execute(conv2d_v1_2::CreateModel_3_H3_W2_SAME_dynamic_output_shape_nchw_float16,
1312 conv2d_v1_2::is_ignored_3_H3_W2_SAME_dynamic_output_shape_nchw_float16,
1313 conv2d_v1_2::get_examples_3_H3_W2_SAME_dynamic_output_shape_nchw_float16());
1314 }
1315
TEST_F(GeneratedTests,conv2d_v1_2_3_H3_W2_VALID_nhwc)1316 TEST_F(GeneratedTests, conv2d_v1_2_3_H3_W2_VALID_nhwc) {
1317 execute(conv2d_v1_2::CreateModel_3_H3_W2_VALID_nhwc,
1318 conv2d_v1_2::is_ignored_3_H3_W2_VALID_nhwc,
1319 conv2d_v1_2::get_examples_3_H3_W2_VALID_nhwc());
1320 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_3_H3_W2_VALID_nhwc,conv2d_v1_2::CreateModel_3_H3_W2_VALID_nhwc)1321 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_3_H3_W2_VALID_nhwc, conv2d_v1_2::CreateModel_3_H3_W2_VALID_nhwc)
1322
1323 TEST_F(GeneratedTests, conv2d_v1_2_3_H3_W2_VALID_nhwc_relaxed) {
1324 execute(conv2d_v1_2::CreateModel_3_H3_W2_VALID_nhwc_relaxed,
1325 conv2d_v1_2::is_ignored_3_H3_W2_VALID_nhwc_relaxed,
1326 conv2d_v1_2::get_examples_3_H3_W2_VALID_nhwc_relaxed());
1327 }
1328
TEST_F(GeneratedTests,conv2d_v1_2_3_H3_W2_VALID_nhwc_float16)1329 TEST_F(GeneratedTests, conv2d_v1_2_3_H3_W2_VALID_nhwc_float16) {
1330 execute(conv2d_v1_2::CreateModel_3_H3_W2_VALID_nhwc_float16,
1331 conv2d_v1_2::is_ignored_3_H3_W2_VALID_nhwc_float16,
1332 conv2d_v1_2::get_examples_3_H3_W2_VALID_nhwc_float16());
1333 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_3_H3_W2_VALID_nhwc_float16,conv2d_v1_2::CreateModel_3_H3_W2_VALID_nhwc_float16)1334 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_3_H3_W2_VALID_nhwc_float16, conv2d_v1_2::CreateModel_3_H3_W2_VALID_nhwc_float16)
1335
1336 TEST_F(GeneratedTests, conv2d_v1_2_3_H3_W2_VALID_nchw) {
1337 execute(conv2d_v1_2::CreateModel_3_H3_W2_VALID_nchw,
1338 conv2d_v1_2::is_ignored_3_H3_W2_VALID_nchw,
1339 conv2d_v1_2::get_examples_3_H3_W2_VALID_nchw());
1340 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_3_H3_W2_VALID_nchw,conv2d_v1_2::CreateModel_3_H3_W2_VALID_nchw)1341 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_3_H3_W2_VALID_nchw, conv2d_v1_2::CreateModel_3_H3_W2_VALID_nchw)
1342
1343 TEST_F(GeneratedTests, conv2d_v1_2_3_H3_W2_VALID_nchw_relaxed) {
1344 execute(conv2d_v1_2::CreateModel_3_H3_W2_VALID_nchw_relaxed,
1345 conv2d_v1_2::is_ignored_3_H3_W2_VALID_nchw_relaxed,
1346 conv2d_v1_2::get_examples_3_H3_W2_VALID_nchw_relaxed());
1347 }
1348
TEST_F(GeneratedTests,conv2d_v1_2_3_H3_W2_VALID_nchw_float16)1349 TEST_F(GeneratedTests, conv2d_v1_2_3_H3_W2_VALID_nchw_float16) {
1350 execute(conv2d_v1_2::CreateModel_3_H3_W2_VALID_nchw_float16,
1351 conv2d_v1_2::is_ignored_3_H3_W2_VALID_nchw_float16,
1352 conv2d_v1_2::get_examples_3_H3_W2_VALID_nchw_float16());
1353 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_3_H3_W2_VALID_nchw_float16,conv2d_v1_2::CreateModel_3_H3_W2_VALID_nchw_float16)1354 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_3_H3_W2_VALID_nchw_float16, conv2d_v1_2::CreateModel_3_H3_W2_VALID_nchw_float16)
1355
1356 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_3_H3_W2_VALID_dynamic_output_shape_nhwc) {
1357 execute(conv2d_v1_2::CreateModel_3_H3_W2_VALID_dynamic_output_shape_nhwc,
1358 conv2d_v1_2::is_ignored_3_H3_W2_VALID_dynamic_output_shape_nhwc,
1359 conv2d_v1_2::get_examples_3_H3_W2_VALID_dynamic_output_shape_nhwc());
1360 }
1361
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_3_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed)1362 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_3_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed) {
1363 execute(conv2d_v1_2::CreateModel_3_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed,
1364 conv2d_v1_2::is_ignored_3_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed,
1365 conv2d_v1_2::get_examples_3_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed());
1366 }
1367
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_3_H3_W2_VALID_dynamic_output_shape_nhwc_float16)1368 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_3_H3_W2_VALID_dynamic_output_shape_nhwc_float16) {
1369 execute(conv2d_v1_2::CreateModel_3_H3_W2_VALID_dynamic_output_shape_nhwc_float16,
1370 conv2d_v1_2::is_ignored_3_H3_W2_VALID_dynamic_output_shape_nhwc_float16,
1371 conv2d_v1_2::get_examples_3_H3_W2_VALID_dynamic_output_shape_nhwc_float16());
1372 }
1373
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_3_H3_W2_VALID_dynamic_output_shape_nchw)1374 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_3_H3_W2_VALID_dynamic_output_shape_nchw) {
1375 execute(conv2d_v1_2::CreateModel_3_H3_W2_VALID_dynamic_output_shape_nchw,
1376 conv2d_v1_2::is_ignored_3_H3_W2_VALID_dynamic_output_shape_nchw,
1377 conv2d_v1_2::get_examples_3_H3_W2_VALID_dynamic_output_shape_nchw());
1378 }
1379
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_3_H3_W2_VALID_dynamic_output_shape_nchw_relaxed)1380 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_3_H3_W2_VALID_dynamic_output_shape_nchw_relaxed) {
1381 execute(conv2d_v1_2::CreateModel_3_H3_W2_VALID_dynamic_output_shape_nchw_relaxed,
1382 conv2d_v1_2::is_ignored_3_H3_W2_VALID_dynamic_output_shape_nchw_relaxed,
1383 conv2d_v1_2::get_examples_3_H3_W2_VALID_dynamic_output_shape_nchw_relaxed());
1384 }
1385
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_3_H3_W2_VALID_dynamic_output_shape_nchw_float16)1386 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_3_H3_W2_VALID_dynamic_output_shape_nchw_float16) {
1387 execute(conv2d_v1_2::CreateModel_3_H3_W2_VALID_dynamic_output_shape_nchw_float16,
1388 conv2d_v1_2::is_ignored_3_H3_W2_VALID_dynamic_output_shape_nchw_float16,
1389 conv2d_v1_2::get_examples_3_H3_W2_VALID_dynamic_output_shape_nchw_float16());
1390 }
1391
TEST_F(GeneratedTests,conv2d_v1_2_quant_output_multiplier_gt_1)1392 TEST_F(GeneratedTests, conv2d_v1_2_quant_output_multiplier_gt_1) {
1393 execute(conv2d_v1_2::CreateModel_quant_output_multiplier_gt_1,
1394 conv2d_v1_2::is_ignored_quant_output_multiplier_gt_1,
1395 conv2d_v1_2::get_examples_quant_output_multiplier_gt_1());
1396 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_quant_output_multiplier_gt_1,conv2d_v1_2::CreateModel_quant_output_multiplier_gt_1)1397 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_quant_output_multiplier_gt_1, conv2d_v1_2::CreateModel_quant_output_multiplier_gt_1)
1398
1399 TEST_F(GeneratedTests, conv2d_v1_2_quant_output_multiplier_gt_1_relaxed) {
1400 execute(conv2d_v1_2::CreateModel_quant_output_multiplier_gt_1_relaxed,
1401 conv2d_v1_2::is_ignored_quant_output_multiplier_gt_1_relaxed,
1402 conv2d_v1_2::get_examples_quant_output_multiplier_gt_1_relaxed());
1403 }
1404
TEST_F(GeneratedTests,conv2d_v1_2_quant_output_multiplier_gt_1_weight_as_input)1405 TEST_F(GeneratedTests, conv2d_v1_2_quant_output_multiplier_gt_1_weight_as_input) {
1406 execute(conv2d_v1_2::CreateModel_quant_output_multiplier_gt_1_weight_as_input,
1407 conv2d_v1_2::is_ignored_quant_output_multiplier_gt_1_weight_as_input,
1408 conv2d_v1_2::get_examples_quant_output_multiplier_gt_1_weight_as_input());
1409 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_quant_output_multiplier_gt_1_weight_as_input,conv2d_v1_2::CreateModel_quant_output_multiplier_gt_1_weight_as_input)1410 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_quant_output_multiplier_gt_1_weight_as_input, conv2d_v1_2::CreateModel_quant_output_multiplier_gt_1_weight_as_input)
1411
1412 TEST_F(GeneratedTests, conv2d_v1_2_quant_output_multiplier_gt_1_weight_as_input_relaxed) {
1413 execute(conv2d_v1_2::CreateModel_quant_output_multiplier_gt_1_weight_as_input_relaxed,
1414 conv2d_v1_2::is_ignored_quant_output_multiplier_gt_1_weight_as_input_relaxed,
1415 conv2d_v1_2::get_examples_quant_output_multiplier_gt_1_weight_as_input_relaxed());
1416 }
1417
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_quant_output_multiplier_gt_1_dynamic_output_shape)1418 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_quant_output_multiplier_gt_1_dynamic_output_shape) {
1419 execute(conv2d_v1_2::CreateModel_quant_output_multiplier_gt_1_dynamic_output_shape,
1420 conv2d_v1_2::is_ignored_quant_output_multiplier_gt_1_dynamic_output_shape,
1421 conv2d_v1_2::get_examples_quant_output_multiplier_gt_1_dynamic_output_shape());
1422 }
1423
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_quant_output_multiplier_gt_1_dynamic_output_shape_relaxed)1424 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_quant_output_multiplier_gt_1_dynamic_output_shape_relaxed) {
1425 execute(conv2d_v1_2::CreateModel_quant_output_multiplier_gt_1_dynamic_output_shape_relaxed,
1426 conv2d_v1_2::is_ignored_quant_output_multiplier_gt_1_dynamic_output_shape_relaxed,
1427 conv2d_v1_2::get_examples_quant_output_multiplier_gt_1_dynamic_output_shape_relaxed());
1428 }
1429
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input)1430 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input) {
1431 execute(conv2d_v1_2::CreateModel_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input,
1432 conv2d_v1_2::is_ignored_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input,
1433 conv2d_v1_2::get_examples_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input());
1434 }
1435
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input_relaxed)1436 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input_relaxed) {
1437 execute(conv2d_v1_2::CreateModel_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input_relaxed,
1438 conv2d_v1_2::is_ignored_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input_relaxed,
1439 conv2d_v1_2::get_examples_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input_relaxed());
1440 }
1441
TEST_F(GeneratedTests,conv2d_v1_2_zero_sized_nhwc)1442 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nhwc) {
1443 execute(conv2d_v1_2::CreateModel_zero_sized_nhwc,
1444 conv2d_v1_2::is_ignored_zero_sized_nhwc,
1445 conv2d_v1_2::get_examples_zero_sized_nhwc());
1446 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_zero_sized_nhwc,conv2d_v1_2::CreateModel_zero_sized_nhwc)1447 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_zero_sized_nhwc, conv2d_v1_2::CreateModel_zero_sized_nhwc)
1448
1449 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nhwc_relaxed) {
1450 execute(conv2d_v1_2::CreateModel_zero_sized_nhwc_relaxed,
1451 conv2d_v1_2::is_ignored_zero_sized_nhwc_relaxed,
1452 conv2d_v1_2::get_examples_zero_sized_nhwc_relaxed());
1453 }
1454
TEST_F(GeneratedTests,conv2d_v1_2_zero_sized_nhwc_quant8)1455 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nhwc_quant8) {
1456 execute(conv2d_v1_2::CreateModel_zero_sized_nhwc_quant8,
1457 conv2d_v1_2::is_ignored_zero_sized_nhwc_quant8,
1458 conv2d_v1_2::get_examples_zero_sized_nhwc_quant8());
1459 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_zero_sized_nhwc_quant8,conv2d_v1_2::CreateModel_zero_sized_nhwc_quant8)1460 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_zero_sized_nhwc_quant8, conv2d_v1_2::CreateModel_zero_sized_nhwc_quant8)
1461
1462 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nhwc_float16) {
1463 execute(conv2d_v1_2::CreateModel_zero_sized_nhwc_float16,
1464 conv2d_v1_2::is_ignored_zero_sized_nhwc_float16,
1465 conv2d_v1_2::get_examples_zero_sized_nhwc_float16());
1466 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_zero_sized_nhwc_float16,conv2d_v1_2::CreateModel_zero_sized_nhwc_float16)1467 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_zero_sized_nhwc_float16, conv2d_v1_2::CreateModel_zero_sized_nhwc_float16)
1468
1469 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nchw) {
1470 execute(conv2d_v1_2::CreateModel_zero_sized_nchw,
1471 conv2d_v1_2::is_ignored_zero_sized_nchw,
1472 conv2d_v1_2::get_examples_zero_sized_nchw());
1473 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_zero_sized_nchw,conv2d_v1_2::CreateModel_zero_sized_nchw)1474 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_zero_sized_nchw, conv2d_v1_2::CreateModel_zero_sized_nchw)
1475
1476 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nchw_relaxed) {
1477 execute(conv2d_v1_2::CreateModel_zero_sized_nchw_relaxed,
1478 conv2d_v1_2::is_ignored_zero_sized_nchw_relaxed,
1479 conv2d_v1_2::get_examples_zero_sized_nchw_relaxed());
1480 }
1481
TEST_F(GeneratedTests,conv2d_v1_2_zero_sized_nchw_quant8)1482 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nchw_quant8) {
1483 execute(conv2d_v1_2::CreateModel_zero_sized_nchw_quant8,
1484 conv2d_v1_2::is_ignored_zero_sized_nchw_quant8,
1485 conv2d_v1_2::get_examples_zero_sized_nchw_quant8());
1486 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_zero_sized_nchw_quant8,conv2d_v1_2::CreateModel_zero_sized_nchw_quant8)1487 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_zero_sized_nchw_quant8, conv2d_v1_2::CreateModel_zero_sized_nchw_quant8)
1488
1489 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nchw_float16) {
1490 execute(conv2d_v1_2::CreateModel_zero_sized_nchw_float16,
1491 conv2d_v1_2::is_ignored_zero_sized_nchw_float16,
1492 conv2d_v1_2::get_examples_zero_sized_nchw_float16());
1493 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_zero_sized_nchw_float16,conv2d_v1_2::CreateModel_zero_sized_nchw_float16)1494 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_zero_sized_nchw_float16, conv2d_v1_2::CreateModel_zero_sized_nchw_float16)
1495
1496 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc) {
1497 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc,
1498 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc,
1499 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc());
1500 }
1501
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed)1502 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed) {
1503 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_relaxed,
1504 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_relaxed,
1505 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed());
1506 }
1507
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc_quant8)1508 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc_quant8) {
1509 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_quant8,
1510 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_quant8,
1511 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_quant8());
1512 }
1513
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc_float16)1514 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc_float16) {
1515 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_float16,
1516 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_float16,
1517 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_float16());
1518 }
1519
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nchw)1520 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nchw) {
1521 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw,
1522 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw,
1523 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw());
1524 }
1525
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed)1526 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed) {
1527 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_relaxed,
1528 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_relaxed,
1529 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_relaxed());
1530 }
1531
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_quant8)1532 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_quant8) {
1533 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_quant8,
1534 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_quant8,
1535 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_quant8());
1536 }
1537
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_float16)1538 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_float16) {
1539 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_float16,
1540 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_float16,
1541 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_float16());
1542 }
1543
TEST_F(GeneratedTests,conv2d_v1_2_zero_sized_nhwc_2)1544 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nhwc_2) {
1545 execute(conv2d_v1_2::CreateModel_zero_sized_nhwc_2,
1546 conv2d_v1_2::is_ignored_zero_sized_nhwc_2,
1547 conv2d_v1_2::get_examples_zero_sized_nhwc_2());
1548 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_zero_sized_nhwc_2,conv2d_v1_2::CreateModel_zero_sized_nhwc_2)1549 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_zero_sized_nhwc_2, conv2d_v1_2::CreateModel_zero_sized_nhwc_2)
1550
1551 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nhwc_relaxed_2) {
1552 execute(conv2d_v1_2::CreateModel_zero_sized_nhwc_relaxed_2,
1553 conv2d_v1_2::is_ignored_zero_sized_nhwc_relaxed_2,
1554 conv2d_v1_2::get_examples_zero_sized_nhwc_relaxed_2());
1555 }
1556
TEST_F(GeneratedTests,conv2d_v1_2_zero_sized_nhwc_quant8_2)1557 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nhwc_quant8_2) {
1558 execute(conv2d_v1_2::CreateModel_zero_sized_nhwc_quant8_2,
1559 conv2d_v1_2::is_ignored_zero_sized_nhwc_quant8_2,
1560 conv2d_v1_2::get_examples_zero_sized_nhwc_quant8_2());
1561 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_zero_sized_nhwc_quant8_2,conv2d_v1_2::CreateModel_zero_sized_nhwc_quant8_2)1562 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_zero_sized_nhwc_quant8_2, conv2d_v1_2::CreateModel_zero_sized_nhwc_quant8_2)
1563
1564 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nhwc_float16_2) {
1565 execute(conv2d_v1_2::CreateModel_zero_sized_nhwc_float16_2,
1566 conv2d_v1_2::is_ignored_zero_sized_nhwc_float16_2,
1567 conv2d_v1_2::get_examples_zero_sized_nhwc_float16_2());
1568 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_zero_sized_nhwc_float16_2,conv2d_v1_2::CreateModel_zero_sized_nhwc_float16_2)1569 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_zero_sized_nhwc_float16_2, conv2d_v1_2::CreateModel_zero_sized_nhwc_float16_2)
1570
1571 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nchw_2) {
1572 execute(conv2d_v1_2::CreateModel_zero_sized_nchw_2,
1573 conv2d_v1_2::is_ignored_zero_sized_nchw_2,
1574 conv2d_v1_2::get_examples_zero_sized_nchw_2());
1575 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_zero_sized_nchw_2,conv2d_v1_2::CreateModel_zero_sized_nchw_2)1576 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_zero_sized_nchw_2, conv2d_v1_2::CreateModel_zero_sized_nchw_2)
1577
1578 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nchw_relaxed_2) {
1579 execute(conv2d_v1_2::CreateModel_zero_sized_nchw_relaxed_2,
1580 conv2d_v1_2::is_ignored_zero_sized_nchw_relaxed_2,
1581 conv2d_v1_2::get_examples_zero_sized_nchw_relaxed_2());
1582 }
1583
TEST_F(GeneratedTests,conv2d_v1_2_zero_sized_nchw_quant8_2)1584 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nchw_quant8_2) {
1585 execute(conv2d_v1_2::CreateModel_zero_sized_nchw_quant8_2,
1586 conv2d_v1_2::is_ignored_zero_sized_nchw_quant8_2,
1587 conv2d_v1_2::get_examples_zero_sized_nchw_quant8_2());
1588 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_zero_sized_nchw_quant8_2,conv2d_v1_2::CreateModel_zero_sized_nchw_quant8_2)1589 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_zero_sized_nchw_quant8_2, conv2d_v1_2::CreateModel_zero_sized_nchw_quant8_2)
1590
1591 TEST_F(GeneratedTests, conv2d_v1_2_zero_sized_nchw_float16_2) {
1592 execute(conv2d_v1_2::CreateModel_zero_sized_nchw_float16_2,
1593 conv2d_v1_2::is_ignored_zero_sized_nchw_float16_2,
1594 conv2d_v1_2::get_examples_zero_sized_nchw_float16_2());
1595 }
TEST_AVAILABLE_SINCE(V1_2,conv2d_v1_2_zero_sized_nchw_float16_2,conv2d_v1_2::CreateModel_zero_sized_nchw_float16_2)1596 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_zero_sized_nchw_float16_2, conv2d_v1_2::CreateModel_zero_sized_nchw_float16_2)
1597
1598 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc_2) {
1599 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_2,
1600 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_2,
1601 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_2());
1602 }
1603
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed_2)1604 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc_relaxed_2) {
1605 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_relaxed_2,
1606 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_relaxed_2,
1607 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed_2());
1608 }
1609
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc_quant8_2)1610 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc_quant8_2) {
1611 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_quant8_2,
1612 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_quant8_2,
1613 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_quant8_2());
1614 }
1615
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc_float16_2)1616 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nhwc_float16_2) {
1617 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nhwc_float16_2,
1618 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nhwc_float16_2,
1619 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nhwc_float16_2());
1620 }
1621
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_2)1622 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_2) {
1623 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_2,
1624 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_2,
1625 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_2());
1626 }
1627
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed_2)1628 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_relaxed_2) {
1629 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_relaxed_2,
1630 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_relaxed_2,
1631 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_relaxed_2());
1632 }
1633
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_quant8_2)1634 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_quant8_2) {
1635 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_quant8_2,
1636 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_quant8_2,
1637 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_quant8_2());
1638 }
1639
TEST_F(DynamicOutputShapeTest,conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_float16_2)1640 TEST_F(DynamicOutputShapeTest, conv2d_v1_2_zero_sized_dynamic_output_shape_nchw_float16_2) {
1641 execute(conv2d_v1_2::CreateModel_zero_sized_dynamic_output_shape_nchw_float16_2,
1642 conv2d_v1_2::is_ignored_zero_sized_dynamic_output_shape_nchw_float16_2,
1643 conv2d_v1_2::get_examples_zero_sized_dynamic_output_shape_nchw_float16_2());
1644 }
1645
1646