• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // clang-format off
2 // Generated file (from: logical_or.mod.py). Do not edit
get_examples_simple()3 std::vector<MixedTypedExample>& get_examples_simple() {
4 static std::vector<MixedTypedExample> examples_simple = {
5 // Begin of an example
6 {
7 .operands = {
8 //Input(s)
9 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10   // int -> Dimensions map
11   .operandDimensions = {{0, {1, 1, 1, 4}}, {1, {1, 1, 1, 4}}},
12   // int -> FLOAT32 map
13   .float32Operands = {},
14   // int -> INT32 map
15   .int32Operands = {},
16   // int -> QUANT8_ASYMM map
17   .quant8AsymmOperands = {},
18   // int -> QUANT16_SYMM map
19   .quant16SymmOperands = {},
20   // int -> FLOAT16 map
21   .float16Operands = {},
22   // int -> BOOL8 map
23   .bool8Operands = {{0, {true, false, false, true}}, {1, {true, false, true, false}}},
24   // int -> QUANT8_SYMM_PER_CHANNEL map
25   .quant8ChannelOperands = {},
26   // int -> QUANT16_ASYMM map
27   .quant16AsymmOperands = {},
28   // int -> QUANT8_SYMM map
29   .quant8SymmOperands = {},
30 },
31 //Output(s)
32 { // See tools/test_generator/include/TestHarness.h:MixedTyped
33   // int -> Dimensions map
34   .operandDimensions = {{0, {1, 1, 1, 4}}},
35   // int -> FLOAT32 map
36   .float32Operands = {},
37   // int -> INT32 map
38   .int32Operands = {},
39   // int -> QUANT8_ASYMM map
40   .quant8AsymmOperands = {},
41   // int -> QUANT16_SYMM map
42   .quant16SymmOperands = {},
43   // int -> FLOAT16 map
44   .float16Operands = {},
45   // int -> BOOL8 map
46   .bool8Operands = {{0, {true, false, true, true}}},
47   // int -> QUANT8_SYMM_PER_CHANNEL map
48   .quant8ChannelOperands = {},
49   // int -> QUANT16_ASYMM map
50   .quant16AsymmOperands = {},
51   // int -> QUANT8_SYMM map
52   .quant8SymmOperands = {},
53 }
54 },
55 }, // End of an example
56 };
57 return examples_simple;
58 };
59 
get_examples_simple_dynamic_output_shape()60 std::vector<MixedTypedExample>& get_examples_simple_dynamic_output_shape() {
61 static std::vector<MixedTypedExample> examples_simple_dynamic_output_shape = {
62 // Begin of an example
63 {
64 .operands = {
65 //Input(s)
66 { // See tools/test_generator/include/TestHarness.h:MixedTyped
67   // int -> Dimensions map
68   .operandDimensions = {{0, {1, 1, 1, 4}}, {1, {1, 1, 1, 4}}},
69   // int -> FLOAT32 map
70   .float32Operands = {},
71   // int -> INT32 map
72   .int32Operands = {},
73   // int -> QUANT8_ASYMM map
74   .quant8AsymmOperands = {},
75   // int -> QUANT16_SYMM map
76   .quant16SymmOperands = {},
77   // int -> FLOAT16 map
78   .float16Operands = {},
79   // int -> BOOL8 map
80   .bool8Operands = {{0, {true, false, false, true}}, {1, {true, false, true, false}}},
81   // int -> QUANT8_SYMM_PER_CHANNEL map
82   .quant8ChannelOperands = {},
83   // int -> QUANT16_ASYMM map
84   .quant16AsymmOperands = {},
85   // int -> QUANT8_SYMM map
86   .quant8SymmOperands = {},
87 },
88 //Output(s)
89 { // See tools/test_generator/include/TestHarness.h:MixedTyped
90   // int -> Dimensions map
91   .operandDimensions = {{0, {1, 1, 1, 4}}},
92   // int -> FLOAT32 map
93   .float32Operands = {},
94   // int -> INT32 map
95   .int32Operands = {},
96   // int -> QUANT8_ASYMM map
97   .quant8AsymmOperands = {},
98   // int -> QUANT16_SYMM map
99   .quant16SymmOperands = {},
100   // int -> FLOAT16 map
101   .float16Operands = {},
102   // int -> BOOL8 map
103   .bool8Operands = {{0, {true, false, true, true}}},
104   // int -> QUANT8_SYMM_PER_CHANNEL map
105   .quant8ChannelOperands = {},
106   // int -> QUANT16_ASYMM map
107   .quant16AsymmOperands = {},
108   // int -> QUANT8_SYMM map
109   .quant8SymmOperands = {},
110 }
111 },
112 }, // End of an example
113 };
114 return examples_simple_dynamic_output_shape;
115 };
116 
get_examples_broadcast()117 std::vector<MixedTypedExample>& get_examples_broadcast() {
118 static std::vector<MixedTypedExample> examples_broadcast = {
119 // Begin of an example
120 {
121 .operands = {
122 //Input(s)
123 { // See tools/test_generator/include/TestHarness.h:MixedTyped
124   // int -> Dimensions map
125   .operandDimensions = {{0, {1, 1, 1, 4}}, {1, {1, 1}}},
126   // int -> FLOAT32 map
127   .float32Operands = {},
128   // int -> INT32 map
129   .int32Operands = {},
130   // int -> QUANT8_ASYMM map
131   .quant8AsymmOperands = {},
132   // int -> QUANT16_SYMM map
133   .quant16SymmOperands = {},
134   // int -> FLOAT16 map
135   .float16Operands = {},
136   // int -> BOOL8 map
137   .bool8Operands = {{0, {true, false, false, true}}, {1, {false}}},
138   // int -> QUANT8_SYMM_PER_CHANNEL map
139   .quant8ChannelOperands = {},
140   // int -> QUANT16_ASYMM map
141   .quant16AsymmOperands = {},
142   // int -> QUANT8_SYMM map
143   .quant8SymmOperands = {},
144 },
145 //Output(s)
146 { // See tools/test_generator/include/TestHarness.h:MixedTyped
147   // int -> Dimensions map
148   .operandDimensions = {{0, {1, 1, 1, 4}}},
149   // int -> FLOAT32 map
150   .float32Operands = {},
151   // int -> INT32 map
152   .int32Operands = {},
153   // int -> QUANT8_ASYMM map
154   .quant8AsymmOperands = {},
155   // int -> QUANT16_SYMM map
156   .quant16SymmOperands = {},
157   // int -> FLOAT16 map
158   .float16Operands = {},
159   // int -> BOOL8 map
160   .bool8Operands = {{0, {true, false, false, true}}},
161   // int -> QUANT8_SYMM_PER_CHANNEL map
162   .quant8ChannelOperands = {},
163   // int -> QUANT16_ASYMM map
164   .quant16AsymmOperands = {},
165   // int -> QUANT8_SYMM map
166   .quant8SymmOperands = {},
167 }
168 },
169 }, // End of an example
170 };
171 return examples_broadcast;
172 };
173 
get_examples_broadcast_dynamic_output_shape()174 std::vector<MixedTypedExample>& get_examples_broadcast_dynamic_output_shape() {
175 static std::vector<MixedTypedExample> examples_broadcast_dynamic_output_shape = {
176 // Begin of an example
177 {
178 .operands = {
179 //Input(s)
180 { // See tools/test_generator/include/TestHarness.h:MixedTyped
181   // int -> Dimensions map
182   .operandDimensions = {{0, {1, 1, 1, 4}}, {1, {1, 1}}},
183   // int -> FLOAT32 map
184   .float32Operands = {},
185   // int -> INT32 map
186   .int32Operands = {},
187   // int -> QUANT8_ASYMM map
188   .quant8AsymmOperands = {},
189   // int -> QUANT16_SYMM map
190   .quant16SymmOperands = {},
191   // int -> FLOAT16 map
192   .float16Operands = {},
193   // int -> BOOL8 map
194   .bool8Operands = {{0, {true, false, false, true}}, {1, {false}}},
195   // int -> QUANT8_SYMM_PER_CHANNEL map
196   .quant8ChannelOperands = {},
197   // int -> QUANT16_ASYMM map
198   .quant16AsymmOperands = {},
199   // int -> QUANT8_SYMM map
200   .quant8SymmOperands = {},
201 },
202 //Output(s)
203 { // See tools/test_generator/include/TestHarness.h:MixedTyped
204   // int -> Dimensions map
205   .operandDimensions = {{0, {1, 1, 1, 4}}},
206   // int -> FLOAT32 map
207   .float32Operands = {},
208   // int -> INT32 map
209   .int32Operands = {},
210   // int -> QUANT8_ASYMM map
211   .quant8AsymmOperands = {},
212   // int -> QUANT16_SYMM map
213   .quant16SymmOperands = {},
214   // int -> FLOAT16 map
215   .float16Operands = {},
216   // int -> BOOL8 map
217   .bool8Operands = {{0, {true, false, false, true}}},
218   // int -> QUANT8_SYMM_PER_CHANNEL map
219   .quant8ChannelOperands = {},
220   // int -> QUANT16_ASYMM map
221   .quant16AsymmOperands = {},
222   // int -> QUANT8_SYMM map
223   .quant8SymmOperands = {},
224 }
225 },
226 }, // End of an example
227 };
228 return examples_broadcast_dynamic_output_shape;
229 };
230 
231