1 // clang-format off
2 // Generated file (from: detection_postprocess.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace detection_postprocess {
6 // Generated detection_postprocess test
7 #include "generated/examples/detection_postprocess.example.cpp"
8 // Generated model constructor
9 #include "generated/models/detection_postprocess.model.cpp"
10 } // namespace detection_postprocess
11
TEST_F(GeneratedTests,detection_postprocess_regular)12 TEST_F(GeneratedTests, detection_postprocess_regular) {
13 execute(detection_postprocess::CreateModel_regular,
14 detection_postprocess::is_ignored_regular,
15 detection_postprocess::get_examples_regular());
16 }
TEST_AVAILABLE_SINCE(V1_2,detection_postprocess_regular,detection_postprocess::CreateModel_regular)17 TEST_AVAILABLE_SINCE(V1_2, detection_postprocess_regular, detection_postprocess::CreateModel_regular)
18
19 TEST_F(GeneratedTests, detection_postprocess_regular_relaxed) {
20 execute(detection_postprocess::CreateModel_regular_relaxed,
21 detection_postprocess::is_ignored_regular_relaxed,
22 detection_postprocess::get_examples_regular_relaxed());
23 }
24
TEST_F(GeneratedTests,detection_postprocess_regular_float16)25 TEST_F(GeneratedTests, detection_postprocess_regular_float16) {
26 execute(detection_postprocess::CreateModel_regular_float16,
27 detection_postprocess::is_ignored_regular_float16,
28 detection_postprocess::get_examples_regular_float16());
29 }
TEST_AVAILABLE_SINCE(V1_2,detection_postprocess_regular_float16,detection_postprocess::CreateModel_regular_float16)30 TEST_AVAILABLE_SINCE(V1_2, detection_postprocess_regular_float16, detection_postprocess::CreateModel_regular_float16)
31
32 TEST_F(DynamicOutputShapeTest, detection_postprocess_regular_dynamic_output_shape) {
33 execute(detection_postprocess::CreateModel_regular_dynamic_output_shape,
34 detection_postprocess::is_ignored_regular_dynamic_output_shape,
35 detection_postprocess::get_examples_regular_dynamic_output_shape());
36 }
37
TEST_F(DynamicOutputShapeTest,detection_postprocess_regular_dynamic_output_shape_relaxed)38 TEST_F(DynamicOutputShapeTest, detection_postprocess_regular_dynamic_output_shape_relaxed) {
39 execute(detection_postprocess::CreateModel_regular_dynamic_output_shape_relaxed,
40 detection_postprocess::is_ignored_regular_dynamic_output_shape_relaxed,
41 detection_postprocess::get_examples_regular_dynamic_output_shape_relaxed());
42 }
43
TEST_F(DynamicOutputShapeTest,detection_postprocess_regular_dynamic_output_shape_float16)44 TEST_F(DynamicOutputShapeTest, detection_postprocess_regular_dynamic_output_shape_float16) {
45 execute(detection_postprocess::CreateModel_regular_dynamic_output_shape_float16,
46 detection_postprocess::is_ignored_regular_dynamic_output_shape_float16,
47 detection_postprocess::get_examples_regular_dynamic_output_shape_float16());
48 }
49
TEST_F(GeneratedTests,detection_postprocess)50 TEST_F(GeneratedTests, detection_postprocess) {
51 execute(detection_postprocess::CreateModel,
52 detection_postprocess::is_ignored,
53 detection_postprocess::get_examples());
54 }
TEST_AVAILABLE_SINCE(V1_2,detection_postprocess,detection_postprocess::CreateModel)55 TEST_AVAILABLE_SINCE(V1_2, detection_postprocess, detection_postprocess::CreateModel)
56
57 TEST_F(GeneratedTests, detection_postprocess_relaxed) {
58 execute(detection_postprocess::CreateModel_relaxed,
59 detection_postprocess::is_ignored_relaxed,
60 detection_postprocess::get_examples_relaxed());
61 }
62
TEST_F(GeneratedTests,detection_postprocess_float16)63 TEST_F(GeneratedTests, detection_postprocess_float16) {
64 execute(detection_postprocess::CreateModel_float16,
65 detection_postprocess::is_ignored_float16,
66 detection_postprocess::get_examples_float16());
67 }
TEST_AVAILABLE_SINCE(V1_2,detection_postprocess_float16,detection_postprocess::CreateModel_float16)68 TEST_AVAILABLE_SINCE(V1_2, detection_postprocess_float16, detection_postprocess::CreateModel_float16)
69
70 TEST_F(DynamicOutputShapeTest, detection_postprocess_dynamic_output_shape) {
71 execute(detection_postprocess::CreateModel_dynamic_output_shape,
72 detection_postprocess::is_ignored_dynamic_output_shape,
73 detection_postprocess::get_examples_dynamic_output_shape());
74 }
75
TEST_F(DynamicOutputShapeTest,detection_postprocess_dynamic_output_shape_relaxed)76 TEST_F(DynamicOutputShapeTest, detection_postprocess_dynamic_output_shape_relaxed) {
77 execute(detection_postprocess::CreateModel_dynamic_output_shape_relaxed,
78 detection_postprocess::is_ignored_dynamic_output_shape_relaxed,
79 detection_postprocess::get_examples_dynamic_output_shape_relaxed());
80 }
81
TEST_F(DynamicOutputShapeTest,detection_postprocess_dynamic_output_shape_float16)82 TEST_F(DynamicOutputShapeTest, detection_postprocess_dynamic_output_shape_float16) {
83 execute(detection_postprocess::CreateModel_dynamic_output_shape_float16,
84 detection_postprocess::is_ignored_dynamic_output_shape_float16,
85 detection_postprocess::get_examples_dynamic_output_shape_float16());
86 }
87
TEST_F(GeneratedTests,detection_postprocess_2)88 TEST_F(GeneratedTests, detection_postprocess_2) {
89 execute(detection_postprocess::CreateModel_2,
90 detection_postprocess::is_ignored_2,
91 detection_postprocess::get_examples_2());
92 }
TEST_AVAILABLE_SINCE(V1_2,detection_postprocess_2,detection_postprocess::CreateModel_2)93 TEST_AVAILABLE_SINCE(V1_2, detection_postprocess_2, detection_postprocess::CreateModel_2)
94
95 TEST_F(GeneratedTests, detection_postprocess_relaxed_2) {
96 execute(detection_postprocess::CreateModel_relaxed_2,
97 detection_postprocess::is_ignored_relaxed_2,
98 detection_postprocess::get_examples_relaxed_2());
99 }
100
TEST_F(GeneratedTests,detection_postprocess_float16_2)101 TEST_F(GeneratedTests, detection_postprocess_float16_2) {
102 execute(detection_postprocess::CreateModel_float16_2,
103 detection_postprocess::is_ignored_float16_2,
104 detection_postprocess::get_examples_float16_2());
105 }
TEST_AVAILABLE_SINCE(V1_2,detection_postprocess_float16_2,detection_postprocess::CreateModel_float16_2)106 TEST_AVAILABLE_SINCE(V1_2, detection_postprocess_float16_2, detection_postprocess::CreateModel_float16_2)
107
108 TEST_F(DynamicOutputShapeTest, detection_postprocess_dynamic_output_shape_2) {
109 execute(detection_postprocess::CreateModel_dynamic_output_shape_2,
110 detection_postprocess::is_ignored_dynamic_output_shape_2,
111 detection_postprocess::get_examples_dynamic_output_shape_2());
112 }
113
TEST_F(DynamicOutputShapeTest,detection_postprocess_dynamic_output_shape_relaxed_2)114 TEST_F(DynamicOutputShapeTest, detection_postprocess_dynamic_output_shape_relaxed_2) {
115 execute(detection_postprocess::CreateModel_dynamic_output_shape_relaxed_2,
116 detection_postprocess::is_ignored_dynamic_output_shape_relaxed_2,
117 detection_postprocess::get_examples_dynamic_output_shape_relaxed_2());
118 }
119
TEST_F(DynamicOutputShapeTest,detection_postprocess_dynamic_output_shape_float16_2)120 TEST_F(DynamicOutputShapeTest, detection_postprocess_dynamic_output_shape_float16_2) {
121 execute(detection_postprocess::CreateModel_dynamic_output_shape_float16_2,
122 detection_postprocess::is_ignored_dynamic_output_shape_float16_2,
123 detection_postprocess::get_examples_dynamic_output_shape_float16_2());
124 }
125
TEST_F(GeneratedTests,detection_postprocess_3)126 TEST_F(GeneratedTests, detection_postprocess_3) {
127 execute(detection_postprocess::CreateModel_3,
128 detection_postprocess::is_ignored_3,
129 detection_postprocess::get_examples_3());
130 }
TEST_AVAILABLE_SINCE(V1_2,detection_postprocess_3,detection_postprocess::CreateModel_3)131 TEST_AVAILABLE_SINCE(V1_2, detection_postprocess_3, detection_postprocess::CreateModel_3)
132
133 TEST_F(GeneratedTests, detection_postprocess_relaxed_3) {
134 execute(detection_postprocess::CreateModel_relaxed_3,
135 detection_postprocess::is_ignored_relaxed_3,
136 detection_postprocess::get_examples_relaxed_3());
137 }
138
TEST_F(GeneratedTests,detection_postprocess_float16_3)139 TEST_F(GeneratedTests, detection_postprocess_float16_3) {
140 execute(detection_postprocess::CreateModel_float16_3,
141 detection_postprocess::is_ignored_float16_3,
142 detection_postprocess::get_examples_float16_3());
143 }
TEST_AVAILABLE_SINCE(V1_2,detection_postprocess_float16_3,detection_postprocess::CreateModel_float16_3)144 TEST_AVAILABLE_SINCE(V1_2, detection_postprocess_float16_3, detection_postprocess::CreateModel_float16_3)
145
146 TEST_F(DynamicOutputShapeTest, detection_postprocess_dynamic_output_shape_3) {
147 execute(detection_postprocess::CreateModel_dynamic_output_shape_3,
148 detection_postprocess::is_ignored_dynamic_output_shape_3,
149 detection_postprocess::get_examples_dynamic_output_shape_3());
150 }
151
TEST_F(DynamicOutputShapeTest,detection_postprocess_dynamic_output_shape_relaxed_3)152 TEST_F(DynamicOutputShapeTest, detection_postprocess_dynamic_output_shape_relaxed_3) {
153 execute(detection_postprocess::CreateModel_dynamic_output_shape_relaxed_3,
154 detection_postprocess::is_ignored_dynamic_output_shape_relaxed_3,
155 detection_postprocess::get_examples_dynamic_output_shape_relaxed_3());
156 }
157
TEST_F(DynamicOutputShapeTest,detection_postprocess_dynamic_output_shape_float16_3)158 TEST_F(DynamicOutputShapeTest, detection_postprocess_dynamic_output_shape_float16_3) {
159 execute(detection_postprocess::CreateModel_dynamic_output_shape_float16_3,
160 detection_postprocess::is_ignored_dynamic_output_shape_float16_3,
161 detection_postprocess::get_examples_dynamic_output_shape_float16_3());
162 }
163
164