1 // clang-format off
2 // Generated file (from: less_equal.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4
5 namespace less_equal {
6 // Generated less_equal test
7 #include "generated/examples/less_equal.example.cpp"
8 // Generated model constructor
9 #include "generated/models/less_equal.model.cpp"
10 } // namespace less_equal
11
TEST_F(GeneratedTests,less_equal_simple)12 TEST_F(GeneratedTests, less_equal_simple) {
13 execute(less_equal::CreateModel,
14 less_equal::is_ignored,
15 less_equal::get_examples_simple());
16 }
TEST_AVAILABLE_SINCE(V1_2,less_equal_simple,less_equal::CreateModel)17 TEST_AVAILABLE_SINCE(V1_2, less_equal_simple, less_equal::CreateModel)
18
19 TEST_F(GeneratedTests, less_equal_simple_int32) {
20 execute(less_equal::CreateModel_int32,
21 less_equal::is_ignored_int32,
22 less_equal::get_examples_simple_int32());
23 }
TEST_AVAILABLE_SINCE(V1_2,less_equal_simple_int32,less_equal::CreateModel_int32)24 TEST_AVAILABLE_SINCE(V1_2, less_equal_simple_int32, less_equal::CreateModel_int32)
25
26 TEST_F(GeneratedTests, less_equal_simple_float16) {
27 execute(less_equal::CreateModel_float16,
28 less_equal::is_ignored_float16,
29 less_equal::get_examples_simple_float16());
30 }
TEST_AVAILABLE_SINCE(V1_2,less_equal_simple_float16,less_equal::CreateModel_float16)31 TEST_AVAILABLE_SINCE(V1_2, less_equal_simple_float16, less_equal::CreateModel_float16)
32
33 TEST_F(GeneratedTests, less_equal_simple_relaxed) {
34 execute(less_equal::CreateModel_relaxed,
35 less_equal::is_ignored_relaxed,
36 less_equal::get_examples_simple_relaxed());
37 }
38
TEST_F(DynamicOutputShapeTest,less_equal_simple_dynamic_output_shape)39 TEST_F(DynamicOutputShapeTest, less_equal_simple_dynamic_output_shape) {
40 execute(less_equal::CreateModel_dynamic_output_shape,
41 less_equal::is_ignored_dynamic_output_shape,
42 less_equal::get_examples_simple_dynamic_output_shape());
43 }
44
TEST_F(DynamicOutputShapeTest,less_equal_simple_dynamic_output_shape_int32)45 TEST_F(DynamicOutputShapeTest, less_equal_simple_dynamic_output_shape_int32) {
46 execute(less_equal::CreateModel_dynamic_output_shape_int32,
47 less_equal::is_ignored_dynamic_output_shape_int32,
48 less_equal::get_examples_simple_dynamic_output_shape_int32());
49 }
50
TEST_F(DynamicOutputShapeTest,less_equal_simple_dynamic_output_shape_float16)51 TEST_F(DynamicOutputShapeTest, less_equal_simple_dynamic_output_shape_float16) {
52 execute(less_equal::CreateModel_dynamic_output_shape_float16,
53 less_equal::is_ignored_dynamic_output_shape_float16,
54 less_equal::get_examples_simple_dynamic_output_shape_float16());
55 }
56
TEST_F(DynamicOutputShapeTest,less_equal_simple_dynamic_output_shape_relaxed)57 TEST_F(DynamicOutputShapeTest, less_equal_simple_dynamic_output_shape_relaxed) {
58 execute(less_equal::CreateModel_dynamic_output_shape_relaxed,
59 less_equal::is_ignored_dynamic_output_shape_relaxed,
60 less_equal::get_examples_simple_dynamic_output_shape_relaxed());
61 }
62
TEST_F(GeneratedTests,less_equal_broadcast)63 TEST_F(GeneratedTests, less_equal_broadcast) {
64 execute(less_equal::CreateModel_2,
65 less_equal::is_ignored_2,
66 less_equal::get_examples_broadcast());
67 }
TEST_AVAILABLE_SINCE(V1_2,less_equal_broadcast,less_equal::CreateModel_2)68 TEST_AVAILABLE_SINCE(V1_2, less_equal_broadcast, less_equal::CreateModel_2)
69
70 TEST_F(GeneratedTests, less_equal_broadcast_int32) {
71 execute(less_equal::CreateModel_int32_2,
72 less_equal::is_ignored_int32_2,
73 less_equal::get_examples_broadcast_int32());
74 }
TEST_AVAILABLE_SINCE(V1_2,less_equal_broadcast_int32,less_equal::CreateModel_int32_2)75 TEST_AVAILABLE_SINCE(V1_2, less_equal_broadcast_int32, less_equal::CreateModel_int32_2)
76
77 TEST_F(GeneratedTests, less_equal_broadcast_float16) {
78 execute(less_equal::CreateModel_float16_2,
79 less_equal::is_ignored_float16_2,
80 less_equal::get_examples_broadcast_float16());
81 }
TEST_AVAILABLE_SINCE(V1_2,less_equal_broadcast_float16,less_equal::CreateModel_float16_2)82 TEST_AVAILABLE_SINCE(V1_2, less_equal_broadcast_float16, less_equal::CreateModel_float16_2)
83
84 TEST_F(GeneratedTests, less_equal_broadcast_relaxed) {
85 execute(less_equal::CreateModel_relaxed_2,
86 less_equal::is_ignored_relaxed_2,
87 less_equal::get_examples_broadcast_relaxed());
88 }
89
TEST_F(DynamicOutputShapeTest,less_equal_broadcast_dynamic_output_shape)90 TEST_F(DynamicOutputShapeTest, less_equal_broadcast_dynamic_output_shape) {
91 execute(less_equal::CreateModel_dynamic_output_shape_2,
92 less_equal::is_ignored_dynamic_output_shape_2,
93 less_equal::get_examples_broadcast_dynamic_output_shape());
94 }
95
TEST_F(DynamicOutputShapeTest,less_equal_broadcast_dynamic_output_shape_int32)96 TEST_F(DynamicOutputShapeTest, less_equal_broadcast_dynamic_output_shape_int32) {
97 execute(less_equal::CreateModel_dynamic_output_shape_int32_2,
98 less_equal::is_ignored_dynamic_output_shape_int32_2,
99 less_equal::get_examples_broadcast_dynamic_output_shape_int32());
100 }
101
TEST_F(DynamicOutputShapeTest,less_equal_broadcast_dynamic_output_shape_float16)102 TEST_F(DynamicOutputShapeTest, less_equal_broadcast_dynamic_output_shape_float16) {
103 execute(less_equal::CreateModel_dynamic_output_shape_float16_2,
104 less_equal::is_ignored_dynamic_output_shape_float16_2,
105 less_equal::get_examples_broadcast_dynamic_output_shape_float16());
106 }
107
TEST_F(DynamicOutputShapeTest,less_equal_broadcast_dynamic_output_shape_relaxed)108 TEST_F(DynamicOutputShapeTest, less_equal_broadcast_dynamic_output_shape_relaxed) {
109 execute(less_equal::CreateModel_dynamic_output_shape_relaxed_2,
110 less_equal::is_ignored_dynamic_output_shape_relaxed_2,
111 less_equal::get_examples_broadcast_dynamic_output_shape_relaxed());
112 }
113
TEST_F(GeneratedTests,less_equal_quantized_different_scale)114 TEST_F(GeneratedTests, less_equal_quantized_different_scale) {
115 execute(less_equal::CreateModel_3,
116 less_equal::is_ignored_3,
117 less_equal::get_examples_quantized_different_scale());
118 }
TEST_AVAILABLE_SINCE(V1_2,less_equal_quantized_different_scale,less_equal::CreateModel_3)119 TEST_AVAILABLE_SINCE(V1_2, less_equal_quantized_different_scale, less_equal::CreateModel_3)
120
121 TEST_F(DynamicOutputShapeTest, less_equal_quantized_different_scale_dynamic_output_shape) {
122 execute(less_equal::CreateModel_dynamic_output_shape_3,
123 less_equal::is_ignored_dynamic_output_shape_3,
124 less_equal::get_examples_quantized_different_scale_dynamic_output_shape());
125 }
126
TEST_F(GeneratedTests,less_equal_quantized_different_zero_point)127 TEST_F(GeneratedTests, less_equal_quantized_different_zero_point) {
128 execute(less_equal::CreateModel_4,
129 less_equal::is_ignored_4,
130 less_equal::get_examples_quantized_different_zero_point());
131 }
TEST_AVAILABLE_SINCE(V1_2,less_equal_quantized_different_zero_point,less_equal::CreateModel_4)132 TEST_AVAILABLE_SINCE(V1_2, less_equal_quantized_different_zero_point, less_equal::CreateModel_4)
133
134 TEST_F(DynamicOutputShapeTest, less_equal_quantized_different_zero_point_dynamic_output_shape) {
135 execute(less_equal::CreateModel_dynamic_output_shape_4,
136 less_equal::is_ignored_dynamic_output_shape_4,
137 less_equal::get_examples_quantized_different_zero_point_dynamic_output_shape());
138 }
139
TEST_F(GeneratedTests,less_equal_quantized_overflow_second_input_if_requantized)140 TEST_F(GeneratedTests, less_equal_quantized_overflow_second_input_if_requantized) {
141 execute(less_equal::CreateModel_5,
142 less_equal::is_ignored_5,
143 less_equal::get_examples_quantized_overflow_second_input_if_requantized());
144 }
TEST_AVAILABLE_SINCE(V1_2,less_equal_quantized_overflow_second_input_if_requantized,less_equal::CreateModel_5)145 TEST_AVAILABLE_SINCE(V1_2, less_equal_quantized_overflow_second_input_if_requantized, less_equal::CreateModel_5)
146
147 TEST_F(DynamicOutputShapeTest, less_equal_quantized_overflow_second_input_if_requantized_dynamic_output_shape) {
148 execute(less_equal::CreateModel_dynamic_output_shape_5,
149 less_equal::is_ignored_dynamic_output_shape_5,
150 less_equal::get_examples_quantized_overflow_second_input_if_requantized_dynamic_output_shape());
151 }
152
TEST_F(GeneratedTests,less_equal_quantized_overflow_first_input_if_requantized)153 TEST_F(GeneratedTests, less_equal_quantized_overflow_first_input_if_requantized) {
154 execute(less_equal::CreateModel_6,
155 less_equal::is_ignored_6,
156 less_equal::get_examples_quantized_overflow_first_input_if_requantized());
157 }
TEST_AVAILABLE_SINCE(V1_2,less_equal_quantized_overflow_first_input_if_requantized,less_equal::CreateModel_6)158 TEST_AVAILABLE_SINCE(V1_2, less_equal_quantized_overflow_first_input_if_requantized, less_equal::CreateModel_6)
159
160 TEST_F(DynamicOutputShapeTest, less_equal_quantized_overflow_first_input_if_requantized_dynamic_output_shape) {
161 execute(less_equal::CreateModel_dynamic_output_shape_6,
162 less_equal::is_ignored_dynamic_output_shape_6,
163 less_equal::get_examples_quantized_overflow_first_input_if_requantized_dynamic_output_shape());
164 }
165
TEST_F(GeneratedTests,less_equal_boolean)166 TEST_F(GeneratedTests, less_equal_boolean) {
167 execute(less_equal::CreateModel_7,
168 less_equal::is_ignored_7,
169 less_equal::get_examples_boolean());
170 }
TEST_AVAILABLE_SINCE(V1_2,less_equal_boolean,less_equal::CreateModel_7)171 TEST_AVAILABLE_SINCE(V1_2, less_equal_boolean, less_equal::CreateModel_7)
172
173 TEST_F(DynamicOutputShapeTest, less_equal_boolean_dynamic_output_shape) {
174 execute(less_equal::CreateModel_dynamic_output_shape_7,
175 less_equal::is_ignored_dynamic_output_shape_7,
176 less_equal::get_examples_boolean_dynamic_output_shape());
177 }
178
179