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