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