1 // clang-format off
2 // Generated file (from: heatmap_max_keypoint.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace heatmap_max_keypoint {
6 // Generated heatmap_max_keypoint test
7 #include "generated/examples/heatmap_max_keypoint.example.cpp"
8 // Generated model constructor
9 #include "generated/models/heatmap_max_keypoint.model.cpp"
10 } // namespace heatmap_max_keypoint
11
TEST_F(GeneratedTests,heatmap_max_keypoint_nhwc)12 TEST_F(GeneratedTests, heatmap_max_keypoint_nhwc) {
13 execute(heatmap_max_keypoint::CreateModel_nhwc,
14 heatmap_max_keypoint::is_ignored_nhwc,
15 heatmap_max_keypoint::get_examples_nhwc());
16 }
TEST_AVAILABLE_SINCE(V1_2,heatmap_max_keypoint_nhwc,heatmap_max_keypoint::CreateModel_nhwc)17 TEST_AVAILABLE_SINCE(V1_2, heatmap_max_keypoint_nhwc, heatmap_max_keypoint::CreateModel_nhwc)
18
19 TEST_F(GeneratedTests, heatmap_max_keypoint_nhwc_relaxed) {
20 execute(heatmap_max_keypoint::CreateModel_nhwc_relaxed,
21 heatmap_max_keypoint::is_ignored_nhwc_relaxed,
22 heatmap_max_keypoint::get_examples_nhwc_relaxed());
23 }
24
TEST_F(GeneratedTests,heatmap_max_keypoint_nhwc_float16)25 TEST_F(GeneratedTests, heatmap_max_keypoint_nhwc_float16) {
26 execute(heatmap_max_keypoint::CreateModel_nhwc_float16,
27 heatmap_max_keypoint::is_ignored_nhwc_float16,
28 heatmap_max_keypoint::get_examples_nhwc_float16());
29 }
TEST_AVAILABLE_SINCE(V1_2,heatmap_max_keypoint_nhwc_float16,heatmap_max_keypoint::CreateModel_nhwc_float16)30 TEST_AVAILABLE_SINCE(V1_2, heatmap_max_keypoint_nhwc_float16, heatmap_max_keypoint::CreateModel_nhwc_float16)
31
32 TEST_F(GeneratedTests, heatmap_max_keypoint_nchw) {
33 execute(heatmap_max_keypoint::CreateModel_nchw,
34 heatmap_max_keypoint::is_ignored_nchw,
35 heatmap_max_keypoint::get_examples_nchw());
36 }
TEST_AVAILABLE_SINCE(V1_2,heatmap_max_keypoint_nchw,heatmap_max_keypoint::CreateModel_nchw)37 TEST_AVAILABLE_SINCE(V1_2, heatmap_max_keypoint_nchw, heatmap_max_keypoint::CreateModel_nchw)
38
39 TEST_F(GeneratedTests, heatmap_max_keypoint_nchw_relaxed) {
40 execute(heatmap_max_keypoint::CreateModel_nchw_relaxed,
41 heatmap_max_keypoint::is_ignored_nchw_relaxed,
42 heatmap_max_keypoint::get_examples_nchw_relaxed());
43 }
44
TEST_F(GeneratedTests,heatmap_max_keypoint_nchw_float16)45 TEST_F(GeneratedTests, heatmap_max_keypoint_nchw_float16) {
46 execute(heatmap_max_keypoint::CreateModel_nchw_float16,
47 heatmap_max_keypoint::is_ignored_nchw_float16,
48 heatmap_max_keypoint::get_examples_nchw_float16());
49 }
TEST_AVAILABLE_SINCE(V1_2,heatmap_max_keypoint_nchw_float16,heatmap_max_keypoint::CreateModel_nchw_float16)50 TEST_AVAILABLE_SINCE(V1_2, heatmap_max_keypoint_nchw_float16, heatmap_max_keypoint::CreateModel_nchw_float16)
51
52 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nhwc) {
53 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nhwc,
54 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nhwc,
55 heatmap_max_keypoint::get_examples_dynamic_output_shape_nhwc());
56 }
57
TEST_F(DynamicOutputShapeTest,heatmap_max_keypoint_dynamic_output_shape_nhwc_relaxed)58 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nhwc_relaxed) {
59 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nhwc_relaxed,
60 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nhwc_relaxed,
61 heatmap_max_keypoint::get_examples_dynamic_output_shape_nhwc_relaxed());
62 }
63
TEST_F(DynamicOutputShapeTest,heatmap_max_keypoint_dynamic_output_shape_nhwc_float16)64 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nhwc_float16) {
65 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nhwc_float16,
66 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nhwc_float16,
67 heatmap_max_keypoint::get_examples_dynamic_output_shape_nhwc_float16());
68 }
69
TEST_F(DynamicOutputShapeTest,heatmap_max_keypoint_dynamic_output_shape_nchw)70 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nchw) {
71 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nchw,
72 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nchw,
73 heatmap_max_keypoint::get_examples_dynamic_output_shape_nchw());
74 }
75
TEST_F(DynamicOutputShapeTest,heatmap_max_keypoint_dynamic_output_shape_nchw_relaxed)76 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nchw_relaxed) {
77 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nchw_relaxed,
78 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nchw_relaxed,
79 heatmap_max_keypoint::get_examples_dynamic_output_shape_nchw_relaxed());
80 }
81
TEST_F(DynamicOutputShapeTest,heatmap_max_keypoint_dynamic_output_shape_nchw_float16)82 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nchw_float16) {
83 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nchw_float16,
84 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nchw_float16,
85 heatmap_max_keypoint::get_examples_dynamic_output_shape_nchw_float16());
86 }
87
TEST_F(GeneratedTests,heatmap_max_keypoint_nhwc_2)88 TEST_F(GeneratedTests, heatmap_max_keypoint_nhwc_2) {
89 execute(heatmap_max_keypoint::CreateModel_nhwc_2,
90 heatmap_max_keypoint::is_ignored_nhwc_2,
91 heatmap_max_keypoint::get_examples_nhwc_2());
92 }
TEST_AVAILABLE_SINCE(V1_2,heatmap_max_keypoint_nhwc_2,heatmap_max_keypoint::CreateModel_nhwc_2)93 TEST_AVAILABLE_SINCE(V1_2, heatmap_max_keypoint_nhwc_2, heatmap_max_keypoint::CreateModel_nhwc_2)
94
95 TEST_F(GeneratedTests, heatmap_max_keypoint_nhwc_relaxed_2) {
96 execute(heatmap_max_keypoint::CreateModel_nhwc_relaxed_2,
97 heatmap_max_keypoint::is_ignored_nhwc_relaxed_2,
98 heatmap_max_keypoint::get_examples_nhwc_relaxed_2());
99 }
100
TEST_F(GeneratedTests,heatmap_max_keypoint_nhwc_float16_2)101 TEST_F(GeneratedTests, heatmap_max_keypoint_nhwc_float16_2) {
102 execute(heatmap_max_keypoint::CreateModel_nhwc_float16_2,
103 heatmap_max_keypoint::is_ignored_nhwc_float16_2,
104 heatmap_max_keypoint::get_examples_nhwc_float16_2());
105 }
TEST_AVAILABLE_SINCE(V1_2,heatmap_max_keypoint_nhwc_float16_2,heatmap_max_keypoint::CreateModel_nhwc_float16_2)106 TEST_AVAILABLE_SINCE(V1_2, heatmap_max_keypoint_nhwc_float16_2, heatmap_max_keypoint::CreateModel_nhwc_float16_2)
107
108 TEST_F(GeneratedTests, heatmap_max_keypoint_nhwc_quant8) {
109 execute(heatmap_max_keypoint::CreateModel_nhwc_quant8,
110 heatmap_max_keypoint::is_ignored_nhwc_quant8,
111 heatmap_max_keypoint::get_examples_nhwc_quant8());
112 }
TEST_AVAILABLE_SINCE(V1_2,heatmap_max_keypoint_nhwc_quant8,heatmap_max_keypoint::CreateModel_nhwc_quant8)113 TEST_AVAILABLE_SINCE(V1_2, heatmap_max_keypoint_nhwc_quant8, heatmap_max_keypoint::CreateModel_nhwc_quant8)
114
115 TEST_F(GeneratedTests, heatmap_max_keypoint_nchw_2) {
116 execute(heatmap_max_keypoint::CreateModel_nchw_2,
117 heatmap_max_keypoint::is_ignored_nchw_2,
118 heatmap_max_keypoint::get_examples_nchw_2());
119 }
TEST_AVAILABLE_SINCE(V1_2,heatmap_max_keypoint_nchw_2,heatmap_max_keypoint::CreateModel_nchw_2)120 TEST_AVAILABLE_SINCE(V1_2, heatmap_max_keypoint_nchw_2, heatmap_max_keypoint::CreateModel_nchw_2)
121
122 TEST_F(GeneratedTests, heatmap_max_keypoint_nchw_relaxed_2) {
123 execute(heatmap_max_keypoint::CreateModel_nchw_relaxed_2,
124 heatmap_max_keypoint::is_ignored_nchw_relaxed_2,
125 heatmap_max_keypoint::get_examples_nchw_relaxed_2());
126 }
127
TEST_F(GeneratedTests,heatmap_max_keypoint_nchw_float16_2)128 TEST_F(GeneratedTests, heatmap_max_keypoint_nchw_float16_2) {
129 execute(heatmap_max_keypoint::CreateModel_nchw_float16_2,
130 heatmap_max_keypoint::is_ignored_nchw_float16_2,
131 heatmap_max_keypoint::get_examples_nchw_float16_2());
132 }
TEST_AVAILABLE_SINCE(V1_2,heatmap_max_keypoint_nchw_float16_2,heatmap_max_keypoint::CreateModel_nchw_float16_2)133 TEST_AVAILABLE_SINCE(V1_2, heatmap_max_keypoint_nchw_float16_2, heatmap_max_keypoint::CreateModel_nchw_float16_2)
134
135 TEST_F(GeneratedTests, heatmap_max_keypoint_nchw_quant8) {
136 execute(heatmap_max_keypoint::CreateModel_nchw_quant8,
137 heatmap_max_keypoint::is_ignored_nchw_quant8,
138 heatmap_max_keypoint::get_examples_nchw_quant8());
139 }
TEST_AVAILABLE_SINCE(V1_2,heatmap_max_keypoint_nchw_quant8,heatmap_max_keypoint::CreateModel_nchw_quant8)140 TEST_AVAILABLE_SINCE(V1_2, heatmap_max_keypoint_nchw_quant8, heatmap_max_keypoint::CreateModel_nchw_quant8)
141
142 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nhwc_2) {
143 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nhwc_2,
144 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nhwc_2,
145 heatmap_max_keypoint::get_examples_dynamic_output_shape_nhwc_2());
146 }
147
TEST_F(DynamicOutputShapeTest,heatmap_max_keypoint_dynamic_output_shape_nhwc_relaxed_2)148 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nhwc_relaxed_2) {
149 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nhwc_relaxed_2,
150 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nhwc_relaxed_2,
151 heatmap_max_keypoint::get_examples_dynamic_output_shape_nhwc_relaxed_2());
152 }
153
TEST_F(DynamicOutputShapeTest,heatmap_max_keypoint_dynamic_output_shape_nhwc_float16_2)154 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nhwc_float16_2) {
155 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nhwc_float16_2,
156 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nhwc_float16_2,
157 heatmap_max_keypoint::get_examples_dynamic_output_shape_nhwc_float16_2());
158 }
159
TEST_F(DynamicOutputShapeTest,heatmap_max_keypoint_dynamic_output_shape_nhwc_quant8)160 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nhwc_quant8) {
161 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nhwc_quant8,
162 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nhwc_quant8,
163 heatmap_max_keypoint::get_examples_dynamic_output_shape_nhwc_quant8());
164 }
165
TEST_F(DynamicOutputShapeTest,heatmap_max_keypoint_dynamic_output_shape_nchw_2)166 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nchw_2) {
167 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nchw_2,
168 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nchw_2,
169 heatmap_max_keypoint::get_examples_dynamic_output_shape_nchw_2());
170 }
171
TEST_F(DynamicOutputShapeTest,heatmap_max_keypoint_dynamic_output_shape_nchw_relaxed_2)172 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nchw_relaxed_2) {
173 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nchw_relaxed_2,
174 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nchw_relaxed_2,
175 heatmap_max_keypoint::get_examples_dynamic_output_shape_nchw_relaxed_2());
176 }
177
TEST_F(DynamicOutputShapeTest,heatmap_max_keypoint_dynamic_output_shape_nchw_float16_2)178 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nchw_float16_2) {
179 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nchw_float16_2,
180 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nchw_float16_2,
181 heatmap_max_keypoint::get_examples_dynamic_output_shape_nchw_float16_2());
182 }
183
TEST_F(DynamicOutputShapeTest,heatmap_max_keypoint_dynamic_output_shape_nchw_quant8)184 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nchw_quant8) {
185 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nchw_quant8,
186 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nchw_quant8,
187 heatmap_max_keypoint::get_examples_dynamic_output_shape_nchw_quant8());
188 }
189
TEST_F(GeneratedTests,heatmap_max_keypoint_nhwc_quant8_2)190 TEST_F(GeneratedTests, heatmap_max_keypoint_nhwc_quant8_2) {
191 execute(heatmap_max_keypoint::CreateModel_nhwc_quant8_2,
192 heatmap_max_keypoint::is_ignored_nhwc_quant8_2,
193 heatmap_max_keypoint::get_examples_nhwc_quant8_2());
194 }
TEST_AVAILABLE_SINCE(V1_2,heatmap_max_keypoint_nhwc_quant8_2,heatmap_max_keypoint::CreateModel_nhwc_quant8_2)195 TEST_AVAILABLE_SINCE(V1_2, heatmap_max_keypoint_nhwc_quant8_2, heatmap_max_keypoint::CreateModel_nhwc_quant8_2)
196
197 TEST_F(GeneratedTests, heatmap_max_keypoint_nchw_quant8_2) {
198 execute(heatmap_max_keypoint::CreateModel_nchw_quant8_2,
199 heatmap_max_keypoint::is_ignored_nchw_quant8_2,
200 heatmap_max_keypoint::get_examples_nchw_quant8_2());
201 }
TEST_AVAILABLE_SINCE(V1_2,heatmap_max_keypoint_nchw_quant8_2,heatmap_max_keypoint::CreateModel_nchw_quant8_2)202 TEST_AVAILABLE_SINCE(V1_2, heatmap_max_keypoint_nchw_quant8_2, heatmap_max_keypoint::CreateModel_nchw_quant8_2)
203
204 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nhwc_quant8_2) {
205 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nhwc_quant8_2,
206 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nhwc_quant8_2,
207 heatmap_max_keypoint::get_examples_dynamic_output_shape_nhwc_quant8_2());
208 }
209
TEST_F(DynamicOutputShapeTest,heatmap_max_keypoint_dynamic_output_shape_nchw_quant8_2)210 TEST_F(DynamicOutputShapeTest, heatmap_max_keypoint_dynamic_output_shape_nchw_quant8_2) {
211 execute(heatmap_max_keypoint::CreateModel_dynamic_output_shape_nchw_quant8_2,
212 heatmap_max_keypoint::is_ignored_dynamic_output_shape_nchw_quant8_2,
213 heatmap_max_keypoint::get_examples_dynamic_output_shape_nchw_quant8_2());
214 }
215
216