1 // clang-format off
2 // Generated file (from: expand_dims.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4 
5 namespace expand_dims {
6 // Generated expand_dims test
7 #include "generated/examples/expand_dims.example.cpp"
8 // Generated model constructor
9 #include "generated/models/expand_dims.model.cpp"
10 } // namespace expand_dims
11 
TEST_F(GeneratedTests,expand_dims)12 TEST_F(GeneratedTests, expand_dims) {
13     execute(expand_dims::CreateModel,
14             expand_dims::is_ignored,
15             expand_dims::get_examples());
16 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims,expand_dims::CreateModel)17 TEST_AVAILABLE_SINCE(V1_2, expand_dims, expand_dims::CreateModel)
18 
19 TEST_F(GeneratedTests, expand_dims_relaxed) {
20     execute(expand_dims::CreateModel_relaxed,
21             expand_dims::is_ignored_relaxed,
22             expand_dims::get_examples_relaxed());
23 }
24 
TEST_F(GeneratedTests,expand_dims_quant8)25 TEST_F(GeneratedTests, expand_dims_quant8) {
26     execute(expand_dims::CreateModel_quant8,
27             expand_dims::is_ignored_quant8,
28             expand_dims::get_examples_quant8());
29 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_quant8,expand_dims::CreateModel_quant8)30 TEST_AVAILABLE_SINCE(V1_2, expand_dims_quant8, expand_dims::CreateModel_quant8)
31 
32 TEST_F(GeneratedTests, expand_dims_int32) {
33     execute(expand_dims::CreateModel_int32,
34             expand_dims::is_ignored_int32,
35             expand_dims::get_examples_int32());
36 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_int32,expand_dims::CreateModel_int32)37 TEST_AVAILABLE_SINCE(V1_2, expand_dims_int32, expand_dims::CreateModel_int32)
38 
39 TEST_F(GeneratedTests, expand_dims_float16) {
40     execute(expand_dims::CreateModel_float16,
41             expand_dims::is_ignored_float16,
42             expand_dims::get_examples_float16());
43 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_float16,expand_dims::CreateModel_float16)44 TEST_AVAILABLE_SINCE(V1_2, expand_dims_float16, expand_dims::CreateModel_float16)
45 
46 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape) {
47     execute(expand_dims::CreateModel_dynamic_output_shape,
48             expand_dims::is_ignored_dynamic_output_shape,
49             expand_dims::get_examples_dynamic_output_shape());
50 }
51 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_relaxed)52 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_relaxed) {
53     execute(expand_dims::CreateModel_dynamic_output_shape_relaxed,
54             expand_dims::is_ignored_dynamic_output_shape_relaxed,
55             expand_dims::get_examples_dynamic_output_shape_relaxed());
56 }
57 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_quant8)58 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_quant8) {
59     execute(expand_dims::CreateModel_dynamic_output_shape_quant8,
60             expand_dims::is_ignored_dynamic_output_shape_quant8,
61             expand_dims::get_examples_dynamic_output_shape_quant8());
62 }
63 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_int32)64 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_int32) {
65     execute(expand_dims::CreateModel_dynamic_output_shape_int32,
66             expand_dims::is_ignored_dynamic_output_shape_int32,
67             expand_dims::get_examples_dynamic_output_shape_int32());
68 }
69 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_float16)70 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_float16) {
71     execute(expand_dims::CreateModel_dynamic_output_shape_float16,
72             expand_dims::is_ignored_dynamic_output_shape_float16,
73             expand_dims::get_examples_dynamic_output_shape_float16());
74 }
75 
TEST_F(GeneratedTests,expand_dims_2)76 TEST_F(GeneratedTests, expand_dims_2) {
77     execute(expand_dims::CreateModel_2,
78             expand_dims::is_ignored_2,
79             expand_dims::get_examples_2());
80 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_2,expand_dims::CreateModel_2)81 TEST_AVAILABLE_SINCE(V1_2, expand_dims_2, expand_dims::CreateModel_2)
82 
83 TEST_F(GeneratedTests, expand_dims_relaxed_2) {
84     execute(expand_dims::CreateModel_relaxed_2,
85             expand_dims::is_ignored_relaxed_2,
86             expand_dims::get_examples_relaxed_2());
87 }
88 
TEST_F(GeneratedTests,expand_dims_quant8_2)89 TEST_F(GeneratedTests, expand_dims_quant8_2) {
90     execute(expand_dims::CreateModel_quant8_2,
91             expand_dims::is_ignored_quant8_2,
92             expand_dims::get_examples_quant8_2());
93 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_quant8_2,expand_dims::CreateModel_quant8_2)94 TEST_AVAILABLE_SINCE(V1_2, expand_dims_quant8_2, expand_dims::CreateModel_quant8_2)
95 
96 TEST_F(GeneratedTests, expand_dims_int32_2) {
97     execute(expand_dims::CreateModel_int32_2,
98             expand_dims::is_ignored_int32_2,
99             expand_dims::get_examples_int32_2());
100 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_int32_2,expand_dims::CreateModel_int32_2)101 TEST_AVAILABLE_SINCE(V1_2, expand_dims_int32_2, expand_dims::CreateModel_int32_2)
102 
103 TEST_F(GeneratedTests, expand_dims_float16_2) {
104     execute(expand_dims::CreateModel_float16_2,
105             expand_dims::is_ignored_float16_2,
106             expand_dims::get_examples_float16_2());
107 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_float16_2,expand_dims::CreateModel_float16_2)108 TEST_AVAILABLE_SINCE(V1_2, expand_dims_float16_2, expand_dims::CreateModel_float16_2)
109 
110 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_2) {
111     execute(expand_dims::CreateModel_dynamic_output_shape_2,
112             expand_dims::is_ignored_dynamic_output_shape_2,
113             expand_dims::get_examples_dynamic_output_shape_2());
114 }
115 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_relaxed_2)116 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_relaxed_2) {
117     execute(expand_dims::CreateModel_dynamic_output_shape_relaxed_2,
118             expand_dims::is_ignored_dynamic_output_shape_relaxed_2,
119             expand_dims::get_examples_dynamic_output_shape_relaxed_2());
120 }
121 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_quant8_2)122 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_quant8_2) {
123     execute(expand_dims::CreateModel_dynamic_output_shape_quant8_2,
124             expand_dims::is_ignored_dynamic_output_shape_quant8_2,
125             expand_dims::get_examples_dynamic_output_shape_quant8_2());
126 }
127 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_int32_2)128 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_int32_2) {
129     execute(expand_dims::CreateModel_dynamic_output_shape_int32_2,
130             expand_dims::is_ignored_dynamic_output_shape_int32_2,
131             expand_dims::get_examples_dynamic_output_shape_int32_2());
132 }
133 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_float16_2)134 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_float16_2) {
135     execute(expand_dims::CreateModel_dynamic_output_shape_float16_2,
136             expand_dims::is_ignored_dynamic_output_shape_float16_2,
137             expand_dims::get_examples_dynamic_output_shape_float16_2());
138 }
139 
TEST_F(GeneratedTests,expand_dims_3)140 TEST_F(GeneratedTests, expand_dims_3) {
141     execute(expand_dims::CreateModel_3,
142             expand_dims::is_ignored_3,
143             expand_dims::get_examples_3());
144 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_3,expand_dims::CreateModel_3)145 TEST_AVAILABLE_SINCE(V1_2, expand_dims_3, expand_dims::CreateModel_3)
146 
147 TEST_F(GeneratedTests, expand_dims_relaxed_3) {
148     execute(expand_dims::CreateModel_relaxed_3,
149             expand_dims::is_ignored_relaxed_3,
150             expand_dims::get_examples_relaxed_3());
151 }
152 
TEST_F(GeneratedTests,expand_dims_quant8_3)153 TEST_F(GeneratedTests, expand_dims_quant8_3) {
154     execute(expand_dims::CreateModel_quant8_3,
155             expand_dims::is_ignored_quant8_3,
156             expand_dims::get_examples_quant8_3());
157 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_quant8_3,expand_dims::CreateModel_quant8_3)158 TEST_AVAILABLE_SINCE(V1_2, expand_dims_quant8_3, expand_dims::CreateModel_quant8_3)
159 
160 TEST_F(GeneratedTests, expand_dims_int32_3) {
161     execute(expand_dims::CreateModel_int32_3,
162             expand_dims::is_ignored_int32_3,
163             expand_dims::get_examples_int32_3());
164 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_int32_3,expand_dims::CreateModel_int32_3)165 TEST_AVAILABLE_SINCE(V1_2, expand_dims_int32_3, expand_dims::CreateModel_int32_3)
166 
167 TEST_F(GeneratedTests, expand_dims_float16_3) {
168     execute(expand_dims::CreateModel_float16_3,
169             expand_dims::is_ignored_float16_3,
170             expand_dims::get_examples_float16_3());
171 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_float16_3,expand_dims::CreateModel_float16_3)172 TEST_AVAILABLE_SINCE(V1_2, expand_dims_float16_3, expand_dims::CreateModel_float16_3)
173 
174 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_3) {
175     execute(expand_dims::CreateModel_dynamic_output_shape_3,
176             expand_dims::is_ignored_dynamic_output_shape_3,
177             expand_dims::get_examples_dynamic_output_shape_3());
178 }
179 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_relaxed_3)180 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_relaxed_3) {
181     execute(expand_dims::CreateModel_dynamic_output_shape_relaxed_3,
182             expand_dims::is_ignored_dynamic_output_shape_relaxed_3,
183             expand_dims::get_examples_dynamic_output_shape_relaxed_3());
184 }
185 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_quant8_3)186 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_quant8_3) {
187     execute(expand_dims::CreateModel_dynamic_output_shape_quant8_3,
188             expand_dims::is_ignored_dynamic_output_shape_quant8_3,
189             expand_dims::get_examples_dynamic_output_shape_quant8_3());
190 }
191 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_int32_3)192 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_int32_3) {
193     execute(expand_dims::CreateModel_dynamic_output_shape_int32_3,
194             expand_dims::is_ignored_dynamic_output_shape_int32_3,
195             expand_dims::get_examples_dynamic_output_shape_int32_3());
196 }
197 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_float16_3)198 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_float16_3) {
199     execute(expand_dims::CreateModel_dynamic_output_shape_float16_3,
200             expand_dims::is_ignored_dynamic_output_shape_float16_3,
201             expand_dims::get_examples_dynamic_output_shape_float16_3());
202 }
203 
TEST_F(GeneratedTests,expand_dims_4)204 TEST_F(GeneratedTests, expand_dims_4) {
205     execute(expand_dims::CreateModel_4,
206             expand_dims::is_ignored_4,
207             expand_dims::get_examples_4());
208 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_4,expand_dims::CreateModel_4)209 TEST_AVAILABLE_SINCE(V1_2, expand_dims_4, expand_dims::CreateModel_4)
210 
211 TEST_F(GeneratedTests, expand_dims_relaxed_4) {
212     execute(expand_dims::CreateModel_relaxed_4,
213             expand_dims::is_ignored_relaxed_4,
214             expand_dims::get_examples_relaxed_4());
215 }
216 
TEST_F(GeneratedTests,expand_dims_quant8_4)217 TEST_F(GeneratedTests, expand_dims_quant8_4) {
218     execute(expand_dims::CreateModel_quant8_4,
219             expand_dims::is_ignored_quant8_4,
220             expand_dims::get_examples_quant8_4());
221 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_quant8_4,expand_dims::CreateModel_quant8_4)222 TEST_AVAILABLE_SINCE(V1_2, expand_dims_quant8_4, expand_dims::CreateModel_quant8_4)
223 
224 TEST_F(GeneratedTests, expand_dims_int32_4) {
225     execute(expand_dims::CreateModel_int32_4,
226             expand_dims::is_ignored_int32_4,
227             expand_dims::get_examples_int32_4());
228 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_int32_4,expand_dims::CreateModel_int32_4)229 TEST_AVAILABLE_SINCE(V1_2, expand_dims_int32_4, expand_dims::CreateModel_int32_4)
230 
231 TEST_F(GeneratedTests, expand_dims_float16_4) {
232     execute(expand_dims::CreateModel_float16_4,
233             expand_dims::is_ignored_float16_4,
234             expand_dims::get_examples_float16_4());
235 }
TEST_AVAILABLE_SINCE(V1_2,expand_dims_float16_4,expand_dims::CreateModel_float16_4)236 TEST_AVAILABLE_SINCE(V1_2, expand_dims_float16_4, expand_dims::CreateModel_float16_4)
237 
238 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_4) {
239     execute(expand_dims::CreateModel_dynamic_output_shape_4,
240             expand_dims::is_ignored_dynamic_output_shape_4,
241             expand_dims::get_examples_dynamic_output_shape_4());
242 }
243 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_relaxed_4)244 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_relaxed_4) {
245     execute(expand_dims::CreateModel_dynamic_output_shape_relaxed_4,
246             expand_dims::is_ignored_dynamic_output_shape_relaxed_4,
247             expand_dims::get_examples_dynamic_output_shape_relaxed_4());
248 }
249 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_quant8_4)250 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_quant8_4) {
251     execute(expand_dims::CreateModel_dynamic_output_shape_quant8_4,
252             expand_dims::is_ignored_dynamic_output_shape_quant8_4,
253             expand_dims::get_examples_dynamic_output_shape_quant8_4());
254 }
255 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_int32_4)256 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_int32_4) {
257     execute(expand_dims::CreateModel_dynamic_output_shape_int32_4,
258             expand_dims::is_ignored_dynamic_output_shape_int32_4,
259             expand_dims::get_examples_dynamic_output_shape_int32_4());
260 }
261 
TEST_F(DynamicOutputShapeTest,expand_dims_dynamic_output_shape_float16_4)262 TEST_F(DynamicOutputShapeTest, expand_dims_dynamic_output_shape_float16_4) {
263     execute(expand_dims::CreateModel_dynamic_output_shape_float16_4,
264             expand_dims::is_ignored_dynamic_output_shape_float16_4,
265             expand_dims::get_examples_dynamic_output_shape_float16_4());
266 }
267 
268