1 // clang-format off
2 // Generated file (from: select_v1_2.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4 
5 namespace select_v1_2 {
6 // Generated select_v1_2 test
7 #include "generated/examples/select_v1_2.example.cpp"
8 // Generated model constructor
9 #include "generated/models/select_v1_2.model.cpp"
10 } // namespace select_v1_2
11 
TEST_F(GeneratedTests,select_v1_2_one_dim)12 TEST_F(GeneratedTests, select_v1_2_one_dim) {
13     execute(select_v1_2::CreateModel,
14             select_v1_2::is_ignored,
15             select_v1_2::get_examples_one_dim());
16 }
TEST_AVAILABLE_SINCE(V1_2,select_v1_2_one_dim,select_v1_2::CreateModel)17 TEST_AVAILABLE_SINCE(V1_2, select_v1_2_one_dim, select_v1_2::CreateModel)
18 
19 TEST_F(GeneratedTests, select_v1_2_one_dim_int32) {
20     execute(select_v1_2::CreateModel_int32,
21             select_v1_2::is_ignored_int32,
22             select_v1_2::get_examples_one_dim_int32());
23 }
TEST_AVAILABLE_SINCE(V1_2,select_v1_2_one_dim_int32,select_v1_2::CreateModel_int32)24 TEST_AVAILABLE_SINCE(V1_2, select_v1_2_one_dim_int32, select_v1_2::CreateModel_int32)
25 
26 TEST_F(GeneratedTests, select_v1_2_one_dim_float16) {
27     execute(select_v1_2::CreateModel_float16,
28             select_v1_2::is_ignored_float16,
29             select_v1_2::get_examples_one_dim_float16());
30 }
TEST_AVAILABLE_SINCE(V1_2,select_v1_2_one_dim_float16,select_v1_2::CreateModel_float16)31 TEST_AVAILABLE_SINCE(V1_2, select_v1_2_one_dim_float16, select_v1_2::CreateModel_float16)
32 
33 TEST_F(GeneratedTests, select_v1_2_one_dim_relaxed) {
34     execute(select_v1_2::CreateModel_relaxed,
35             select_v1_2::is_ignored_relaxed,
36             select_v1_2::get_examples_one_dim_relaxed());
37 }
38 
TEST_F(GeneratedTests,select_v1_2_one_dim_quant8)39 TEST_F(GeneratedTests, select_v1_2_one_dim_quant8) {
40     execute(select_v1_2::CreateModel_quant8,
41             select_v1_2::is_ignored_quant8,
42             select_v1_2::get_examples_one_dim_quant8());
43 }
TEST_AVAILABLE_SINCE(V1_2,select_v1_2_one_dim_quant8,select_v1_2::CreateModel_quant8)44 TEST_AVAILABLE_SINCE(V1_2, select_v1_2_one_dim_quant8, select_v1_2::CreateModel_quant8)
45 
46 TEST_F(DynamicOutputShapeTest, select_v1_2_one_dim_dynamic_output_shape) {
47     execute(select_v1_2::CreateModel_dynamic_output_shape,
48             select_v1_2::is_ignored_dynamic_output_shape,
49             select_v1_2::get_examples_one_dim_dynamic_output_shape());
50 }
51 
TEST_F(DynamicOutputShapeTest,select_v1_2_one_dim_dynamic_output_shape_int32)52 TEST_F(DynamicOutputShapeTest, select_v1_2_one_dim_dynamic_output_shape_int32) {
53     execute(select_v1_2::CreateModel_dynamic_output_shape_int32,
54             select_v1_2::is_ignored_dynamic_output_shape_int32,
55             select_v1_2::get_examples_one_dim_dynamic_output_shape_int32());
56 }
57 
TEST_F(DynamicOutputShapeTest,select_v1_2_one_dim_dynamic_output_shape_float16)58 TEST_F(DynamicOutputShapeTest, select_v1_2_one_dim_dynamic_output_shape_float16) {
59     execute(select_v1_2::CreateModel_dynamic_output_shape_float16,
60             select_v1_2::is_ignored_dynamic_output_shape_float16,
61             select_v1_2::get_examples_one_dim_dynamic_output_shape_float16());
62 }
63 
TEST_F(DynamicOutputShapeTest,select_v1_2_one_dim_dynamic_output_shape_relaxed)64 TEST_F(DynamicOutputShapeTest, select_v1_2_one_dim_dynamic_output_shape_relaxed) {
65     execute(select_v1_2::CreateModel_dynamic_output_shape_relaxed,
66             select_v1_2::is_ignored_dynamic_output_shape_relaxed,
67             select_v1_2::get_examples_one_dim_dynamic_output_shape_relaxed());
68 }
69 
TEST_F(DynamicOutputShapeTest,select_v1_2_one_dim_dynamic_output_shape_quant8)70 TEST_F(DynamicOutputShapeTest, select_v1_2_one_dim_dynamic_output_shape_quant8) {
71     execute(select_v1_2::CreateModel_dynamic_output_shape_quant8,
72             select_v1_2::is_ignored_dynamic_output_shape_quant8,
73             select_v1_2::get_examples_one_dim_dynamic_output_shape_quant8());
74 }
75 
TEST_F(GeneratedTests,select_v1_2_two_dim)76 TEST_F(GeneratedTests, select_v1_2_two_dim) {
77     execute(select_v1_2::CreateModel_2,
78             select_v1_2::is_ignored_2,
79             select_v1_2::get_examples_two_dim());
80 }
TEST_AVAILABLE_SINCE(V1_2,select_v1_2_two_dim,select_v1_2::CreateModel_2)81 TEST_AVAILABLE_SINCE(V1_2, select_v1_2_two_dim, select_v1_2::CreateModel_2)
82 
83 TEST_F(GeneratedTests, select_v1_2_two_dim_int32) {
84     execute(select_v1_2::CreateModel_int32_2,
85             select_v1_2::is_ignored_int32_2,
86             select_v1_2::get_examples_two_dim_int32());
87 }
TEST_AVAILABLE_SINCE(V1_2,select_v1_2_two_dim_int32,select_v1_2::CreateModel_int32_2)88 TEST_AVAILABLE_SINCE(V1_2, select_v1_2_two_dim_int32, select_v1_2::CreateModel_int32_2)
89 
90 TEST_F(GeneratedTests, select_v1_2_two_dim_float16) {
91     execute(select_v1_2::CreateModel_float16_2,
92             select_v1_2::is_ignored_float16_2,
93             select_v1_2::get_examples_two_dim_float16());
94 }
TEST_AVAILABLE_SINCE(V1_2,select_v1_2_two_dim_float16,select_v1_2::CreateModel_float16_2)95 TEST_AVAILABLE_SINCE(V1_2, select_v1_2_two_dim_float16, select_v1_2::CreateModel_float16_2)
96 
97 TEST_F(GeneratedTests, select_v1_2_two_dim_relaxed) {
98     execute(select_v1_2::CreateModel_relaxed_2,
99             select_v1_2::is_ignored_relaxed_2,
100             select_v1_2::get_examples_two_dim_relaxed());
101 }
102 
TEST_F(GeneratedTests,select_v1_2_two_dim_quant8)103 TEST_F(GeneratedTests, select_v1_2_two_dim_quant8) {
104     execute(select_v1_2::CreateModel_quant8_2,
105             select_v1_2::is_ignored_quant8_2,
106             select_v1_2::get_examples_two_dim_quant8());
107 }
TEST_AVAILABLE_SINCE(V1_2,select_v1_2_two_dim_quant8,select_v1_2::CreateModel_quant8_2)108 TEST_AVAILABLE_SINCE(V1_2, select_v1_2_two_dim_quant8, select_v1_2::CreateModel_quant8_2)
109 
110 TEST_F(DynamicOutputShapeTest, select_v1_2_two_dim_dynamic_output_shape) {
111     execute(select_v1_2::CreateModel_dynamic_output_shape_2,
112             select_v1_2::is_ignored_dynamic_output_shape_2,
113             select_v1_2::get_examples_two_dim_dynamic_output_shape());
114 }
115 
TEST_F(DynamicOutputShapeTest,select_v1_2_two_dim_dynamic_output_shape_int32)116 TEST_F(DynamicOutputShapeTest, select_v1_2_two_dim_dynamic_output_shape_int32) {
117     execute(select_v1_2::CreateModel_dynamic_output_shape_int32_2,
118             select_v1_2::is_ignored_dynamic_output_shape_int32_2,
119             select_v1_2::get_examples_two_dim_dynamic_output_shape_int32());
120 }
121 
TEST_F(DynamicOutputShapeTest,select_v1_2_two_dim_dynamic_output_shape_float16)122 TEST_F(DynamicOutputShapeTest, select_v1_2_two_dim_dynamic_output_shape_float16) {
123     execute(select_v1_2::CreateModel_dynamic_output_shape_float16_2,
124             select_v1_2::is_ignored_dynamic_output_shape_float16_2,
125             select_v1_2::get_examples_two_dim_dynamic_output_shape_float16());
126 }
127 
TEST_F(DynamicOutputShapeTest,select_v1_2_two_dim_dynamic_output_shape_relaxed)128 TEST_F(DynamicOutputShapeTest, select_v1_2_two_dim_dynamic_output_shape_relaxed) {
129     execute(select_v1_2::CreateModel_dynamic_output_shape_relaxed_2,
130             select_v1_2::is_ignored_dynamic_output_shape_relaxed_2,
131             select_v1_2::get_examples_two_dim_dynamic_output_shape_relaxed());
132 }
133 
TEST_F(DynamicOutputShapeTest,select_v1_2_two_dim_dynamic_output_shape_quant8)134 TEST_F(DynamicOutputShapeTest, select_v1_2_two_dim_dynamic_output_shape_quant8) {
135     execute(select_v1_2::CreateModel_dynamic_output_shape_quant8_2,
136             select_v1_2::is_ignored_dynamic_output_shape_quant8_2,
137             select_v1_2::get_examples_two_dim_dynamic_output_shape_quant8());
138 }
139 
TEST_F(GeneratedTests,select_v1_2_five_dim)140 TEST_F(GeneratedTests, select_v1_2_five_dim) {
141     execute(select_v1_2::CreateModel_3,
142             select_v1_2::is_ignored_3,
143             select_v1_2::get_examples_five_dim());
144 }
TEST_AVAILABLE_SINCE(V1_2,select_v1_2_five_dim,select_v1_2::CreateModel_3)145 TEST_AVAILABLE_SINCE(V1_2, select_v1_2_five_dim, select_v1_2::CreateModel_3)
146 
147 TEST_F(GeneratedTests, select_v1_2_five_dim_int32) {
148     execute(select_v1_2::CreateModel_int32_3,
149             select_v1_2::is_ignored_int32_3,
150             select_v1_2::get_examples_five_dim_int32());
151 }
TEST_AVAILABLE_SINCE(V1_2,select_v1_2_five_dim_int32,select_v1_2::CreateModel_int32_3)152 TEST_AVAILABLE_SINCE(V1_2, select_v1_2_five_dim_int32, select_v1_2::CreateModel_int32_3)
153 
154 TEST_F(GeneratedTests, select_v1_2_five_dim_float16) {
155     execute(select_v1_2::CreateModel_float16_3,
156             select_v1_2::is_ignored_float16_3,
157             select_v1_2::get_examples_five_dim_float16());
158 }
TEST_AVAILABLE_SINCE(V1_2,select_v1_2_five_dim_float16,select_v1_2::CreateModel_float16_3)159 TEST_AVAILABLE_SINCE(V1_2, select_v1_2_five_dim_float16, select_v1_2::CreateModel_float16_3)
160 
161 TEST_F(GeneratedTests, select_v1_2_five_dim_relaxed) {
162     execute(select_v1_2::CreateModel_relaxed_3,
163             select_v1_2::is_ignored_relaxed_3,
164             select_v1_2::get_examples_five_dim_relaxed());
165 }
166 
TEST_F(GeneratedTests,select_v1_2_five_dim_quant8)167 TEST_F(GeneratedTests, select_v1_2_five_dim_quant8) {
168     execute(select_v1_2::CreateModel_quant8_3,
169             select_v1_2::is_ignored_quant8_3,
170             select_v1_2::get_examples_five_dim_quant8());
171 }
TEST_AVAILABLE_SINCE(V1_2,select_v1_2_five_dim_quant8,select_v1_2::CreateModel_quant8_3)172 TEST_AVAILABLE_SINCE(V1_2, select_v1_2_five_dim_quant8, select_v1_2::CreateModel_quant8_3)
173 
174 TEST_F(DynamicOutputShapeTest, select_v1_2_five_dim_dynamic_output_shape) {
175     execute(select_v1_2::CreateModel_dynamic_output_shape_3,
176             select_v1_2::is_ignored_dynamic_output_shape_3,
177             select_v1_2::get_examples_five_dim_dynamic_output_shape());
178 }
179 
TEST_F(DynamicOutputShapeTest,select_v1_2_five_dim_dynamic_output_shape_int32)180 TEST_F(DynamicOutputShapeTest, select_v1_2_five_dim_dynamic_output_shape_int32) {
181     execute(select_v1_2::CreateModel_dynamic_output_shape_int32_3,
182             select_v1_2::is_ignored_dynamic_output_shape_int32_3,
183             select_v1_2::get_examples_five_dim_dynamic_output_shape_int32());
184 }
185 
TEST_F(DynamicOutputShapeTest,select_v1_2_five_dim_dynamic_output_shape_float16)186 TEST_F(DynamicOutputShapeTest, select_v1_2_five_dim_dynamic_output_shape_float16) {
187     execute(select_v1_2::CreateModel_dynamic_output_shape_float16_3,
188             select_v1_2::is_ignored_dynamic_output_shape_float16_3,
189             select_v1_2::get_examples_five_dim_dynamic_output_shape_float16());
190 }
191 
TEST_F(DynamicOutputShapeTest,select_v1_2_five_dim_dynamic_output_shape_relaxed)192 TEST_F(DynamicOutputShapeTest, select_v1_2_five_dim_dynamic_output_shape_relaxed) {
193     execute(select_v1_2::CreateModel_dynamic_output_shape_relaxed_3,
194             select_v1_2::is_ignored_dynamic_output_shape_relaxed_3,
195             select_v1_2::get_examples_five_dim_dynamic_output_shape_relaxed());
196 }
197 
TEST_F(DynamicOutputShapeTest,select_v1_2_five_dim_dynamic_output_shape_quant8)198 TEST_F(DynamicOutputShapeTest, select_v1_2_five_dim_dynamic_output_shape_quant8) {
199     execute(select_v1_2::CreateModel_dynamic_output_shape_quant8_3,
200             select_v1_2::is_ignored_dynamic_output_shape_quant8_3,
201             select_v1_2::get_examples_five_dim_dynamic_output_shape_quant8());
202 }
203 
204