1 // clang-format off
2 // Generated file (from: sub_v1_2.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace sub_v1_2 {
6 // Generated sub_v1_2 test
7 #include "generated/examples/sub_v1_2.example.cpp"
8 // Generated model constructor
9 #include "generated/models/sub_v1_2.model.cpp"
10 } // namespace sub_v1_2
11
TEST_F(GeneratedTests,sub_v1_2_none)12 TEST_F(GeneratedTests, sub_v1_2_none) {
13 execute(sub_v1_2::CreateModel_none,
14 sub_v1_2::is_ignored_none,
15 sub_v1_2::get_examples_none());
16 }
TEST_AVAILABLE_SINCE(V1_1,sub_v1_2_none,sub_v1_2::CreateModel_none)17 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_none, sub_v1_2::CreateModel_none)
18
19 TEST_F(GeneratedTests, sub_v1_2_relu) {
20 execute(sub_v1_2::CreateModel_relu,
21 sub_v1_2::is_ignored_relu,
22 sub_v1_2::get_examples_relu());
23 }
TEST_AVAILABLE_SINCE(V1_1,sub_v1_2_relu,sub_v1_2::CreateModel_relu)24 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_relu, sub_v1_2::CreateModel_relu)
25
26 TEST_F(GeneratedTests, sub_v1_2_relu1) {
27 execute(sub_v1_2::CreateModel_relu1,
28 sub_v1_2::is_ignored_relu1,
29 sub_v1_2::get_examples_relu1());
30 }
TEST_AVAILABLE_SINCE(V1_1,sub_v1_2_relu1,sub_v1_2::CreateModel_relu1)31 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_relu1, sub_v1_2::CreateModel_relu1)
32
33 TEST_F(GeneratedTests, sub_v1_2_relu6) {
34 execute(sub_v1_2::CreateModel_relu6,
35 sub_v1_2::is_ignored_relu6,
36 sub_v1_2::get_examples_relu6());
37 }
TEST_AVAILABLE_SINCE(V1_1,sub_v1_2_relu6,sub_v1_2::CreateModel_relu6)38 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_relu6, sub_v1_2::CreateModel_relu6)
39
40 TEST_F(GeneratedTests, sub_v1_2_float16_none) {
41 execute(sub_v1_2::CreateModel_float16_none,
42 sub_v1_2::is_ignored_float16_none,
43 sub_v1_2::get_examples_float16_none());
44 }
TEST_AVAILABLE_SINCE(V1_2,sub_v1_2_float16_none,sub_v1_2::CreateModel_float16_none)45 TEST_AVAILABLE_SINCE(V1_2, sub_v1_2_float16_none, sub_v1_2::CreateModel_float16_none)
46
47 TEST_F(GeneratedTests, sub_v1_2_float16_relu) {
48 execute(sub_v1_2::CreateModel_float16_relu,
49 sub_v1_2::is_ignored_float16_relu,
50 sub_v1_2::get_examples_float16_relu());
51 }
TEST_AVAILABLE_SINCE(V1_2,sub_v1_2_float16_relu,sub_v1_2::CreateModel_float16_relu)52 TEST_AVAILABLE_SINCE(V1_2, sub_v1_2_float16_relu, sub_v1_2::CreateModel_float16_relu)
53
54 TEST_F(GeneratedTests, sub_v1_2_float16_relu1) {
55 execute(sub_v1_2::CreateModel_float16_relu1,
56 sub_v1_2::is_ignored_float16_relu1,
57 sub_v1_2::get_examples_float16_relu1());
58 }
TEST_AVAILABLE_SINCE(V1_2,sub_v1_2_float16_relu1,sub_v1_2::CreateModel_float16_relu1)59 TEST_AVAILABLE_SINCE(V1_2, sub_v1_2_float16_relu1, sub_v1_2::CreateModel_float16_relu1)
60
61 TEST_F(GeneratedTests, sub_v1_2_float16_relu6) {
62 execute(sub_v1_2::CreateModel_float16_relu6,
63 sub_v1_2::is_ignored_float16_relu6,
64 sub_v1_2::get_examples_float16_relu6());
65 }
TEST_AVAILABLE_SINCE(V1_2,sub_v1_2_float16_relu6,sub_v1_2::CreateModel_float16_relu6)66 TEST_AVAILABLE_SINCE(V1_2, sub_v1_2_float16_relu6, sub_v1_2::CreateModel_float16_relu6)
67
68 TEST_F(DynamicOutputShapeTest, sub_v1_2_dynamic_output_shape_none) {
69 execute(sub_v1_2::CreateModel_dynamic_output_shape_none,
70 sub_v1_2::is_ignored_dynamic_output_shape_none,
71 sub_v1_2::get_examples_dynamic_output_shape_none());
72 }
73
TEST_F(DynamicOutputShapeTest,sub_v1_2_dynamic_output_shape_relu)74 TEST_F(DynamicOutputShapeTest, sub_v1_2_dynamic_output_shape_relu) {
75 execute(sub_v1_2::CreateModel_dynamic_output_shape_relu,
76 sub_v1_2::is_ignored_dynamic_output_shape_relu,
77 sub_v1_2::get_examples_dynamic_output_shape_relu());
78 }
79
TEST_F(DynamicOutputShapeTest,sub_v1_2_dynamic_output_shape_relu1)80 TEST_F(DynamicOutputShapeTest, sub_v1_2_dynamic_output_shape_relu1) {
81 execute(sub_v1_2::CreateModel_dynamic_output_shape_relu1,
82 sub_v1_2::is_ignored_dynamic_output_shape_relu1,
83 sub_v1_2::get_examples_dynamic_output_shape_relu1());
84 }
85
TEST_F(DynamicOutputShapeTest,sub_v1_2_dynamic_output_shape_relu6)86 TEST_F(DynamicOutputShapeTest, sub_v1_2_dynamic_output_shape_relu6) {
87 execute(sub_v1_2::CreateModel_dynamic_output_shape_relu6,
88 sub_v1_2::is_ignored_dynamic_output_shape_relu6,
89 sub_v1_2::get_examples_dynamic_output_shape_relu6());
90 }
91
TEST_F(DynamicOutputShapeTest,sub_v1_2_dynamic_output_shape_float16_none)92 TEST_F(DynamicOutputShapeTest, sub_v1_2_dynamic_output_shape_float16_none) {
93 execute(sub_v1_2::CreateModel_dynamic_output_shape_float16_none,
94 sub_v1_2::is_ignored_dynamic_output_shape_float16_none,
95 sub_v1_2::get_examples_dynamic_output_shape_float16_none());
96 }
97
TEST_F(DynamicOutputShapeTest,sub_v1_2_dynamic_output_shape_float16_relu)98 TEST_F(DynamicOutputShapeTest, sub_v1_2_dynamic_output_shape_float16_relu) {
99 execute(sub_v1_2::CreateModel_dynamic_output_shape_float16_relu,
100 sub_v1_2::is_ignored_dynamic_output_shape_float16_relu,
101 sub_v1_2::get_examples_dynamic_output_shape_float16_relu());
102 }
103
TEST_F(DynamicOutputShapeTest,sub_v1_2_dynamic_output_shape_float16_relu1)104 TEST_F(DynamicOutputShapeTest, sub_v1_2_dynamic_output_shape_float16_relu1) {
105 execute(sub_v1_2::CreateModel_dynamic_output_shape_float16_relu1,
106 sub_v1_2::is_ignored_dynamic_output_shape_float16_relu1,
107 sub_v1_2::get_examples_dynamic_output_shape_float16_relu1());
108 }
109
TEST_F(DynamicOutputShapeTest,sub_v1_2_dynamic_output_shape_float16_relu6)110 TEST_F(DynamicOutputShapeTest, sub_v1_2_dynamic_output_shape_float16_relu6) {
111 execute(sub_v1_2::CreateModel_dynamic_output_shape_float16_relu6,
112 sub_v1_2::is_ignored_dynamic_output_shape_float16_relu6,
113 sub_v1_2::get_examples_dynamic_output_shape_float16_relu6());
114 }
115
TEST_F(GeneratedTests,sub_v1_2_quant8)116 TEST_F(GeneratedTests, sub_v1_2_quant8) {
117 execute(sub_v1_2::CreateModel_quant8,
118 sub_v1_2::is_ignored_quant8,
119 sub_v1_2::get_examples_quant8());
120 }
TEST_AVAILABLE_SINCE(V1_2,sub_v1_2_quant8,sub_v1_2::CreateModel_quant8)121 TEST_AVAILABLE_SINCE(V1_2, sub_v1_2_quant8, sub_v1_2::CreateModel_quant8)
122
123 TEST_F(DynamicOutputShapeTest, sub_v1_2_quant8_dynamic_output_shape) {
124 execute(sub_v1_2::CreateModel_quant8_dynamic_output_shape,
125 sub_v1_2::is_ignored_quant8_dynamic_output_shape,
126 sub_v1_2::get_examples_quant8_dynamic_output_shape());
127 }
128
TEST_F(GeneratedTests,sub_v1_2_zero_sized)129 TEST_F(GeneratedTests, sub_v1_2_zero_sized) {
130 execute(sub_v1_2::CreateModel_zero_sized,
131 sub_v1_2::is_ignored_zero_sized,
132 sub_v1_2::get_examples_zero_sized());
133 }
TEST_AVAILABLE_SINCE(V1_2,sub_v1_2_zero_sized,sub_v1_2::CreateModel_zero_sized)134 TEST_AVAILABLE_SINCE(V1_2, sub_v1_2_zero_sized, sub_v1_2::CreateModel_zero_sized)
135
136 TEST_F(GeneratedTests, sub_v1_2_zero_sized_relaxed) {
137 execute(sub_v1_2::CreateModel_zero_sized_relaxed,
138 sub_v1_2::is_ignored_zero_sized_relaxed,
139 sub_v1_2::get_examples_zero_sized_relaxed());
140 }
141
TEST_F(GeneratedTests,sub_v1_2_zero_sized_quant8)142 TEST_F(GeneratedTests, sub_v1_2_zero_sized_quant8) {
143 execute(sub_v1_2::CreateModel_zero_sized_quant8,
144 sub_v1_2::is_ignored_zero_sized_quant8,
145 sub_v1_2::get_examples_zero_sized_quant8());
146 }
TEST_AVAILABLE_SINCE(V1_2,sub_v1_2_zero_sized_quant8,sub_v1_2::CreateModel_zero_sized_quant8)147 TEST_AVAILABLE_SINCE(V1_2, sub_v1_2_zero_sized_quant8, sub_v1_2::CreateModel_zero_sized_quant8)
148
149 TEST_F(GeneratedTests, sub_v1_2_zero_sized_float16) {
150 execute(sub_v1_2::CreateModel_zero_sized_float16,
151 sub_v1_2::is_ignored_zero_sized_float16,
152 sub_v1_2::get_examples_zero_sized_float16());
153 }
TEST_AVAILABLE_SINCE(V1_2,sub_v1_2_zero_sized_float16,sub_v1_2::CreateModel_zero_sized_float16)154 TEST_AVAILABLE_SINCE(V1_2, sub_v1_2_zero_sized_float16, sub_v1_2::CreateModel_zero_sized_float16)
155
156 TEST_F(DynamicOutputShapeTest, sub_v1_2_zero_sized_dynamic_output_shape) {
157 execute(sub_v1_2::CreateModel_zero_sized_dynamic_output_shape,
158 sub_v1_2::is_ignored_zero_sized_dynamic_output_shape,
159 sub_v1_2::get_examples_zero_sized_dynamic_output_shape());
160 }
161
TEST_F(DynamicOutputShapeTest,sub_v1_2_zero_sized_dynamic_output_shape_relaxed)162 TEST_F(DynamicOutputShapeTest, sub_v1_2_zero_sized_dynamic_output_shape_relaxed) {
163 execute(sub_v1_2::CreateModel_zero_sized_dynamic_output_shape_relaxed,
164 sub_v1_2::is_ignored_zero_sized_dynamic_output_shape_relaxed,
165 sub_v1_2::get_examples_zero_sized_dynamic_output_shape_relaxed());
166 }
167
TEST_F(DynamicOutputShapeTest,sub_v1_2_zero_sized_dynamic_output_shape_quant8)168 TEST_F(DynamicOutputShapeTest, sub_v1_2_zero_sized_dynamic_output_shape_quant8) {
169 execute(sub_v1_2::CreateModel_zero_sized_dynamic_output_shape_quant8,
170 sub_v1_2::is_ignored_zero_sized_dynamic_output_shape_quant8,
171 sub_v1_2::get_examples_zero_sized_dynamic_output_shape_quant8());
172 }
173
TEST_F(DynamicOutputShapeTest,sub_v1_2_zero_sized_dynamic_output_shape_float16)174 TEST_F(DynamicOutputShapeTest, sub_v1_2_zero_sized_dynamic_output_shape_float16) {
175 execute(sub_v1_2::CreateModel_zero_sized_dynamic_output_shape_float16,
176 sub_v1_2::is_ignored_zero_sized_dynamic_output_shape_float16,
177 sub_v1_2::get_examples_zero_sized_dynamic_output_shape_float16());
178 }
179
180