1 // clang-format off
2 // Generated file (from: reduce_max.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace reduce_max {
6 // Generated reduce_max test
7 #include "generated/examples/reduce_max.example.cpp"
8 // Generated model constructor
9 #include "generated/models/reduce_max.model.cpp"
10 } // namespace reduce_max
11
TEST_F(GeneratedTests,reduce_max)12 TEST_F(GeneratedTests, reduce_max) {
13 execute(reduce_max::CreateModel,
14 reduce_max::is_ignored,
15 reduce_max::get_examples());
16 }
TEST_AVAILABLE_SINCE(V1_2,reduce_max,reduce_max::CreateModel)17 TEST_AVAILABLE_SINCE(V1_2, reduce_max, reduce_max::CreateModel)
18
19 TEST_F(GeneratedTests, reduce_max_relaxed) {
20 execute(reduce_max::CreateModel_relaxed,
21 reduce_max::is_ignored_relaxed,
22 reduce_max::get_examples_relaxed());
23 }
24
TEST_F(GeneratedTests,reduce_max_float16)25 TEST_F(GeneratedTests, reduce_max_float16) {
26 execute(reduce_max::CreateModel_float16,
27 reduce_max::is_ignored_float16,
28 reduce_max::get_examples_float16());
29 }
TEST_AVAILABLE_SINCE(V1_2,reduce_max_float16,reduce_max::CreateModel_float16)30 TEST_AVAILABLE_SINCE(V1_2, reduce_max_float16, reduce_max::CreateModel_float16)
31
32 TEST_F(GeneratedTests, reduce_max_quant8) {
33 execute(reduce_max::CreateModel_quant8,
34 reduce_max::is_ignored_quant8,
35 reduce_max::get_examples_quant8());
36 }
TEST_AVAILABLE_SINCE(V1_2,reduce_max_quant8,reduce_max::CreateModel_quant8)37 TEST_AVAILABLE_SINCE(V1_2, reduce_max_quant8, reduce_max::CreateModel_quant8)
38
39 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape) {
40 execute(reduce_max::CreateModel_dynamic_output_shape,
41 reduce_max::is_ignored_dynamic_output_shape,
42 reduce_max::get_examples_dynamic_output_shape());
43 }
44
TEST_F(DynamicOutputShapeTest,reduce_max_dynamic_output_shape_relaxed)45 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_relaxed) {
46 execute(reduce_max::CreateModel_dynamic_output_shape_relaxed,
47 reduce_max::is_ignored_dynamic_output_shape_relaxed,
48 reduce_max::get_examples_dynamic_output_shape_relaxed());
49 }
50
TEST_F(DynamicOutputShapeTest,reduce_max_dynamic_output_shape_float16)51 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_float16) {
52 execute(reduce_max::CreateModel_dynamic_output_shape_float16,
53 reduce_max::is_ignored_dynamic_output_shape_float16,
54 reduce_max::get_examples_dynamic_output_shape_float16());
55 }
56
TEST_F(DynamicOutputShapeTest,reduce_max_dynamic_output_shape_quant8)57 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_quant8) {
58 execute(reduce_max::CreateModel_dynamic_output_shape_quant8,
59 reduce_max::is_ignored_dynamic_output_shape_quant8,
60 reduce_max::get_examples_dynamic_output_shape_quant8());
61 }
62
TEST_F(GeneratedTests,reduce_max_2)63 TEST_F(GeneratedTests, reduce_max_2) {
64 execute(reduce_max::CreateModel_2,
65 reduce_max::is_ignored_2,
66 reduce_max::get_examples_2());
67 }
TEST_AVAILABLE_SINCE(V1_2,reduce_max_2,reduce_max::CreateModel_2)68 TEST_AVAILABLE_SINCE(V1_2, reduce_max_2, reduce_max::CreateModel_2)
69
70 TEST_F(GeneratedTests, reduce_max_relaxed_2) {
71 execute(reduce_max::CreateModel_relaxed_2,
72 reduce_max::is_ignored_relaxed_2,
73 reduce_max::get_examples_relaxed_2());
74 }
75
TEST_F(GeneratedTests,reduce_max_float16_2)76 TEST_F(GeneratedTests, reduce_max_float16_2) {
77 execute(reduce_max::CreateModel_float16_2,
78 reduce_max::is_ignored_float16_2,
79 reduce_max::get_examples_float16_2());
80 }
TEST_AVAILABLE_SINCE(V1_2,reduce_max_float16_2,reduce_max::CreateModel_float16_2)81 TEST_AVAILABLE_SINCE(V1_2, reduce_max_float16_2, reduce_max::CreateModel_float16_2)
82
83 TEST_F(GeneratedTests, reduce_max_quant8_2) {
84 execute(reduce_max::CreateModel_quant8_2,
85 reduce_max::is_ignored_quant8_2,
86 reduce_max::get_examples_quant8_2());
87 }
TEST_AVAILABLE_SINCE(V1_2,reduce_max_quant8_2,reduce_max::CreateModel_quant8_2)88 TEST_AVAILABLE_SINCE(V1_2, reduce_max_quant8_2, reduce_max::CreateModel_quant8_2)
89
90 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_2) {
91 execute(reduce_max::CreateModel_dynamic_output_shape_2,
92 reduce_max::is_ignored_dynamic_output_shape_2,
93 reduce_max::get_examples_dynamic_output_shape_2());
94 }
95
TEST_F(DynamicOutputShapeTest,reduce_max_dynamic_output_shape_relaxed_2)96 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_relaxed_2) {
97 execute(reduce_max::CreateModel_dynamic_output_shape_relaxed_2,
98 reduce_max::is_ignored_dynamic_output_shape_relaxed_2,
99 reduce_max::get_examples_dynamic_output_shape_relaxed_2());
100 }
101
TEST_F(DynamicOutputShapeTest,reduce_max_dynamic_output_shape_float16_2)102 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_float16_2) {
103 execute(reduce_max::CreateModel_dynamic_output_shape_float16_2,
104 reduce_max::is_ignored_dynamic_output_shape_float16_2,
105 reduce_max::get_examples_dynamic_output_shape_float16_2());
106 }
107
TEST_F(DynamicOutputShapeTest,reduce_max_dynamic_output_shape_quant8_2)108 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_quant8_2) {
109 execute(reduce_max::CreateModel_dynamic_output_shape_quant8_2,
110 reduce_max::is_ignored_dynamic_output_shape_quant8_2,
111 reduce_max::get_examples_dynamic_output_shape_quant8_2());
112 }
113
TEST_F(GeneratedTests,reduce_max_3)114 TEST_F(GeneratedTests, reduce_max_3) {
115 execute(reduce_max::CreateModel_3,
116 reduce_max::is_ignored_3,
117 reduce_max::get_examples_3());
118 }
TEST_AVAILABLE_SINCE(V1_2,reduce_max_3,reduce_max::CreateModel_3)119 TEST_AVAILABLE_SINCE(V1_2, reduce_max_3, reduce_max::CreateModel_3)
120
121 TEST_F(GeneratedTests, reduce_max_relaxed_3) {
122 execute(reduce_max::CreateModel_relaxed_3,
123 reduce_max::is_ignored_relaxed_3,
124 reduce_max::get_examples_relaxed_3());
125 }
126
TEST_F(GeneratedTests,reduce_max_float16_3)127 TEST_F(GeneratedTests, reduce_max_float16_3) {
128 execute(reduce_max::CreateModel_float16_3,
129 reduce_max::is_ignored_float16_3,
130 reduce_max::get_examples_float16_3());
131 }
TEST_AVAILABLE_SINCE(V1_2,reduce_max_float16_3,reduce_max::CreateModel_float16_3)132 TEST_AVAILABLE_SINCE(V1_2, reduce_max_float16_3, reduce_max::CreateModel_float16_3)
133
134 TEST_F(GeneratedTests, reduce_max_quant8_3) {
135 execute(reduce_max::CreateModel_quant8_3,
136 reduce_max::is_ignored_quant8_3,
137 reduce_max::get_examples_quant8_3());
138 }
TEST_AVAILABLE_SINCE(V1_2,reduce_max_quant8_3,reduce_max::CreateModel_quant8_3)139 TEST_AVAILABLE_SINCE(V1_2, reduce_max_quant8_3, reduce_max::CreateModel_quant8_3)
140
141 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_3) {
142 execute(reduce_max::CreateModel_dynamic_output_shape_3,
143 reduce_max::is_ignored_dynamic_output_shape_3,
144 reduce_max::get_examples_dynamic_output_shape_3());
145 }
146
TEST_F(DynamicOutputShapeTest,reduce_max_dynamic_output_shape_relaxed_3)147 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_relaxed_3) {
148 execute(reduce_max::CreateModel_dynamic_output_shape_relaxed_3,
149 reduce_max::is_ignored_dynamic_output_shape_relaxed_3,
150 reduce_max::get_examples_dynamic_output_shape_relaxed_3());
151 }
152
TEST_F(DynamicOutputShapeTest,reduce_max_dynamic_output_shape_float16_3)153 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_float16_3) {
154 execute(reduce_max::CreateModel_dynamic_output_shape_float16_3,
155 reduce_max::is_ignored_dynamic_output_shape_float16_3,
156 reduce_max::get_examples_dynamic_output_shape_float16_3());
157 }
158
TEST_F(DynamicOutputShapeTest,reduce_max_dynamic_output_shape_quant8_3)159 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_quant8_3) {
160 execute(reduce_max::CreateModel_dynamic_output_shape_quant8_3,
161 reduce_max::is_ignored_dynamic_output_shape_quant8_3,
162 reduce_max::get_examples_dynamic_output_shape_quant8_3());
163 }
164
TEST_F(GeneratedTests,reduce_max_4)165 TEST_F(GeneratedTests, reduce_max_4) {
166 execute(reduce_max::CreateModel_4,
167 reduce_max::is_ignored_4,
168 reduce_max::get_examples_4());
169 }
TEST_AVAILABLE_SINCE(V1_2,reduce_max_4,reduce_max::CreateModel_4)170 TEST_AVAILABLE_SINCE(V1_2, reduce_max_4, reduce_max::CreateModel_4)
171
172 TEST_F(GeneratedTests, reduce_max_relaxed_4) {
173 execute(reduce_max::CreateModel_relaxed_4,
174 reduce_max::is_ignored_relaxed_4,
175 reduce_max::get_examples_relaxed_4());
176 }
177
TEST_F(GeneratedTests,reduce_max_float16_4)178 TEST_F(GeneratedTests, reduce_max_float16_4) {
179 execute(reduce_max::CreateModel_float16_4,
180 reduce_max::is_ignored_float16_4,
181 reduce_max::get_examples_float16_4());
182 }
TEST_AVAILABLE_SINCE(V1_2,reduce_max_float16_4,reduce_max::CreateModel_float16_4)183 TEST_AVAILABLE_SINCE(V1_2, reduce_max_float16_4, reduce_max::CreateModel_float16_4)
184
185 TEST_F(GeneratedTests, reduce_max_quant8_4) {
186 execute(reduce_max::CreateModel_quant8_4,
187 reduce_max::is_ignored_quant8_4,
188 reduce_max::get_examples_quant8_4());
189 }
TEST_AVAILABLE_SINCE(V1_2,reduce_max_quant8_4,reduce_max::CreateModel_quant8_4)190 TEST_AVAILABLE_SINCE(V1_2, reduce_max_quant8_4, reduce_max::CreateModel_quant8_4)
191
192 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_4) {
193 execute(reduce_max::CreateModel_dynamic_output_shape_4,
194 reduce_max::is_ignored_dynamic_output_shape_4,
195 reduce_max::get_examples_dynamic_output_shape_4());
196 }
197
TEST_F(DynamicOutputShapeTest,reduce_max_dynamic_output_shape_relaxed_4)198 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_relaxed_4) {
199 execute(reduce_max::CreateModel_dynamic_output_shape_relaxed_4,
200 reduce_max::is_ignored_dynamic_output_shape_relaxed_4,
201 reduce_max::get_examples_dynamic_output_shape_relaxed_4());
202 }
203
TEST_F(DynamicOutputShapeTest,reduce_max_dynamic_output_shape_float16_4)204 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_float16_4) {
205 execute(reduce_max::CreateModel_dynamic_output_shape_float16_4,
206 reduce_max::is_ignored_dynamic_output_shape_float16_4,
207 reduce_max::get_examples_dynamic_output_shape_float16_4());
208 }
209
TEST_F(DynamicOutputShapeTest,reduce_max_dynamic_output_shape_quant8_4)210 TEST_F(DynamicOutputShapeTest, reduce_max_dynamic_output_shape_quant8_4) {
211 execute(reduce_max::CreateModel_dynamic_output_shape_quant8_4,
212 reduce_max::is_ignored_dynamic_output_shape_quant8_4,
213 reduce_max::get_examples_dynamic_output_shape_quant8_4());
214 }
215
216