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