1 /*
2 * Copyright (C) 2019 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 #include <gtest/gtest.h>
18
19 #include "NeuralNetworks.h"
20
21 namespace {
22
23 class ValidateModelTest : public ::testing::Test {
24 protected:
SetUp()25 virtual void SetUp() {}
26 };
27
TEST_F(ValidateModelTest,MaskRCNN2Go)28 TEST_F(ValidateModelTest, MaskRCNN2Go) {
29 ANeuralNetworksModel* model = nullptr;
30 ASSERT_EQ(ANeuralNetworksModel_create(&model), ANEURALNETWORKS_NO_ERROR);
31 ANeuralNetworksOperandType operand_0{};
32 operand_0.type = ANEURALNETWORKS_BOOL;
33 operand_0.scale = 0;
34 operand_0.zeroPoint = 0;
35 operand_0.dimensionCount = 0;
36 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_0), ANEURALNETWORKS_NO_ERROR);
37 ANeuralNetworksOperandType operand_1{};
38 operand_1.type = ANEURALNETWORKS_BOOL;
39 operand_1.scale = 0;
40 operand_1.zeroPoint = 0;
41 operand_1.dimensionCount = 0;
42 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_1), ANEURALNETWORKS_NO_ERROR);
43 ANeuralNetworksOperandType operand_2{};
44 operand_2.type = ANEURALNETWORKS_TENSOR_FLOAT32;
45 operand_2.scale = 0;
46 operand_2.zeroPoint = 0;
47 operand_2.dimensionCount = 4;
48 const uint32_t dimensions_2[] = {1, 3, 0, 0};
49 operand_2.dimensions = dimensions_2;
50 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_2), ANEURALNETWORKS_NO_ERROR);
51 ANeuralNetworksOperandType operand_3{};
52 operand_3.type = ANEURALNETWORKS_TENSOR_FLOAT32;
53 operand_3.scale = 0;
54 operand_3.zeroPoint = 0;
55 operand_3.dimensionCount = 2;
56 const uint32_t dimensions_3[] = {1, 3};
57 operand_3.dimensions = dimensions_3;
58 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_3), ANEURALNETWORKS_NO_ERROR);
59 ANeuralNetworksOperandType operand_4{};
60 operand_4.type = ANEURALNETWORKS_TENSOR_FLOAT32;
61 operand_4.scale = 0;
62 operand_4.zeroPoint = 0;
63 operand_4.dimensionCount = 2;
64 const uint32_t dimensions_4[] = {1, 2};
65 operand_4.dimensions = dimensions_4;
66 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_4), ANEURALNETWORKS_NO_ERROR);
67 ANeuralNetworksOperandType operand_5{};
68 operand_5.type = ANEURALNETWORKS_TENSOR_QUANT16_ASYMM;
69 operand_5.scale = 0.125;
70 operand_5.zeroPoint = 0;
71 operand_5.dimensionCount = 2;
72 const uint32_t dimensions_5[] = {1, 2};
73 operand_5.dimensions = dimensions_5;
74 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_5), ANEURALNETWORKS_NO_ERROR);
75 ANeuralNetworksOperandType operand_6{};
76 operand_6.type = ANEURALNETWORKS_TENSOR_INT32;
77 operand_6.scale = 0;
78 operand_6.zeroPoint = 0;
79 operand_6.dimensionCount = 1;
80 const uint32_t dimensions_6[] = {4};
81 operand_6.dimensions = dimensions_6;
82 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_6), ANEURALNETWORKS_NO_ERROR);
83 ANeuralNetworksOperandType operand_7{};
84 operand_7.type = ANEURALNETWORKS_TENSOR_FLOAT32;
85 operand_7.scale = 0;
86 operand_7.zeroPoint = 0;
87 operand_7.dimensionCount = 4;
88 const uint32_t dimensions_7[] = {1, 0, 0, 3};
89 operand_7.dimensions = dimensions_7;
90 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_7), ANEURALNETWORKS_NO_ERROR);
91 ANeuralNetworksOperandType operand_8{};
92 operand_8.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
93 operand_8.scale = 0.9891946315765381;
94 operand_8.zeroPoint = 0;
95 operand_8.dimensionCount = 4;
96 const uint32_t dimensions_8[] = {1, 0, 0, 3};
97 operand_8.dimensions = dimensions_8;
98 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_8), ANEURALNETWORKS_NO_ERROR);
99 ANeuralNetworksOperandType operand_9{};
100 operand_9.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
101 operand_9.scale = 5.880743992747739e-05;
102 operand_9.zeroPoint = 95;
103 operand_9.dimensionCount = 4;
104 const uint32_t dimensions_9[] = {16, 3, 3, 3};
105 operand_9.dimensions = dimensions_9;
106 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_9), ANEURALNETWORKS_NO_ERROR);
107 ANeuralNetworksOperandType operand_10{};
108 operand_10.type = ANEURALNETWORKS_TENSOR_INT32;
109 operand_10.scale = 5.81720050831791e-05;
110 operand_10.zeroPoint = 0;
111 operand_10.dimensionCount = 1;
112 const uint32_t dimensions_10[] = {16};
113 operand_10.dimensions = dimensions_10;
114 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_10), ANEURALNETWORKS_NO_ERROR);
115 ANeuralNetworksOperandType operand_11{};
116 operand_11.type = ANEURALNETWORKS_INT32;
117 operand_11.scale = 0;
118 operand_11.zeroPoint = 0;
119 operand_11.dimensionCount = 0;
120 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_11), ANEURALNETWORKS_NO_ERROR);
121 ANeuralNetworksOperandType operand_12{};
122 operand_12.type = ANEURALNETWORKS_INT32;
123 operand_12.scale = 0;
124 operand_12.zeroPoint = 0;
125 operand_12.dimensionCount = 0;
126 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_12), ANEURALNETWORKS_NO_ERROR);
127 ANeuralNetworksOperandType operand_13{};
128 operand_13.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
129 operand_13.scale = 0.01966476067900658;
130 operand_13.zeroPoint = 0;
131 operand_13.dimensionCount = 4;
132 const uint32_t dimensions_13[] = {1, 0, 0, 16};
133 operand_13.dimensions = dimensions_13;
134 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_13), ANEURALNETWORKS_NO_ERROR);
135 ANeuralNetworksOperandType operand_14{};
136 operand_14.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
137 operand_14.scale = 0.01236020401120186;
138 operand_14.zeroPoint = 94;
139 operand_14.dimensionCount = 4;
140 const uint32_t dimensions_14[] = {16, 1, 1, 16};
141 operand_14.dimensions = dimensions_14;
142 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_14), ANEURALNETWORKS_NO_ERROR);
143 ANeuralNetworksOperandType operand_15{};
144 operand_15.type = ANEURALNETWORKS_TENSOR_INT32;
145 operand_15.scale = 0.0002430604654364288;
146 operand_15.zeroPoint = 0;
147 operand_15.dimensionCount = 1;
148 const uint32_t dimensions_15[] = {16};
149 operand_15.dimensions = dimensions_15;
150 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_15), ANEURALNETWORKS_NO_ERROR);
151 ANeuralNetworksOperandType operand_16{};
152 operand_16.type = ANEURALNETWORKS_INT32;
153 operand_16.scale = 0;
154 operand_16.zeroPoint = 0;
155 operand_16.dimensionCount = 0;
156 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_16), ANEURALNETWORKS_NO_ERROR);
157 ANeuralNetworksOperandType operand_17{};
158 operand_17.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
159 operand_17.scale = 0.01199939660727978;
160 operand_17.zeroPoint = 0;
161 operand_17.dimensionCount = 4;
162 const uint32_t dimensions_17[] = {1, 0, 0, 16};
163 operand_17.dimensions = dimensions_17;
164 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_17), ANEURALNETWORKS_NO_ERROR);
165 ANeuralNetworksOperandType operand_18{};
166 operand_18.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
167 operand_18.scale = 0.006678132340312004;
168 operand_18.zeroPoint = 124;
169 operand_18.dimensionCount = 4;
170 const uint32_t dimensions_18[] = {1, 3, 3, 16};
171 operand_18.dimensions = dimensions_18;
172 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_18), ANEURALNETWORKS_NO_ERROR);
173 ANeuralNetworksOperandType operand_19{};
174 operand_19.type = ANEURALNETWORKS_TENSOR_INT32;
175 operand_19.scale = 8.013355545699596e-05;
176 operand_19.zeroPoint = 0;
177 operand_19.dimensionCount = 1;
178 const uint32_t dimensions_19[] = {16};
179 operand_19.dimensions = dimensions_19;
180 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_19), ANEURALNETWORKS_NO_ERROR);
181 ANeuralNetworksOperandType operand_20{};
182 operand_20.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
183 operand_20.scale = 0.01280416082590818;
184 operand_20.zeroPoint = 136;
185 operand_20.dimensionCount = 4;
186 const uint32_t dimensions_20[] = {1, 0, 0, 16};
187 operand_20.dimensions = dimensions_20;
188 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_20), ANEURALNETWORKS_NO_ERROR);
189 ANeuralNetworksOperandType operand_21{};
190 operand_21.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
191 operand_21.scale = 0.02433430217206478;
192 operand_21.zeroPoint = 111;
193 operand_21.dimensionCount = 4;
194 const uint32_t dimensions_21[] = {16, 1, 1, 16};
195 operand_21.dimensions = dimensions_21;
196 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_21), ANEURALNETWORKS_NO_ERROR);
197 ANeuralNetworksOperandType operand_22{};
198 operand_22.type = ANEURALNETWORKS_TENSOR_INT32;
199 operand_22.scale = 0.0003115803119726479;
200 operand_22.zeroPoint = 0;
201 operand_22.dimensionCount = 1;
202 const uint32_t dimensions_22[] = {16};
203 operand_22.dimensions = dimensions_22;
204 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_22), ANEURALNETWORKS_NO_ERROR);
205 ANeuralNetworksOperandType operand_23{};
206 operand_23.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
207 operand_23.scale = 0.04481548070907593;
208 operand_23.zeroPoint = 132;
209 operand_23.dimensionCount = 4;
210 const uint32_t dimensions_23[] = {1, 0, 0, 16};
211 operand_23.dimensions = dimensions_23;
212 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_23), ANEURALNETWORKS_NO_ERROR);
213 ANeuralNetworksOperandType operand_24{};
214 operand_24.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
215 operand_24.scale = 0.04634242877364159;
216 operand_24.zeroPoint = 128;
217 operand_24.dimensionCount = 4;
218 const uint32_t dimensions_24[] = {1, 0, 0, 16};
219 operand_24.dimensions = dimensions_24;
220 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_24), ANEURALNETWORKS_NO_ERROR);
221 ANeuralNetworksOperandType operand_25{};
222 operand_25.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
223 operand_25.scale = 0.005194671452045441;
224 operand_25.zeroPoint = 158;
225 operand_25.dimensionCount = 4;
226 const uint32_t dimensions_25[] = {96, 1, 1, 16};
227 operand_25.dimensions = dimensions_25;
228 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_25), ANEURALNETWORKS_NO_ERROR);
229 ANeuralNetworksOperandType operand_26{};
230 operand_26.type = ANEURALNETWORKS_TENSOR_INT32;
231 operand_26.scale = 0.0002407336869509891;
232 operand_26.zeroPoint = 0;
233 operand_26.dimensionCount = 1;
234 const uint32_t dimensions_26[] = {96};
235 operand_26.dimensions = dimensions_26;
236 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_26), ANEURALNETWORKS_NO_ERROR);
237 ANeuralNetworksOperandType operand_27{};
238 operand_27.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
239 operand_27.scale = 0.01568881794810295;
240 operand_27.zeroPoint = 0;
241 operand_27.dimensionCount = 4;
242 const uint32_t dimensions_27[] = {1, 0, 0, 96};
243 operand_27.dimensions = dimensions_27;
244 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_27), ANEURALNETWORKS_NO_ERROR);
245 ANeuralNetworksOperandType operand_28{};
246 operand_28.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
247 operand_28.scale = 0.001355677493847907;
248 operand_28.zeroPoint = 127;
249 operand_28.dimensionCount = 4;
250 const uint32_t dimensions_28[] = {1, 3, 3, 96};
251 operand_28.dimensions = dimensions_28;
252 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_28), ANEURALNETWORKS_NO_ERROR);
253 ANeuralNetworksOperandType operand_29{};
254 operand_29.type = ANEURALNETWORKS_TENSOR_INT32;
255 operand_29.scale = 2.126897743437439e-05;
256 operand_29.zeroPoint = 0;
257 operand_29.dimensionCount = 1;
258 const uint32_t dimensions_29[] = {96};
259 operand_29.dimensions = dimensions_29;
260 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_29), ANEURALNETWORKS_NO_ERROR);
261 ANeuralNetworksOperandType operand_30{};
262 operand_30.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
263 operand_30.scale = 0.01245978008955717;
264 operand_30.zeroPoint = 123;
265 operand_30.dimensionCount = 4;
266 const uint32_t dimensions_30[] = {1, 0, 0, 96};
267 operand_30.dimensions = dimensions_30;
268 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_30), ANEURALNETWORKS_NO_ERROR);
269 ANeuralNetworksOperandType operand_31{};
270 operand_31.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
271 operand_31.scale = 0.01157373003661633;
272 operand_31.zeroPoint = 134;
273 operand_31.dimensionCount = 4;
274 const uint32_t dimensions_31[] = {32, 1, 1, 96};
275 operand_31.dimensions = dimensions_31;
276 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_31), ANEURALNETWORKS_NO_ERROR);
277 ANeuralNetworksOperandType operand_32{};
278 operand_32.type = ANEURALNETWORKS_TENSOR_INT32;
279 operand_32.scale = 0.000144206132972613;
280 operand_32.zeroPoint = 0;
281 operand_32.dimensionCount = 1;
282 const uint32_t dimensions_32[] = {32};
283 operand_32.dimensions = dimensions_32;
284 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_32), ANEURALNETWORKS_NO_ERROR);
285 ANeuralNetworksOperandType operand_33{};
286 operand_33.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
287 operand_33.scale = 0.01940538175404072;
288 operand_33.zeroPoint = 135;
289 operand_33.dimensionCount = 4;
290 const uint32_t dimensions_33[] = {1, 0, 0, 32};
291 operand_33.dimensions = dimensions_33;
292 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_33), ANEURALNETWORKS_NO_ERROR);
293 ANeuralNetworksOperandType operand_34{};
294 operand_34.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
295 operand_34.scale = 0.003280390985310078;
296 operand_34.zeroPoint = 129;
297 operand_34.dimensionCount = 4;
298 const uint32_t dimensions_34[] = {192, 1, 1, 32};
299 operand_34.dimensions = dimensions_34;
300 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_34), ANEURALNETWORKS_NO_ERROR);
301 ANeuralNetworksOperandType operand_35{};
302 operand_35.type = ANEURALNETWORKS_TENSOR_INT32;
303 operand_35.scale = 6.365723675116897e-05;
304 operand_35.zeroPoint = 0;
305 operand_35.dimensionCount = 1;
306 const uint32_t dimensions_35[] = {192};
307 operand_35.dimensions = dimensions_35;
308 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_35), ANEURALNETWORKS_NO_ERROR);
309 ANeuralNetworksOperandType operand_36{};
310 operand_36.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
311 operand_36.scale = 0.005680288188159466;
312 operand_36.zeroPoint = 0;
313 operand_36.dimensionCount = 4;
314 const uint32_t dimensions_36[] = {1, 0, 0, 192};
315 operand_36.dimensions = dimensions_36;
316 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_36), ANEURALNETWORKS_NO_ERROR);
317 ANeuralNetworksOperandType operand_37{};
318 operand_37.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
319 operand_37.scale = 0.002816423308104277;
320 operand_37.zeroPoint = 131;
321 operand_37.dimensionCount = 4;
322 const uint32_t dimensions_37[] = {1, 3, 3, 192};
323 operand_37.dimensions = dimensions_37;
324 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_37), ANEURALNETWORKS_NO_ERROR);
325 ANeuralNetworksOperandType operand_38{};
326 operand_38.type = ANEURALNETWORKS_TENSOR_INT32;
327 operand_38.scale = 1.599809547769837e-05;
328 operand_38.zeroPoint = 0;
329 operand_38.dimensionCount = 1;
330 const uint32_t dimensions_38[] = {192};
331 operand_38.dimensions = dimensions_38;
332 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_38), ANEURALNETWORKS_NO_ERROR);
333 ANeuralNetworksOperandType operand_39{};
334 operand_39.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
335 operand_39.scale = 0.002300027292221785;
336 operand_39.zeroPoint = 111;
337 operand_39.dimensionCount = 4;
338 const uint32_t dimensions_39[] = {1, 0, 0, 192};
339 operand_39.dimensions = dimensions_39;
340 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_39), ANEURALNETWORKS_NO_ERROR);
341 ANeuralNetworksOperandType operand_40{};
342 operand_40.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
343 operand_40.scale = 0.02601869031786919;
344 operand_40.zeroPoint = 133;
345 operand_40.dimensionCount = 4;
346 const uint32_t dimensions_40[] = {32, 1, 1, 192};
347 operand_40.dimensions = dimensions_40;
348 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_40), ANEURALNETWORKS_NO_ERROR);
349 ANeuralNetworksOperandType operand_41{};
350 operand_41.type = ANEURALNETWORKS_TENSOR_INT32;
351 operand_41.scale = 5.984370000078343e-05;
352 operand_41.zeroPoint = 0;
353 operand_41.dimensionCount = 1;
354 const uint32_t dimensions_41[] = {32};
355 operand_41.dimensions = dimensions_41;
356 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_41), ANEURALNETWORKS_NO_ERROR);
357 ANeuralNetworksOperandType operand_42{};
358 operand_42.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
359 operand_42.scale = 0.01957281865179539;
360 operand_42.zeroPoint = 126;
361 operand_42.dimensionCount = 4;
362 const uint32_t dimensions_42[] = {1, 0, 0, 32};
363 operand_42.dimensions = dimensions_42;
364 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_42), ANEURALNETWORKS_NO_ERROR);
365 ANeuralNetworksOperandType operand_43{};
366 operand_43.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
367 operand_43.scale = 0.028990238904953;
368 operand_43.zeroPoint = 123;
369 operand_43.dimensionCount = 4;
370 const uint32_t dimensions_43[] = {1, 0, 0, 32};
371 operand_43.dimensions = dimensions_43;
372 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_43), ANEURALNETWORKS_NO_ERROR);
373 ANeuralNetworksOperandType operand_44{};
374 operand_44.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
375 operand_44.scale = 0.002658893587067723;
376 operand_44.zeroPoint = 135;
377 operand_44.dimensionCount = 4;
378 const uint32_t dimensions_44[] = {192, 1, 1, 32};
379 operand_44.dimensions = dimensions_44;
380 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_44), ANEURALNETWORKS_NO_ERROR);
381 ANeuralNetworksOperandType operand_45{};
382 operand_45.type = ANEURALNETWORKS_TENSOR_INT32;
383 operand_45.scale = 7.708196062594652e-05;
384 operand_45.zeroPoint = 0;
385 operand_45.dimensionCount = 1;
386 const uint32_t dimensions_45[] = {192};
387 operand_45.dimensions = dimensions_45;
388 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_45), ANEURALNETWORKS_NO_ERROR);
389 ANeuralNetworksOperandType operand_46{};
390 operand_46.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
391 operand_46.scale = 0.009067215956747532;
392 operand_46.zeroPoint = 0;
393 operand_46.dimensionCount = 4;
394 const uint32_t dimensions_46[] = {1, 0, 0, 192};
395 operand_46.dimensions = dimensions_46;
396 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_46), ANEURALNETWORKS_NO_ERROR);
397 ANeuralNetworksOperandType operand_47{};
398 operand_47.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
399 operand_47.scale = 0.001217219163663685;
400 operand_47.zeroPoint = 125;
401 operand_47.dimensionCount = 4;
402 const uint32_t dimensions_47[] = {1, 3, 3, 192};
403 operand_47.dimensions = dimensions_47;
404 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_47), ANEURALNETWORKS_NO_ERROR);
405 ANeuralNetworksOperandType operand_48{};
406 operand_48.type = ANEURALNETWORKS_TENSOR_INT32;
407 operand_48.scale = 1.103678914660122e-05;
408 operand_48.zeroPoint = 0;
409 operand_48.dimensionCount = 1;
410 const uint32_t dimensions_48[] = {192};
411 operand_48.dimensions = dimensions_48;
412 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_48), ANEURALNETWORKS_NO_ERROR);
413 ANeuralNetworksOperandType operand_49{};
414 operand_49.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
415 operand_49.scale = 0.003552014008164406;
416 operand_49.zeroPoint = 130;
417 operand_49.dimensionCount = 4;
418 const uint32_t dimensions_49[] = {1, 0, 0, 192};
419 operand_49.dimensions = dimensions_49;
420 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_49), ANEURALNETWORKS_NO_ERROR);
421 ANeuralNetworksOperandType operand_50{};
422 operand_50.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
423 operand_50.scale = 0.01093960553407669;
424 operand_50.zeroPoint = 125;
425 operand_50.dimensionCount = 4;
426 const uint32_t dimensions_50[] = {48, 1, 1, 192};
427 operand_50.dimensions = dimensions_50;
428 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_50), ANEURALNETWORKS_NO_ERROR);
429 ANeuralNetworksOperandType operand_51{};
430 operand_51.type = ANEURALNETWORKS_TENSOR_INT32;
431 operand_51.scale = 3.885763362632133e-05;
432 operand_51.zeroPoint = 0;
433 operand_51.dimensionCount = 1;
434 const uint32_t dimensions_51[] = {48};
435 operand_51.dimensions = dimensions_51;
436 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_51), ANEURALNETWORKS_NO_ERROR);
437 ANeuralNetworksOperandType operand_52{};
438 operand_52.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
439 operand_52.scale = 0.01332638971507549;
440 operand_52.zeroPoint = 115;
441 operand_52.dimensionCount = 4;
442 const uint32_t dimensions_52[] = {1, 0, 0, 48};
443 operand_52.dimensions = dimensions_52;
444 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_52), ANEURALNETWORKS_NO_ERROR);
445 ANeuralNetworksOperandType operand_53{};
446 operand_53.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
447 operand_53.scale = 0.003872227622196078;
448 operand_53.zeroPoint = 110;
449 operand_53.dimensionCount = 4;
450 const uint32_t dimensions_53[] = {288, 1, 1, 48};
451 operand_53.dimensions = dimensions_53;
452 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_53), ANEURALNETWORKS_NO_ERROR);
453 ANeuralNetworksOperandType operand_54{};
454 operand_54.type = ANEURALNETWORKS_TENSOR_INT32;
455 operand_54.scale = 5.160281580174342e-05;
456 operand_54.zeroPoint = 0;
457 operand_54.dimensionCount = 1;
458 const uint32_t dimensions_54[] = {288};
459 operand_54.dimensions = dimensions_54;
460 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_54), ANEURALNETWORKS_NO_ERROR);
461 ANeuralNetworksOperandType operand_55{};
462 operand_55.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
463 operand_55.scale = 0.005248025059700012;
464 operand_55.zeroPoint = 0;
465 operand_55.dimensionCount = 4;
466 const uint32_t dimensions_55[] = {1, 0, 0, 288};
467 operand_55.dimensions = dimensions_55;
468 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_55), ANEURALNETWORKS_NO_ERROR);
469 ANeuralNetworksOperandType operand_56{};
470 operand_56.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
471 operand_56.scale = 0.001976602710783482;
472 operand_56.zeroPoint = 121;
473 operand_56.dimensionCount = 4;
474 const uint32_t dimensions_56[] = {1, 3, 3, 288};
475 operand_56.dimensions = dimensions_56;
476 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_56), ANEURALNETWORKS_NO_ERROR);
477 ANeuralNetworksOperandType operand_57{};
478 operand_57.type = ANEURALNETWORKS_TENSOR_INT32;
479 operand_57.scale = 1.037326001096517e-05;
480 operand_57.zeroPoint = 0;
481 operand_57.dimensionCount = 1;
482 const uint32_t dimensions_57[] = {288};
483 operand_57.dimensions = dimensions_57;
484 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_57), ANEURALNETWORKS_NO_ERROR);
485 ANeuralNetworksOperandType operand_58{};
486 operand_58.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
487 operand_58.scale = 0.001622712821699679;
488 operand_58.zeroPoint = 128;
489 operand_58.dimensionCount = 4;
490 const uint32_t dimensions_58[] = {1, 0, 0, 288};
491 operand_58.dimensions = dimensions_58;
492 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_58), ANEURALNETWORKS_NO_ERROR);
493 ANeuralNetworksOperandType operand_59{};
494 operand_59.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
495 operand_59.scale = 0.01881795562803745;
496 operand_59.zeroPoint = 132;
497 operand_59.dimensionCount = 4;
498 const uint32_t dimensions_59[] = {48, 1, 1, 288};
499 operand_59.dimensions = dimensions_59;
500 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_59), ANEURALNETWORKS_NO_ERROR);
501 ANeuralNetworksOperandType operand_60{};
502 operand_60.type = ANEURALNETWORKS_TENSOR_INT32;
503 operand_60.scale = 3.053613909287378e-05;
504 operand_60.zeroPoint = 0;
505 operand_60.dimensionCount = 1;
506 const uint32_t dimensions_60[] = {48};
507 operand_60.dimensions = dimensions_60;
508 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_60), ANEURALNETWORKS_NO_ERROR);
509 ANeuralNetworksOperandType operand_61{};
510 operand_61.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
511 operand_61.scale = 0.01099279243499041;
512 operand_61.zeroPoint = 126;
513 operand_61.dimensionCount = 4;
514 const uint32_t dimensions_61[] = {1, 0, 0, 48};
515 operand_61.dimensions = dimensions_61;
516 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_61), ANEURALNETWORKS_NO_ERROR);
517 ANeuralNetworksOperandType operand_62{};
518 operand_62.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
519 operand_62.scale = 0.01927739381790161;
520 operand_62.zeroPoint = 118;
521 operand_62.dimensionCount = 4;
522 const uint32_t dimensions_62[] = {1, 0, 0, 48};
523 operand_62.dimensions = dimensions_62;
524 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_62), ANEURALNETWORKS_NO_ERROR);
525 ANeuralNetworksOperandType operand_63{};
526 operand_63.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
527 operand_63.scale = 0.00215660990215838;
528 operand_63.zeroPoint = 111;
529 operand_63.dimensionCount = 4;
530 const uint32_t dimensions_63[] = {288, 1, 1, 48};
531 operand_63.dimensions = dimensions_63;
532 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_63), ANEURALNETWORKS_NO_ERROR);
533 ANeuralNetworksOperandType operand_64{};
534 operand_64.type = ANEURALNETWORKS_TENSOR_INT32;
535 operand_64.scale = 4.157381772529334e-05;
536 operand_64.zeroPoint = 0;
537 operand_64.dimensionCount = 1;
538 const uint32_t dimensions_64[] = {288};
539 operand_64.dimensions = dimensions_64;
540 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_64), ANEURALNETWORKS_NO_ERROR);
541 ANeuralNetworksOperandType operand_65{};
542 operand_65.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
543 operand_65.scale = 0.004311998840421438;
544 operand_65.zeroPoint = 0;
545 operand_65.dimensionCount = 4;
546 const uint32_t dimensions_65[] = {1, 0, 0, 288};
547 operand_65.dimensions = dimensions_65;
548 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_65), ANEURALNETWORKS_NO_ERROR);
549 ANeuralNetworksOperandType operand_66{};
550 operand_66.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
551 operand_66.scale = 0.001798613811843097;
552 operand_66.zeroPoint = 128;
553 operand_66.dimensionCount = 4;
554 const uint32_t dimensions_66[] = {1, 3, 3, 288};
555 operand_66.dimensions = dimensions_66;
556 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_66), ANEURALNETWORKS_NO_ERROR);
557 ANeuralNetworksOperandType operand_67{};
558 operand_67.type = ANEURALNETWORKS_TENSOR_INT32;
559 operand_67.scale = 7.755620572424959e-06;
560 operand_67.zeroPoint = 0;
561 operand_67.dimensionCount = 1;
562 const uint32_t dimensions_67[] = {288};
563 operand_67.dimensions = dimensions_67;
564 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_67), ANEURALNETWORKS_NO_ERROR);
565 ANeuralNetworksOperandType operand_68{};
566 operand_68.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
567 operand_68.scale = 0.001595283509232104;
568 operand_68.zeroPoint = 122;
569 operand_68.dimensionCount = 4;
570 const uint32_t dimensions_68[] = {1, 0, 0, 288};
571 operand_68.dimensions = dimensions_68;
572 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_68), ANEURALNETWORKS_NO_ERROR);
573 ANeuralNetworksOperandType operand_69{};
574 operand_69.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
575 operand_69.scale = 0.02731921337544918;
576 operand_69.zeroPoint = 136;
577 operand_69.dimensionCount = 4;
578 const uint32_t dimensions_69[] = {48, 1, 1, 288};
579 operand_69.dimensions = dimensions_69;
580 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_69), ANEURALNETWORKS_NO_ERROR);
581 ANeuralNetworksOperandType operand_70{};
582 operand_70.type = ANEURALNETWORKS_TENSOR_INT32;
583 operand_70.scale = 4.358188743935898e-05;
584 operand_70.zeroPoint = 0;
585 operand_70.dimensionCount = 1;
586 const uint32_t dimensions_70[] = {48};
587 operand_70.dimensions = dimensions_70;
588 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_70), ANEURALNETWORKS_NO_ERROR);
589 ANeuralNetworksOperandType operand_71{};
590 operand_71.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
591 operand_71.scale = 0.01208362448960543;
592 operand_71.zeroPoint = 120;
593 operand_71.dimensionCount = 4;
594 const uint32_t dimensions_71[] = {1, 0, 0, 48};
595 operand_71.dimensions = dimensions_71;
596 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_71), ANEURALNETWORKS_NO_ERROR);
597 ANeuralNetworksOperandType operand_72{};
598 operand_72.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
599 operand_72.scale = 0.02560163103044033;
600 operand_72.zeroPoint = 107;
601 operand_72.dimensionCount = 4;
602 const uint32_t dimensions_72[] = {1, 0, 0, 48};
603 operand_72.dimensions = dimensions_72;
604 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_72), ANEURALNETWORKS_NO_ERROR);
605 ANeuralNetworksOperandType operand_73{};
606 operand_73.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
607 operand_73.scale = 0.003050966653972864;
608 operand_73.zeroPoint = 125;
609 operand_73.dimensionCount = 4;
610 const uint32_t dimensions_73[] = {288, 1, 1, 48};
611 operand_73.dimensions = dimensions_73;
612 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_73), ANEURALNETWORKS_NO_ERROR);
613 ANeuralNetworksOperandType operand_74{};
614 operand_74.type = ANEURALNETWORKS_TENSOR_INT32;
615 operand_74.scale = 7.810971874278039e-05;
616 operand_74.zeroPoint = 0;
617 operand_74.dimensionCount = 1;
618 const uint32_t dimensions_74[] = {288};
619 operand_74.dimensions = dimensions_74;
620 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_74), ANEURALNETWORKS_NO_ERROR);
621 ANeuralNetworksOperandType operand_75{};
622 operand_75.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
623 operand_75.scale = 0.01042873691767454;
624 operand_75.zeroPoint = 0;
625 operand_75.dimensionCount = 4;
626 const uint32_t dimensions_75[] = {1, 0, 0, 288};
627 operand_75.dimensions = dimensions_75;
628 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_75), ANEURALNETWORKS_NO_ERROR);
629 ANeuralNetworksOperandType operand_76{};
630 operand_76.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
631 operand_76.scale = 0.00121846969705075;
632 operand_76.zeroPoint = 117;
633 operand_76.dimensionCount = 4;
634 const uint32_t dimensions_76[] = {1, 3, 3, 288};
635 operand_76.dimensions = dimensions_76;
636 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_76), ANEURALNETWORKS_NO_ERROR);
637 ANeuralNetworksOperandType operand_77{};
638 operand_77.type = ANEURALNETWORKS_TENSOR_INT32;
639 operand_77.scale = 1.270709981326945e-05;
640 operand_77.zeroPoint = 0;
641 operand_77.dimensionCount = 1;
642 const uint32_t dimensions_77[] = {288};
643 operand_77.dimensions = dimensions_77;
644 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_77), ANEURALNETWORKS_NO_ERROR);
645 ANeuralNetworksOperandType operand_78{};
646 operand_78.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
647 operand_78.scale = 0.002883265493437648;
648 operand_78.zeroPoint = 137;
649 operand_78.dimensionCount = 4;
650 const uint32_t dimensions_78[] = {1, 0, 0, 288};
651 operand_78.dimensions = dimensions_78;
652 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_78), ANEURALNETWORKS_NO_ERROR);
653 ANeuralNetworksOperandType operand_79{};
654 operand_79.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
655 operand_79.scale = 0.009875123389065266;
656 operand_79.zeroPoint = 131;
657 operand_79.dimensionCount = 4;
658 const uint32_t dimensions_79[] = {96, 1, 1, 288};
659 operand_79.dimensions = dimensions_79;
660 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_79), ANEURALNETWORKS_NO_ERROR);
661 ANeuralNetworksOperandType operand_80{};
662 operand_80.type = ANEURALNETWORKS_TENSOR_INT32;
663 operand_80.scale = 2.847260293492582e-05;
664 operand_80.zeroPoint = 0;
665 operand_80.dimensionCount = 1;
666 const uint32_t dimensions_80[] = {96};
667 operand_80.dimensions = dimensions_80;
668 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_80), ANEURALNETWORKS_NO_ERROR);
669 ANeuralNetworksOperandType operand_81{};
670 operand_81.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
671 operand_81.scale = 0.009474765509366989;
672 operand_81.zeroPoint = 115;
673 operand_81.dimensionCount = 4;
674 const uint32_t dimensions_81[] = {1, 0, 0, 96};
675 operand_81.dimensions = dimensions_81;
676 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_81), ANEURALNETWORKS_NO_ERROR);
677 ANeuralNetworksOperandType operand_82{};
678 operand_82.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
679 operand_82.scale = 0.00323105463758111;
680 operand_82.zeroPoint = 121;
681 operand_82.dimensionCount = 4;
682 const uint32_t dimensions_82[] = {576, 1, 1, 96};
683 operand_82.dimensions = dimensions_82;
684 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_82), ANEURALNETWORKS_NO_ERROR);
685 ANeuralNetworksOperandType operand_83{};
686 operand_83.type = ANEURALNETWORKS_TENSOR_INT32;
687 operand_83.scale = 3.061348616029136e-05;
688 operand_83.zeroPoint = 0;
689 operand_83.dimensionCount = 1;
690 const uint32_t dimensions_83[] = {576};
691 operand_83.dimensions = dimensions_83;
692 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_83), ANEURALNETWORKS_NO_ERROR);
693 ANeuralNetworksOperandType operand_84{};
694 operand_84.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
695 operand_84.scale = 0.004371246788650751;
696 operand_84.zeroPoint = 0;
697 operand_84.dimensionCount = 4;
698 const uint32_t dimensions_84[] = {1, 0, 0, 576};
699 operand_84.dimensions = dimensions_84;
700 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_84), ANEURALNETWORKS_NO_ERROR);
701 ANeuralNetworksOperandType operand_85{};
702 operand_85.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
703 operand_85.scale = 0.001316901994869113;
704 operand_85.zeroPoint = 132;
705 operand_85.dimensionCount = 4;
706 const uint32_t dimensions_85[] = {1, 3, 3, 576};
707 operand_85.dimensions = dimensions_85;
708 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_85), ANEURALNETWORKS_NO_ERROR);
709 ANeuralNetworksOperandType operand_86{};
710 operand_86.type = ANEURALNETWORKS_TENSOR_INT32;
711 operand_86.scale = 5.75650346945622e-06;
712 operand_86.zeroPoint = 0;
713 operand_86.dimensionCount = 1;
714 const uint32_t dimensions_86[] = {576};
715 operand_86.dimensions = dimensions_86;
716 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_86), ANEURALNETWORKS_NO_ERROR);
717 ANeuralNetworksOperandType operand_87{};
718 operand_87.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
719 operand_87.scale = 0.001160673331469297;
720 operand_87.zeroPoint = 136;
721 operand_87.dimensionCount = 4;
722 const uint32_t dimensions_87[] = {1, 0, 0, 576};
723 operand_87.dimensions = dimensions_87;
724 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_87), ANEURALNETWORKS_NO_ERROR);
725 ANeuralNetworksOperandType operand_88{};
726 operand_88.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
727 operand_88.scale = 0.01717966049909592;
728 operand_88.zeroPoint = 138;
729 operand_88.dimensionCount = 4;
730 const uint32_t dimensions_88[] = {96, 1, 1, 576};
731 operand_88.dimensions = dimensions_88;
732 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_88), ANEURALNETWORKS_NO_ERROR);
733 ANeuralNetworksOperandType operand_89{};
734 operand_89.type = ANEURALNETWORKS_TENSOR_INT32;
735 operand_89.scale = 1.993997466342989e-05;
736 operand_89.zeroPoint = 0;
737 operand_89.dimensionCount = 1;
738 const uint32_t dimensions_89[] = {96};
739 operand_89.dimensions = dimensions_89;
740 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_89), ANEURALNETWORKS_NO_ERROR);
741 ANeuralNetworksOperandType operand_90{};
742 operand_90.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
743 operand_90.scale = 0.006981693673878908;
744 operand_90.zeroPoint = 120;
745 operand_90.dimensionCount = 4;
746 const uint32_t dimensions_90[] = {1, 0, 0, 96};
747 operand_90.dimensions = dimensions_90;
748 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_90), ANEURALNETWORKS_NO_ERROR);
749 ANeuralNetworksOperandType operand_91{};
750 operand_91.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
751 operand_91.scale = 0.01042260229587555;
752 operand_91.zeroPoint = 124;
753 operand_91.dimensionCount = 4;
754 const uint32_t dimensions_91[] = {1, 0, 0, 96};
755 operand_91.dimensions = dimensions_91;
756 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_91), ANEURALNETWORKS_NO_ERROR);
757 ANeuralNetworksOperandType operand_92{};
758 operand_92.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
759 operand_92.scale = 0.002388325287029147;
760 operand_92.zeroPoint = 120;
761 operand_92.dimensionCount = 4;
762 const uint32_t dimensions_92[] = {576, 1, 1, 96};
763 operand_92.dimensions = dimensions_92;
764 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_92), ANEURALNETWORKS_NO_ERROR);
765 ANeuralNetworksOperandType operand_93{};
766 operand_93.type = ANEURALNETWORKS_TENSOR_INT32;
767 operand_93.scale = 2.489256439730525e-05;
768 operand_93.zeroPoint = 0;
769 operand_93.dimensionCount = 1;
770 const uint32_t dimensions_93[] = {576};
771 operand_93.dimensions = dimensions_93;
772 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_93), ANEURALNETWORKS_NO_ERROR);
773 ANeuralNetworksOperandType operand_94{};
774 operand_94.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
775 operand_94.scale = 0.003468555863946676;
776 operand_94.zeroPoint = 0;
777 operand_94.dimensionCount = 4;
778 const uint32_t dimensions_94[] = {1, 0, 0, 576};
779 operand_94.dimensions = dimensions_94;
780 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_94), ANEURALNETWORKS_NO_ERROR);
781 ANeuralNetworksOperandType operand_95{};
782 operand_95.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
783 operand_95.scale = 0.001293058856390417;
784 operand_95.zeroPoint = 135;
785 operand_95.dimensionCount = 4;
786 const uint32_t dimensions_95[] = {1, 3, 3, 576};
787 operand_95.dimensions = dimensions_95;
788 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_95), ANEURALNETWORKS_NO_ERROR);
789 ANeuralNetworksOperandType operand_96{};
790 operand_96.type = ANEURALNETWORKS_TENSOR_INT32;
791 operand_96.scale = 4.485046702029649e-06;
792 operand_96.zeroPoint = 0;
793 operand_96.dimensionCount = 1;
794 const uint32_t dimensions_96[] = {576};
795 operand_96.dimensions = dimensions_96;
796 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_96), ANEURALNETWORKS_NO_ERROR);
797 ANeuralNetworksOperandType operand_97{};
798 operand_97.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
799 operand_97.scale = 0.001004486111924052;
800 operand_97.zeroPoint = 121;
801 operand_97.dimensionCount = 4;
802 const uint32_t dimensions_97[] = {1, 0, 0, 576};
803 operand_97.dimensions = dimensions_97;
804 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_97), ANEURALNETWORKS_NO_ERROR);
805 ANeuralNetworksOperandType operand_98{};
806 operand_98.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
807 operand_98.scale = 0.02229274623095989;
808 operand_98.zeroPoint = 132;
809 operand_98.dimensionCount = 4;
810 const uint32_t dimensions_98[] = {96, 1, 1, 576};
811 operand_98.dimensions = dimensions_98;
812 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_98), ANEURALNETWORKS_NO_ERROR);
813 ANeuralNetworksOperandType operand_99{};
814 operand_99.type = ANEURALNETWORKS_TENSOR_INT32;
815 operand_99.scale = 2.239275454485323e-05;
816 operand_99.zeroPoint = 0;
817 operand_99.dimensionCount = 1;
818 const uint32_t dimensions_99[] = {96};
819 operand_99.dimensions = dimensions_99;
820 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_99), ANEURALNETWORKS_NO_ERROR);
821 ANeuralNetworksOperandType operand_100{};
822 operand_100.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
823 operand_100.scale = 0.00858442485332489;
824 operand_100.zeroPoint = 128;
825 operand_100.dimensionCount = 4;
826 const uint32_t dimensions_100[] = {1, 0, 0, 96};
827 operand_100.dimensions = dimensions_100;
828 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_100), ANEURALNETWORKS_NO_ERROR);
829 ANeuralNetworksOperandType operand_101{};
830 operand_101.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
831 operand_101.scale = 0.01262346189469099;
832 operand_101.zeroPoint = 130;
833 operand_101.dimensionCount = 4;
834 const uint32_t dimensions_101[] = {1, 0, 0, 96};
835 operand_101.dimensions = dimensions_101;
836 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_101), ANEURALNETWORKS_NO_ERROR);
837 ANeuralNetworksOperandType operand_102{};
838 operand_102.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
839 operand_102.scale = 0.001790200243704021;
840 operand_102.zeroPoint = 143;
841 operand_102.dimensionCount = 4;
842 const uint32_t dimensions_102[] = {576, 1, 1, 96};
843 operand_102.dimensions = dimensions_102;
844 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_102), ANEURALNETWORKS_NO_ERROR);
845 ANeuralNetworksOperandType operand_103{};
846 operand_103.type = ANEURALNETWORKS_TENSOR_INT32;
847 operand_103.scale = 2.259852408315055e-05;
848 operand_103.zeroPoint = 0;
849 operand_103.dimensionCount = 1;
850 const uint32_t dimensions_103[] = {576};
851 operand_103.dimensions = dimensions_103;
852 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_103), ANEURALNETWORKS_NO_ERROR);
853 ANeuralNetworksOperandType operand_104{};
854 operand_104.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
855 operand_104.scale = 0.003789969952777028;
856 operand_104.zeroPoint = 0;
857 operand_104.dimensionCount = 4;
858 const uint32_t dimensions_104[] = {1, 0, 0, 576};
859 operand_104.dimensions = dimensions_104;
860 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_104), ANEURALNETWORKS_NO_ERROR);
861 ANeuralNetworksOperandType operand_105{};
862 operand_105.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
863 operand_105.scale = 0.001565286540426314;
864 operand_105.zeroPoint = 133;
865 operand_105.dimensionCount = 4;
866 const uint32_t dimensions_105[] = {1, 3, 3, 576};
867 operand_105.dimensions = dimensions_105;
868 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_105), ANEURALNETWORKS_NO_ERROR);
869 ANeuralNetworksOperandType operand_106{};
870 operand_106.type = ANEURALNETWORKS_TENSOR_INT32;
871 operand_106.scale = 5.932388830842683e-06;
872 operand_106.zeroPoint = 0;
873 operand_106.dimensionCount = 1;
874 const uint32_t dimensions_106[] = {576};
875 operand_106.dimensions = dimensions_106;
876 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_106), ANEURALNETWORKS_NO_ERROR);
877 ANeuralNetworksOperandType operand_107{};
878 operand_107.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
879 operand_107.scale = 0.001188441878184676;
880 operand_107.zeroPoint = 107;
881 operand_107.dimensionCount = 4;
882 const uint32_t dimensions_107[] = {1, 0, 0, 576};
883 operand_107.dimensions = dimensions_107;
884 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_107), ANEURALNETWORKS_NO_ERROR);
885 ANeuralNetworksOperandType operand_108{};
886 operand_108.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
887 operand_108.scale = 0.03223617374897003;
888 operand_108.zeroPoint = 131;
889 operand_108.dimensionCount = 4;
890 const uint32_t dimensions_108[] = {96, 1, 1, 576};
891 operand_108.dimensions = dimensions_108;
892 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_108), ANEURALNETWORKS_NO_ERROR);
893 ANeuralNetworksOperandType operand_109{};
894 operand_109.type = ANEURALNETWORKS_TENSOR_INT32;
895 operand_109.scale = 3.83108199457638e-05;
896 operand_109.zeroPoint = 0;
897 operand_109.dimensionCount = 1;
898 const uint32_t dimensions_109[] = {96};
899 operand_109.dimensions = dimensions_109;
900 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_109), ANEURALNETWORKS_NO_ERROR);
901 ANeuralNetworksOperandType operand_110{};
902 operand_110.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
903 operand_110.scale = 0.01084044575691223;
904 operand_110.zeroPoint = 130;
905 operand_110.dimensionCount = 4;
906 const uint32_t dimensions_110[] = {1, 0, 0, 96};
907 operand_110.dimensions = dimensions_110;
908 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_110), ANEURALNETWORKS_NO_ERROR);
909 ANeuralNetworksOperandType operand_111{};
910 operand_111.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
911 operand_111.scale = 0.01627451553940773;
912 operand_111.zeroPoint = 133;
913 operand_111.dimensionCount = 4;
914 const uint32_t dimensions_111[] = {1, 0, 0, 96};
915 operand_111.dimensions = dimensions_111;
916 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_111), ANEURALNETWORKS_NO_ERROR);
917 ANeuralNetworksOperandType operand_112{};
918 operand_112.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
919 operand_112.scale = 0.001678385655395687;
920 operand_112.zeroPoint = 135;
921 operand_112.dimensionCount = 4;
922 const uint32_t dimensions_112[] = {576, 1, 1, 96};
923 operand_112.dimensions = dimensions_112;
924 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_112), ANEURALNETWORKS_NO_ERROR);
925 ANeuralNetworksOperandType operand_113{};
926 operand_113.type = ANEURALNETWORKS_TENSOR_INT32;
927 operand_113.scale = 2.731491440499667e-05;
928 operand_113.zeroPoint = 0;
929 operand_113.dimensionCount = 1;
930 const uint32_t dimensions_113[] = {576};
931 operand_113.dimensions = dimensions_113;
932 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_113), ANEURALNETWORKS_NO_ERROR);
933 ANeuralNetworksOperandType operand_114{};
934 operand_114.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
935 operand_114.scale = 0.004788670688867569;
936 operand_114.zeroPoint = 0;
937 operand_114.dimensionCount = 4;
938 const uint32_t dimensions_114[] = {1, 0, 0, 576};
939 operand_114.dimensions = dimensions_114;
940 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_114), ANEURALNETWORKS_NO_ERROR);
941 ANeuralNetworksOperandType operand_115{};
942 operand_115.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
943 operand_115.scale = 0.001882086275145411;
944 operand_115.zeroPoint = 130;
945 operand_115.dimensionCount = 4;
946 const uint32_t dimensions_115[] = {1, 3, 3, 576};
947 operand_115.dimensions = dimensions_115;
948 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_115), ANEURALNETWORKS_NO_ERROR);
949 ANeuralNetworksOperandType operand_116{};
950 operand_116.type = ANEURALNETWORKS_TENSOR_INT32;
951 operand_116.scale = 9.012691407406237e-06;
952 operand_116.zeroPoint = 0;
953 operand_116.dimensionCount = 1;
954 const uint32_t dimensions_116[] = {576};
955 operand_116.dimensions = dimensions_116;
956 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_116), ANEURALNETWORKS_NO_ERROR);
957 ANeuralNetworksOperandType operand_117{};
958 operand_117.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
959 operand_117.scale = 0.001888960134238005;
960 operand_117.zeroPoint = 131;
961 operand_117.dimensionCount = 4;
962 const uint32_t dimensions_117[] = {1, 0, 0, 576};
963 operand_117.dimensions = dimensions_117;
964 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_117), ANEURALNETWORKS_NO_ERROR);
965 ANeuralNetworksOperandType operand_118{};
966 operand_118.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
967 operand_118.scale = 0.006059954408556223;
968 operand_118.zeroPoint = 131;
969 operand_118.dimensionCount = 4;
970 const uint32_t dimensions_118[] = {128, 1, 1, 576};
971 operand_118.dimensions = dimensions_118;
972 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_118), ANEURALNETWORKS_NO_ERROR);
973 ANeuralNetworksOperandType operand_119{};
974 operand_119.type = ANEURALNETWORKS_TENSOR_INT32;
975 operand_119.scale = 1.144701218436239e-05;
976 operand_119.zeroPoint = 0;
977 operand_119.dimensionCount = 1;
978 const uint32_t dimensions_119[] = {128};
979 operand_119.dimensions = dimensions_119;
980 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_119), ANEURALNETWORKS_NO_ERROR);
981 ANeuralNetworksOperandType operand_120{};
982 operand_120.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
983 operand_120.scale = 0.004614091943949461;
984 operand_120.zeroPoint = 131;
985 operand_120.dimensionCount = 4;
986 const uint32_t dimensions_120[] = {1, 0, 0, 128};
987 operand_120.dimensions = dimensions_120;
988 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_120), ANEURALNETWORKS_NO_ERROR);
989 ANeuralNetworksOperandType operand_121{};
990 operand_121.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
991 operand_121.scale = 0.007414539344608784;
992 operand_121.zeroPoint = 126;
993 operand_121.dimensionCount = 4;
994 const uint32_t dimensions_121[] = {768, 1, 1, 128};
995 operand_121.dimensions = dimensions_121;
996 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_121), ANEURALNETWORKS_NO_ERROR);
997 ANeuralNetworksOperandType operand_122{};
998 operand_122.type = ANEURALNETWORKS_TENSOR_INT32;
999 operand_122.scale = 3.42113635269925e-05;
1000 operand_122.zeroPoint = 0;
1001 operand_122.dimensionCount = 1;
1002 const uint32_t dimensions_122[] = {768};
1003 operand_122.dimensions = dimensions_122;
1004 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_122), ANEURALNETWORKS_NO_ERROR);
1005 ANeuralNetworksOperandType operand_123{};
1006 operand_123.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1007 operand_123.scale = 0.002970855450257659;
1008 operand_123.zeroPoint = 0;
1009 operand_123.dimensionCount = 4;
1010 const uint32_t dimensions_123[] = {1, 0, 0, 768};
1011 operand_123.dimensions = dimensions_123;
1012 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_123), ANEURALNETWORKS_NO_ERROR);
1013 ANeuralNetworksOperandType operand_124{};
1014 operand_124.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1015 operand_124.scale = 0.00154426705557853;
1016 operand_124.zeroPoint = 127;
1017 operand_124.dimensionCount = 4;
1018 const uint32_t dimensions_124[] = {1, 3, 3, 768};
1019 operand_124.dimensions = dimensions_124;
1020 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_124), ANEURALNETWORKS_NO_ERROR);
1021 ANeuralNetworksOperandType operand_125{};
1022 operand_125.type = ANEURALNETWORKS_TENSOR_INT32;
1023 operand_125.scale = 4.58779413747834e-06;
1024 operand_125.zeroPoint = 0;
1025 operand_125.dimensionCount = 1;
1026 const uint32_t dimensions_125[] = {768};
1027 operand_125.dimensions = dimensions_125;
1028 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_125), ANEURALNETWORKS_NO_ERROR);
1029 ANeuralNetworksOperandType operand_126{};
1030 operand_126.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1031 operand_126.scale = 0.001004609395749867;
1032 operand_126.zeroPoint = 119;
1033 operand_126.dimensionCount = 4;
1034 const uint32_t dimensions_126[] = {1, 0, 0, 768};
1035 operand_126.dimensions = dimensions_126;
1036 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_126), ANEURALNETWORKS_NO_ERROR);
1037 ANeuralNetworksOperandType operand_127{};
1038 operand_127.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1039 operand_127.scale = 0.01107242610305548;
1040 operand_127.zeroPoint = 127;
1041 operand_127.dimensionCount = 4;
1042 const uint32_t dimensions_127[] = {128, 1, 1, 768};
1043 operand_127.dimensions = dimensions_127;
1044 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_127), ANEURALNETWORKS_NO_ERROR);
1045 ANeuralNetworksOperandType operand_128{};
1046 operand_128.type = ANEURALNETWORKS_TENSOR_INT32;
1047 operand_128.scale = 1.112346308218548e-05;
1048 operand_128.zeroPoint = 0;
1049 operand_128.dimensionCount = 1;
1050 const uint32_t dimensions_128[] = {128};
1051 operand_128.dimensions = dimensions_128;
1052 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_128), ANEURALNETWORKS_NO_ERROR);
1053 ANeuralNetworksOperandType operand_129{};
1054 operand_129.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1055 operand_129.scale = 0.004491065628826618;
1056 operand_129.zeroPoint = 121;
1057 operand_129.dimensionCount = 4;
1058 const uint32_t dimensions_129[] = {1, 0, 0, 128};
1059 operand_129.dimensions = dimensions_129;
1060 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_129), ANEURALNETWORKS_NO_ERROR);
1061 ANeuralNetworksOperandType operand_130{};
1062 operand_130.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1063 operand_130.scale = 0.007918111048638821;
1064 operand_130.zeroPoint = 132;
1065 operand_130.dimensionCount = 4;
1066 const uint32_t dimensions_130[] = {1, 0, 0, 128};
1067 operand_130.dimensions = dimensions_130;
1068 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_130), ANEURALNETWORKS_NO_ERROR);
1069 ANeuralNetworksOperandType operand_131{};
1070 operand_131.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1071 operand_131.scale = 0.004637615289539099;
1072 operand_131.zeroPoint = 126;
1073 operand_131.dimensionCount = 4;
1074 const uint32_t dimensions_131[] = {768, 1, 1, 128};
1075 operand_131.dimensions = dimensions_131;
1076 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_131), ANEURALNETWORKS_NO_ERROR);
1077 ANeuralNetworksOperandType operand_132{};
1078 operand_132.type = ANEURALNETWORKS_TENSOR_INT32;
1079 operand_132.scale = 3.672115417430177e-05;
1080 operand_132.zeroPoint = 0;
1081 operand_132.dimensionCount = 1;
1082 const uint32_t dimensions_132[] = {768};
1083 operand_132.dimensions = dimensions_132;
1084 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_132), ANEURALNETWORKS_NO_ERROR);
1085 ANeuralNetworksOperandType operand_133{};
1086 operand_133.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1087 operand_133.scale = 0.003131674602627754;
1088 operand_133.zeroPoint = 0;
1089 operand_133.dimensionCount = 4;
1090 const uint32_t dimensions_133[] = {1, 0, 0, 768};
1091 operand_133.dimensions = dimensions_133;
1092 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_133), ANEURALNETWORKS_NO_ERROR);
1093 ANeuralNetworksOperandType operand_134{};
1094 operand_134.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1095 operand_134.scale = 0.001537951757200062;
1096 operand_134.zeroPoint = 130;
1097 operand_134.dimensionCount = 4;
1098 const uint32_t dimensions_134[] = {1, 3, 3, 768};
1099 operand_134.dimensions = dimensions_134;
1100 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_134), ANEURALNETWORKS_NO_ERROR);
1101 ANeuralNetworksOperandType operand_135{};
1102 operand_135.type = ANEURALNETWORKS_TENSOR_INT32;
1103 operand_135.scale = 4.816364707949106e-06;
1104 operand_135.zeroPoint = 0;
1105 operand_135.dimensionCount = 1;
1106 const uint32_t dimensions_135[] = {768};
1107 operand_135.dimensions = dimensions_135;
1108 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_135), ANEURALNETWORKS_NO_ERROR);
1109 ANeuralNetworksOperandType operand_136{};
1110 operand_136.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1111 operand_136.scale = 0.001004835939966142;
1112 operand_136.zeroPoint = 121;
1113 operand_136.dimensionCount = 4;
1114 const uint32_t dimensions_136[] = {1, 0, 0, 768};
1115 operand_136.dimensions = dimensions_136;
1116 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_136), ANEURALNETWORKS_NO_ERROR);
1117 ANeuralNetworksOperandType operand_137{};
1118 operand_137.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1119 operand_137.scale = 0.01529518887400627;
1120 operand_137.zeroPoint = 131;
1121 operand_137.dimensionCount = 4;
1122 const uint32_t dimensions_137[] = {128, 1, 1, 768};
1123 operand_137.dimensions = dimensions_137;
1124 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_137), ANEURALNETWORKS_NO_ERROR);
1125 ANeuralNetworksOperandType operand_138{};
1126 operand_138.type = ANEURALNETWORKS_TENSOR_INT32;
1127 operand_138.scale = 1.536915442557074e-05;
1128 operand_138.zeroPoint = 0;
1129 operand_138.dimensionCount = 1;
1130 const uint32_t dimensions_138[] = {128};
1131 operand_138.dimensions = dimensions_138;
1132 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_138), ANEURALNETWORKS_NO_ERROR);
1133 ANeuralNetworksOperandType operand_139{};
1134 operand_139.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1135 operand_139.scale = 0.005413023289293051;
1136 operand_139.zeroPoint = 121;
1137 operand_139.dimensionCount = 4;
1138 const uint32_t dimensions_139[] = {1, 0, 0, 128};
1139 operand_139.dimensions = dimensions_139;
1140 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_139), ANEURALNETWORKS_NO_ERROR);
1141 ANeuralNetworksOperandType operand_140{};
1142 operand_140.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1143 operand_140.scale = 0.01041953638195992;
1144 operand_140.zeroPoint = 122;
1145 operand_140.dimensionCount = 4;
1146 const uint32_t dimensions_140[] = {1, 0, 0, 128};
1147 operand_140.dimensions = dimensions_140;
1148 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_140), ANEURALNETWORKS_NO_ERROR);
1149 ANeuralNetworksOperandType operand_141{};
1150 operand_141.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1151 operand_141.scale = 0.002339381724596024;
1152 operand_141.zeroPoint = 119;
1153 operand_141.dimensionCount = 4;
1154 const uint32_t dimensions_141[] = {768, 1, 1, 128};
1155 operand_141.dimensions = dimensions_141;
1156 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_141), ANEURALNETWORKS_NO_ERROR);
1157 ANeuralNetworksOperandType operand_142{};
1158 operand_142.type = ANEURALNETWORKS_TENSOR_INT32;
1159 operand_142.scale = 2.437527291476727e-05;
1160 operand_142.zeroPoint = 0;
1161 operand_142.dimensionCount = 1;
1162 const uint32_t dimensions_142[] = {768};
1163 operand_142.dimensions = dimensions_142;
1164 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_142), ANEURALNETWORKS_NO_ERROR);
1165 ANeuralNetworksOperandType operand_143{};
1166 operand_143.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1167 operand_143.scale = 0.002237820532172918;
1168 operand_143.zeroPoint = 0;
1169 operand_143.dimensionCount = 4;
1170 const uint32_t dimensions_143[] = {1, 0, 0, 768};
1171 operand_143.dimensions = dimensions_143;
1172 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_143), ANEURALNETWORKS_NO_ERROR);
1173 ANeuralNetworksOperandType operand_144{};
1174 operand_144.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1175 operand_144.scale = 0.0007936766487546265;
1176 operand_144.zeroPoint = 133;
1177 operand_144.dimensionCount = 4;
1178 const uint32_t dimensions_144[] = {1, 3, 3, 768};
1179 operand_144.dimensions = dimensions_144;
1180 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_144), ANEURALNETWORKS_NO_ERROR);
1181 ANeuralNetworksOperandType operand_145{};
1182 operand_145.type = ANEURALNETWORKS_TENSOR_INT32;
1183 operand_145.scale = 1.776105818862561e-06;
1184 operand_145.zeroPoint = 0;
1185 operand_145.dimensionCount = 1;
1186 const uint32_t dimensions_145[] = {768};
1187 operand_145.dimensions = dimensions_145;
1188 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_145), ANEURALNETWORKS_NO_ERROR);
1189 ANeuralNetworksOperandType operand_146{};
1190 operand_146.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1191 operand_146.scale = 0.001001776661723852;
1192 operand_146.zeroPoint = 115;
1193 operand_146.dimensionCount = 4;
1194 const uint32_t dimensions_146[] = {1, 0, 0, 768};
1195 operand_146.dimensions = dimensions_146;
1196 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_146), ANEURALNETWORKS_NO_ERROR);
1197 ANeuralNetworksOperandType operand_147{};
1198 operand_147.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1199 operand_147.scale = 0.02992645651102066;
1200 operand_147.zeroPoint = 122;
1201 operand_147.dimensionCount = 4;
1202 const uint32_t dimensions_147[] = {128, 1, 1, 768};
1203 operand_147.dimensions = dimensions_147;
1204 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_147), ANEURALNETWORKS_NO_ERROR);
1205 ANeuralNetworksOperandType operand_148{};
1206 operand_148.type = ANEURALNETWORKS_TENSOR_INT32;
1207 operand_148.scale = 2.997962474182714e-05;
1208 operand_148.zeroPoint = 0;
1209 operand_148.dimensionCount = 1;
1210 const uint32_t dimensions_148[] = {128};
1211 operand_148.dimensions = dimensions_148;
1212 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_148), ANEURALNETWORKS_NO_ERROR);
1213 ANeuralNetworksOperandType operand_149{};
1214 operand_149.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1215 operand_149.scale = 0.006007113959640265;
1216 operand_149.zeroPoint = 138;
1217 operand_149.dimensionCount = 4;
1218 const uint32_t dimensions_149[] = {1, 0, 0, 128};
1219 operand_149.dimensions = dimensions_149;
1220 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_149), ANEURALNETWORKS_NO_ERROR);
1221 ANeuralNetworksOperandType operand_150{};
1222 operand_150.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1223 operand_150.scale = 0.01333596650511026;
1224 operand_150.zeroPoint = 128;
1225 operand_150.dimensionCount = 4;
1226 const uint32_t dimensions_150[] = {1, 0, 0, 128};
1227 operand_150.dimensions = dimensions_150;
1228 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_150), ANEURALNETWORKS_NO_ERROR);
1229 ANeuralNetworksOperandType operand_151{};
1230 operand_151.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1231 operand_151.scale = 0.002114560455083847;
1232 operand_151.zeroPoint = 131;
1233 operand_151.dimensionCount = 4;
1234 const uint32_t dimensions_151[] = {768, 1, 1, 128};
1235 operand_151.dimensions = dimensions_151;
1236 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_151), ANEURALNETWORKS_NO_ERROR);
1237 ANeuralNetworksOperandType operand_152{};
1238 operand_152.type = ANEURALNETWORKS_TENSOR_INT32;
1239 operand_152.scale = 2.819970904965885e-05;
1240 operand_152.zeroPoint = 0;
1241 operand_152.dimensionCount = 1;
1242 const uint32_t dimensions_152[] = {768};
1243 operand_152.dimensions = dimensions_152;
1244 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_152), ANEURALNETWORKS_NO_ERROR);
1245 ANeuralNetworksOperandType operand_153{};
1246 operand_153.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1247 operand_153.scale = 0.002463524229824543;
1248 operand_153.zeroPoint = 0;
1249 operand_153.dimensionCount = 4;
1250 const uint32_t dimensions_153[] = {1, 0, 0, 768};
1251 operand_153.dimensions = dimensions_153;
1252 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_153), ANEURALNETWORKS_NO_ERROR);
1253 ANeuralNetworksOperandType operand_154{};
1254 operand_154.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1255 operand_154.scale = 0.0009068828076124191;
1256 operand_154.zeroPoint = 125;
1257 operand_154.dimensionCount = 4;
1258 const uint32_t dimensions_154[] = {1, 3, 3, 768};
1259 operand_154.dimensions = dimensions_154;
1260 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_154), ANEURALNETWORKS_NO_ERROR);
1261 ANeuralNetworksOperandType operand_155{};
1262 operand_155.type = ANEURALNETWORKS_TENSOR_INT32;
1263 operand_155.scale = 2.234127578049083e-06;
1264 operand_155.zeroPoint = 0;
1265 operand_155.dimensionCount = 1;
1266 const uint32_t dimensions_155[] = {768};
1267 operand_155.dimensions = dimensions_155;
1268 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_155), ANEURALNETWORKS_NO_ERROR);
1269 ANeuralNetworksOperandType operand_156{};
1270 operand_156.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1271 operand_156.scale = 0.001002233359031379;
1272 operand_156.zeroPoint = 132;
1273 operand_156.dimensionCount = 4;
1274 const uint32_t dimensions_156[] = {1, 0, 0, 768};
1275 operand_156.dimensions = dimensions_156;
1276 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_156), ANEURALNETWORKS_NO_ERROR);
1277 ANeuralNetworksOperandType operand_157{};
1278 operand_157.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1279 operand_157.scale = 0.0339314192533493;
1280 operand_157.zeroPoint = 113;
1281 operand_157.dimensionCount = 4;
1282 const uint32_t dimensions_157[] = {128, 1, 1, 768};
1283 operand_157.dimensions = dimensions_157;
1284 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_157), ANEURALNETWORKS_NO_ERROR);
1285 ANeuralNetworksOperandType operand_158{};
1286 operand_158.type = ANEURALNETWORKS_TENSOR_INT32;
1287 operand_158.scale = 3.400720015633851e-05;
1288 operand_158.zeroPoint = 0;
1289 operand_158.dimensionCount = 1;
1290 const uint32_t dimensions_158[] = {128};
1291 operand_158.dimensions = dimensions_158;
1292 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_158), ANEURALNETWORKS_NO_ERROR);
1293 ANeuralNetworksOperandType operand_159{};
1294 operand_159.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1295 operand_159.scale = 0.007420019246637821;
1296 operand_159.zeroPoint = 135;
1297 operand_159.dimensionCount = 4;
1298 const uint32_t dimensions_159[] = {1, 0, 0, 128};
1299 operand_159.dimensions = dimensions_159;
1300 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_159), ANEURALNETWORKS_NO_ERROR);
1301 ANeuralNetworksOperandType operand_160{};
1302 operand_160.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1303 operand_160.scale = 0.01803975738584995;
1304 operand_160.zeroPoint = 134;
1305 operand_160.dimensionCount = 4;
1306 const uint32_t dimensions_160[] = {1, 0, 0, 128};
1307 operand_160.dimensions = dimensions_160;
1308 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_160), ANEURALNETWORKS_NO_ERROR);
1309 ANeuralNetworksOperandType operand_161{};
1310 operand_161.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1311 operand_161.scale = 0.001758694183081388;
1312 operand_161.zeroPoint = 134;
1313 operand_161.dimensionCount = 4;
1314 const uint32_t dimensions_161[] = {768, 1, 1, 128};
1315 operand_161.dimensions = dimensions_161;
1316 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_161), ANEURALNETWORKS_NO_ERROR);
1317 ANeuralNetworksOperandType operand_162{};
1318 operand_162.type = ANEURALNETWORKS_TENSOR_INT32;
1319 operand_162.scale = 3.172641663695686e-05;
1320 operand_162.zeroPoint = 0;
1321 operand_162.dimensionCount = 1;
1322 const uint32_t dimensions_162[] = {768};
1323 operand_162.dimensions = dimensions_162;
1324 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_162), ANEURALNETWORKS_NO_ERROR);
1325 ANeuralNetworksOperandType operand_163{};
1326 operand_163.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1327 operand_163.scale = 0.003602873533964157;
1328 operand_163.zeroPoint = 0;
1329 operand_163.dimensionCount = 4;
1330 const uint32_t dimensions_163[] = {1, 0, 0, 768};
1331 operand_163.dimensions = dimensions_163;
1332 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_163), ANEURALNETWORKS_NO_ERROR);
1333 ANeuralNetworksOperandType operand_164{};
1334 operand_164.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1335 operand_164.scale = 0.00123634107876569;
1336 operand_164.zeroPoint = 134;
1337 operand_164.dimensionCount = 4;
1338 const uint32_t dimensions_164[] = {1, 3, 3, 768};
1339 operand_164.dimensions = dimensions_164;
1340 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_164), ANEURALNETWORKS_NO_ERROR);
1341 ANeuralNetworksOperandType operand_165{};
1342 operand_165.type = ANEURALNETWORKS_TENSOR_INT32;
1343 operand_165.scale = 4.45438035967527e-06;
1344 operand_165.zeroPoint = 0;
1345 operand_165.dimensionCount = 1;
1346 const uint32_t dimensions_165[] = {768};
1347 operand_165.dimensions = dimensions_165;
1348 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_165), ANEURALNETWORKS_NO_ERROR);
1349 ANeuralNetworksOperandType operand_166{};
1350 operand_166.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1351 operand_166.scale = 0.001004456076771021;
1352 operand_166.zeroPoint = 114;
1353 operand_166.dimensionCount = 4;
1354 const uint32_t dimensions_166[] = {1, 0, 0, 768};
1355 operand_166.dimensions = dimensions_166;
1356 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_166), ANEURALNETWORKS_NO_ERROR);
1357 ANeuralNetworksOperandType operand_167{};
1358 operand_167.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1359 operand_167.scale = 0.04360251501202583;
1360 operand_167.zeroPoint = 125;
1361 operand_167.dimensionCount = 4;
1362 const uint32_t dimensions_167[] = {128, 1, 1, 768};
1363 operand_167.dimensions = dimensions_167;
1364 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_167), ANEURALNETWORKS_NO_ERROR);
1365 ANeuralNetworksOperandType operand_168{};
1366 operand_168.type = ANEURALNETWORKS_TENSOR_INT32;
1367 operand_168.scale = 4.379680831334554e-05;
1368 operand_168.zeroPoint = 0;
1369 operand_168.dimensionCount = 1;
1370 const uint32_t dimensions_168[] = {128};
1371 operand_168.dimensions = dimensions_168;
1372 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_168), ANEURALNETWORKS_NO_ERROR);
1373 ANeuralNetworksOperandType operand_169{};
1374 operand_169.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1375 operand_169.scale = 0.01710499450564384;
1376 operand_169.zeroPoint = 129;
1377 operand_169.dimensionCount = 4;
1378 const uint32_t dimensions_169[] = {1, 0, 0, 128};
1379 operand_169.dimensions = dimensions_169;
1380 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_169), ANEURALNETWORKS_NO_ERROR);
1381 ANeuralNetworksOperandType operand_170{};
1382 operand_170.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1383 operand_170.scale = 0.02661834843456745;
1384 operand_170.zeroPoint = 134;
1385 operand_170.dimensionCount = 4;
1386 const uint32_t dimensions_170[] = {1, 0, 0, 128};
1387 operand_170.dimensions = dimensions_170;
1388 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_170), ANEURALNETWORKS_NO_ERROR);
1389 ANeuralNetworksOperandType operand_171{};
1390 operand_171.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1391 operand_171.scale = 0.003064587479457259;
1392 operand_171.zeroPoint = 115;
1393 operand_171.dimensionCount = 4;
1394 const uint32_t dimensions_171[] = {15, 1, 1, 128};
1395 operand_171.dimensions = dimensions_171;
1396 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_171), ANEURALNETWORKS_NO_ERROR);
1397 ANeuralNetworksOperandType operand_172{};
1398 operand_172.type = ANEURALNETWORKS_TENSOR_INT32;
1399 operand_172.scale = 8.157426054822281e-05;
1400 operand_172.zeroPoint = 0;
1401 operand_172.dimensionCount = 1;
1402 const uint32_t dimensions_172[] = {15};
1403 operand_172.dimensions = dimensions_172;
1404 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_172), ANEURALNETWORKS_NO_ERROR);
1405 ANeuralNetworksOperandType operand_173{};
1406 operand_173.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1407 operand_173.scale = 0.08332997560501099;
1408 operand_173.zeroPoint = 148;
1409 operand_173.dimensionCount = 4;
1410 const uint32_t dimensions_173[] = {1, 0, 0, 15};
1411 operand_173.dimensions = dimensions_173;
1412 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_173), ANEURALNETWORKS_NO_ERROR);
1413 ANeuralNetworksOperandType operand_174{};
1414 operand_174.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1415 operand_174.scale = 0.0009250070434063673;
1416 operand_174.zeroPoint = 131;
1417 operand_174.dimensionCount = 4;
1418 const uint32_t dimensions_174[] = {60, 1, 1, 128};
1419 operand_174.dimensions = dimensions_174;
1420 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_174), ANEURALNETWORKS_NO_ERROR);
1421 ANeuralNetworksOperandType operand_175{};
1422 operand_175.type = ANEURALNETWORKS_TENSOR_INT32;
1423 operand_175.scale = 2.462215888954233e-05;
1424 operand_175.zeroPoint = 0;
1425 operand_175.dimensionCount = 1;
1426 const uint32_t dimensions_175[] = {60};
1427 operand_175.dimensions = dimensions_175;
1428 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_175), ANEURALNETWORKS_NO_ERROR);
1429 ANeuralNetworksOperandType operand_176{};
1430 operand_176.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1431 operand_176.scale = 0.008264735341072083;
1432 operand_176.zeroPoint = 137;
1433 operand_176.dimensionCount = 4;
1434 const uint32_t dimensions_176[] = {1, 0, 0, 60};
1435 operand_176.dimensions = dimensions_176;
1436 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_176), ANEURALNETWORKS_NO_ERROR);
1437 ANeuralNetworksOperandType operand_177{};
1438 operand_177.type = ANEURALNETWORKS_TENSOR_QUANT16_SYMM;
1439 operand_177.scale = 0.125;
1440 operand_177.zeroPoint = 0;
1441 operand_177.dimensionCount = 2;
1442 const uint32_t dimensions_177[] = {15, 4};
1443 operand_177.dimensions = dimensions_177;
1444 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_177), ANEURALNETWORKS_NO_ERROR);
1445 ANeuralNetworksOperandType operand_178{};
1446 operand_178.type = ANEURALNETWORKS_FLOAT32;
1447 operand_178.scale = 0;
1448 operand_178.zeroPoint = 0;
1449 operand_178.dimensionCount = 0;
1450 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_178), ANEURALNETWORKS_NO_ERROR);
1451 ANeuralNetworksOperandType operand_179{};
1452 operand_179.type = ANEURALNETWORKS_INT32;
1453 operand_179.scale = 0;
1454 operand_179.zeroPoint = 0;
1455 operand_179.dimensionCount = 0;
1456 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_179), ANEURALNETWORKS_NO_ERROR);
1457 ANeuralNetworksOperandType operand_180{};
1458 operand_180.type = ANEURALNETWORKS_INT32;
1459 operand_180.scale = 0;
1460 operand_180.zeroPoint = 0;
1461 operand_180.dimensionCount = 0;
1462 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_180), ANEURALNETWORKS_NO_ERROR);
1463 ANeuralNetworksOperandType operand_181{};
1464 operand_181.type = ANEURALNETWORKS_FLOAT32;
1465 operand_181.scale = 0;
1466 operand_181.zeroPoint = 0;
1467 operand_181.dimensionCount = 0;
1468 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_181), ANEURALNETWORKS_NO_ERROR);
1469 ANeuralNetworksOperandType operand_182{};
1470 operand_182.type = ANEURALNETWORKS_FLOAT32;
1471 operand_182.scale = 0;
1472 operand_182.zeroPoint = 0;
1473 operand_182.dimensionCount = 0;
1474 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_182), ANEURALNETWORKS_NO_ERROR);
1475 ANeuralNetworksOperandType operand_183{};
1476 operand_183.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1477 operand_183.scale = 0.08332997560501099;
1478 operand_183.zeroPoint = 148;
1479 operand_183.dimensionCount = 1;
1480 const uint32_t dimensions_183[] = {0};
1481 operand_183.dimensions = dimensions_183;
1482 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_183), ANEURALNETWORKS_NO_ERROR);
1483 ANeuralNetworksOperandType operand_184{};
1484 operand_184.type = ANEURALNETWORKS_TENSOR_QUANT16_ASYMM;
1485 operand_184.scale = 0.125;
1486 operand_184.zeroPoint = 0;
1487 operand_184.dimensionCount = 2;
1488 const uint32_t dimensions_184[] = {0, 4};
1489 operand_184.dimensions = dimensions_184;
1490 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_184), ANEURALNETWORKS_NO_ERROR);
1491 ANeuralNetworksOperandType operand_185{};
1492 operand_185.type = ANEURALNETWORKS_TENSOR_INT32;
1493 operand_185.scale = 0;
1494 operand_185.zeroPoint = 0;
1495 operand_185.dimensionCount = 1;
1496 const uint32_t dimensions_185[] = {0};
1497 operand_185.dimensions = dimensions_185;
1498 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_185), ANEURALNETWORKS_NO_ERROR);
1499 ANeuralNetworksOperandType operand_186{};
1500 operand_186.type = ANEURALNETWORKS_INT32;
1501 operand_186.scale = 0;
1502 operand_186.zeroPoint = 0;
1503 operand_186.dimensionCount = 0;
1504 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_186), ANEURALNETWORKS_NO_ERROR);
1505 ANeuralNetworksOperandType operand_187{};
1506 operand_187.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1507 operand_187.scale = 0.009147729724645615;
1508 operand_187.zeroPoint = 121;
1509 operand_187.dimensionCount = 4;
1510 const uint32_t dimensions_187[] = {0, 6, 6, 128};
1511 operand_187.dimensions = dimensions_187;
1512 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_187), ANEURALNETWORKS_NO_ERROR);
1513 ANeuralNetworksOperandType operand_188{};
1514 operand_188.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1515 operand_188.scale = 0.003680879715830088;
1516 operand_188.zeroPoint = 146;
1517 operand_188.dimensionCount = 4;
1518 const uint32_t dimensions_188[] = {512, 1, 1, 128};
1519 operand_188.dimensions = dimensions_188;
1520 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_188), ANEURALNETWORKS_NO_ERROR);
1521 ANeuralNetworksOperandType operand_189{};
1522 operand_189.type = ANEURALNETWORKS_TENSOR_INT32;
1523 operand_189.scale = 3.367169483681209e-05;
1524 operand_189.zeroPoint = 0;
1525 operand_189.dimensionCount = 1;
1526 const uint32_t dimensions_189[] = {512};
1527 operand_189.dimensions = dimensions_189;
1528 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_189), ANEURALNETWORKS_NO_ERROR);
1529 ANeuralNetworksOperandType operand_190{};
1530 operand_190.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1531 operand_190.scale = 0.003791309893131256;
1532 operand_190.zeroPoint = 0;
1533 operand_190.dimensionCount = 4;
1534 const uint32_t dimensions_190[] = {0, 6, 6, 512};
1535 operand_190.dimensions = dimensions_190;
1536 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_190), ANEURALNETWORKS_NO_ERROR);
1537 ANeuralNetworksOperandType operand_191{};
1538 operand_191.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1539 operand_191.scale = 0.001269564847461879;
1540 operand_191.zeroPoint = 138;
1541 operand_191.dimensionCount = 4;
1542 const uint32_t dimensions_191[] = {1, 3, 3, 512};
1543 operand_191.dimensions = dimensions_191;
1544 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_191), ANEURALNETWORKS_NO_ERROR);
1545 ANeuralNetworksOperandType operand_192{};
1546 operand_192.type = ANEURALNETWORKS_TENSOR_INT32;
1547 operand_192.scale = 4.813313807972008e-06;
1548 operand_192.zeroPoint = 0;
1549 operand_192.dimensionCount = 1;
1550 const uint32_t dimensions_192[] = {512};
1551 operand_192.dimensions = dimensions_192;
1552 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_192), ANEURALNETWORKS_NO_ERROR);
1553 ANeuralNetworksOperandType operand_193{};
1554 operand_193.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1555 operand_193.scale = 0.001495834090746939;
1556 operand_193.zeroPoint = 103;
1557 operand_193.dimensionCount = 4;
1558 const uint32_t dimensions_193[] = {0, 3, 3, 512};
1559 operand_193.dimensions = dimensions_193;
1560 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_193), ANEURALNETWORKS_NO_ERROR);
1561 ANeuralNetworksOperandType operand_194{};
1562 operand_194.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1563 operand_194.scale = 0.008620671927928925;
1564 operand_194.zeroPoint = 120;
1565 operand_194.dimensionCount = 4;
1566 const uint32_t dimensions_194[] = {128, 1, 1, 512};
1567 operand_194.dimensions = dimensions_194;
1568 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_194), ANEURALNETWORKS_NO_ERROR);
1569 ANeuralNetworksOperandType operand_195{};
1570 operand_195.type = ANEURALNETWORKS_TENSOR_INT32;
1571 operand_195.scale = 1.289509418711532e-05;
1572 operand_195.zeroPoint = 0;
1573 operand_195.dimensionCount = 1;
1574 const uint32_t dimensions_195[] = {128};
1575 operand_195.dimensions = dimensions_195;
1576 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_195), ANEURALNETWORKS_NO_ERROR);
1577 ANeuralNetworksOperandType operand_196{};
1578 operand_196.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1579 operand_196.scale = 0.004329186864197254;
1580 operand_196.zeroPoint = 133;
1581 operand_196.dimensionCount = 4;
1582 const uint32_t dimensions_196[] = {0, 3, 3, 128};
1583 operand_196.dimensions = dimensions_196;
1584 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_196), ANEURALNETWORKS_NO_ERROR);
1585 ANeuralNetworksOperandType operand_197{};
1586 operand_197.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1587 operand_197.scale = 0.003237461671233177;
1588 operand_197.zeroPoint = 129;
1589 operand_197.dimensionCount = 4;
1590 const uint32_t dimensions_197[] = {768, 1, 1, 128};
1591 operand_197.dimensions = dimensions_197;
1592 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_197), ANEURALNETWORKS_NO_ERROR);
1593 ANeuralNetworksOperandType operand_198{};
1594 operand_198.type = ANEURALNETWORKS_TENSOR_INT32;
1595 operand_198.scale = 1.401557619828964e-05;
1596 operand_198.zeroPoint = 0;
1597 operand_198.dimensionCount = 1;
1598 const uint32_t dimensions_198[] = {768};
1599 operand_198.dimensions = dimensions_198;
1600 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_198), ANEURALNETWORKS_NO_ERROR);
1601 ANeuralNetworksOperandType operand_199{};
1602 operand_199.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1603 operand_199.scale = 0.00272013433277607;
1604 operand_199.zeroPoint = 0;
1605 operand_199.dimensionCount = 4;
1606 const uint32_t dimensions_199[] = {0, 3, 3, 768};
1607 operand_199.dimensions = dimensions_199;
1608 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_199), ANEURALNETWORKS_NO_ERROR);
1609 ANeuralNetworksOperandType operand_200{};
1610 operand_200.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1611 operand_200.scale = 0.001447727903723717;
1612 operand_200.zeroPoint = 140;
1613 operand_200.dimensionCount = 4;
1614 const uint32_t dimensions_200[] = {1, 3, 3, 768};
1615 operand_200.dimensions = dimensions_200;
1616 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_200), ANEURALNETWORKS_NO_ERROR);
1617 ANeuralNetworksOperandType operand_201{};
1618 operand_201.type = ANEURALNETWORKS_TENSOR_INT32;
1619 operand_201.scale = 3.938014287996339e-06;
1620 operand_201.zeroPoint = 0;
1621 operand_201.dimensionCount = 1;
1622 const uint32_t dimensions_201[] = {768};
1623 operand_201.dimensions = dimensions_201;
1624 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_201), ANEURALNETWORKS_NO_ERROR);
1625 ANeuralNetworksOperandType operand_202{};
1626 operand_202.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1627 operand_202.scale = 0.001003918354399502;
1628 operand_202.zeroPoint = 128;
1629 operand_202.dimensionCount = 4;
1630 const uint32_t dimensions_202[] = {0, 3, 3, 768};
1631 operand_202.dimensions = dimensions_202;
1632 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_202), ANEURALNETWORKS_NO_ERROR);
1633 ANeuralNetworksOperandType operand_203{};
1634 operand_203.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1635 operand_203.scale = 0.02241912484169006;
1636 operand_203.zeroPoint = 132;
1637 operand_203.dimensionCount = 4;
1638 const uint32_t dimensions_203[] = {128, 1, 1, 768};
1639 operand_203.dimensions = dimensions_203;
1640 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_203), ANEURALNETWORKS_NO_ERROR);
1641 ANeuralNetworksOperandType operand_204{};
1642 operand_204.type = ANEURALNETWORKS_TENSOR_INT32;
1643 operand_204.scale = 2.250697070849128e-05;
1644 operand_204.zeroPoint = 0;
1645 operand_204.dimensionCount = 1;
1646 const uint32_t dimensions_204[] = {128};
1647 operand_204.dimensions = dimensions_204;
1648 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_204), ANEURALNETWORKS_NO_ERROR);
1649 ANeuralNetworksOperandType operand_205{};
1650 operand_205.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1651 operand_205.scale = 0.004013048950582743;
1652 operand_205.zeroPoint = 123;
1653 operand_205.dimensionCount = 4;
1654 const uint32_t dimensions_205[] = {0, 3, 3, 128};
1655 operand_205.dimensions = dimensions_205;
1656 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_205), ANEURALNETWORKS_NO_ERROR);
1657 ANeuralNetworksOperandType operand_206{};
1658 operand_206.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1659 operand_206.scale = 0.005564078688621521;
1660 operand_206.zeroPoint = 132;
1661 operand_206.dimensionCount = 4;
1662 const uint32_t dimensions_206[] = {0, 3, 3, 128};
1663 operand_206.dimensions = dimensions_206;
1664 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_206), ANEURALNETWORKS_NO_ERROR);
1665 ANeuralNetworksOperandType operand_207{};
1666 operand_207.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1667 operand_207.scale = 0.002945196582004428;
1668 operand_207.zeroPoint = 130;
1669 operand_207.dimensionCount = 4;
1670 const uint32_t dimensions_207[] = {768, 1, 1, 128};
1671 operand_207.dimensions = dimensions_207;
1672 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_207), ANEURALNETWORKS_NO_ERROR);
1673 ANeuralNetworksOperandType operand_208{};
1674 operand_208.type = ANEURALNETWORKS_TENSOR_INT32;
1675 operand_208.scale = 1.638730645936448e-05;
1676 operand_208.zeroPoint = 0;
1677 operand_208.dimensionCount = 1;
1678 const uint32_t dimensions_208[] = {768};
1679 operand_208.dimensions = dimensions_208;
1680 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_208), ANEURALNETWORKS_NO_ERROR);
1681 ANeuralNetworksOperandType operand_209{};
1682 operand_209.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1683 operand_209.scale = 0.002767552156001329;
1684 operand_209.zeroPoint = 0;
1685 operand_209.dimensionCount = 4;
1686 const uint32_t dimensions_209[] = {0, 3, 3, 768};
1687 operand_209.dimensions = dimensions_209;
1688 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_209), ANEURALNETWORKS_NO_ERROR);
1689 ANeuralNetworksOperandType operand_210{};
1690 operand_210.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1691 operand_210.scale = 0.001267897896468639;
1692 operand_210.zeroPoint = 111;
1693 operand_210.dimensionCount = 4;
1694 const uint32_t dimensions_210[] = {1, 3, 3, 768};
1695 operand_210.dimensions = dimensions_210;
1696 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_210), ANEURALNETWORKS_NO_ERROR);
1697 ANeuralNetworksOperandType operand_211{};
1698 operand_211.type = ANEURALNETWORKS_TENSOR_INT32;
1699 operand_211.scale = 3.508973350108135e-06;
1700 operand_211.zeroPoint = 0;
1701 operand_211.dimensionCount = 1;
1702 const uint32_t dimensions_211[] = {768};
1703 operand_211.dimensions = dimensions_211;
1704 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_211), ANEURALNETWORKS_NO_ERROR);
1705 ANeuralNetworksOperandType operand_212{};
1706 operand_212.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1707 operand_212.scale = 0.001003496232442558;
1708 operand_212.zeroPoint = 103;
1709 operand_212.dimensionCount = 4;
1710 const uint32_t dimensions_212[] = {0, 3, 3, 768};
1711 operand_212.dimensions = dimensions_212;
1712 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_212), ANEURALNETWORKS_NO_ERROR);
1713 ANeuralNetworksOperandType operand_213{};
1714 operand_213.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1715 operand_213.scale = 0.04008430987596512;
1716 operand_213.zeroPoint = 130;
1717 operand_213.dimensionCount = 4;
1718 const uint32_t dimensions_213[] = {128, 1, 1, 768};
1719 operand_213.dimensions = dimensions_213;
1720 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_213), ANEURALNETWORKS_NO_ERROR);
1721 ANeuralNetworksOperandType operand_214{};
1722 operand_214.type = ANEURALNETWORKS_TENSOR_INT32;
1723 operand_214.scale = 4.022445500595495e-05;
1724 operand_214.zeroPoint = 0;
1725 operand_214.dimensionCount = 1;
1726 const uint32_t dimensions_214[] = {128};
1727 operand_214.dimensions = dimensions_214;
1728 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_214), ANEURALNETWORKS_NO_ERROR);
1729 ANeuralNetworksOperandType operand_215{};
1730 operand_215.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1731 operand_215.scale = 0.007019979413598776;
1732 operand_215.zeroPoint = 127;
1733 operand_215.dimensionCount = 4;
1734 const uint32_t dimensions_215[] = {0, 3, 3, 128};
1735 operand_215.dimensions = dimensions_215;
1736 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_215), ANEURALNETWORKS_NO_ERROR);
1737 ANeuralNetworksOperandType operand_216{};
1738 operand_216.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1739 operand_216.scale = 0.008132008835673332;
1740 operand_216.zeroPoint = 113;
1741 operand_216.dimensionCount = 4;
1742 const uint32_t dimensions_216[] = {0, 3, 3, 128};
1743 operand_216.dimensions = dimensions_216;
1744 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_216), ANEURALNETWORKS_NO_ERROR);
1745 ANeuralNetworksOperandType operand_217{};
1746 operand_217.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1747 operand_217.scale = 0.002510206308215857;
1748 operand_217.zeroPoint = 121;
1749 operand_217.dimensionCount = 4;
1750 const uint32_t dimensions_217[] = {768, 1, 1, 128};
1751 operand_217.dimensions = dimensions_217;
1752 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_217), ANEURALNETWORKS_NO_ERROR);
1753 ANeuralNetworksOperandType operand_218{};
1754 operand_218.type = ANEURALNETWORKS_TENSOR_INT32;
1755 operand_218.scale = 2.041302104771603e-05;
1756 operand_218.zeroPoint = 0;
1757 operand_218.dimensionCount = 1;
1758 const uint32_t dimensions_218[] = {768};
1759 operand_218.dimensions = dimensions_218;
1760 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_218), ANEURALNETWORKS_NO_ERROR);
1761 ANeuralNetworksOperandType operand_219{};
1762 operand_219.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1763 operand_219.scale = 0.002694383496418595;
1764 operand_219.zeroPoint = 0;
1765 operand_219.dimensionCount = 4;
1766 const uint32_t dimensions_219[] = {0, 3, 3, 768};
1767 operand_219.dimensions = dimensions_219;
1768 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_219), ANEURALNETWORKS_NO_ERROR);
1769 ANeuralNetworksOperandType operand_220{};
1770 operand_220.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1771 operand_220.scale = 0.0008893656777217984;
1772 operand_220.zeroPoint = 133;
1773 operand_220.dimensionCount = 4;
1774 const uint32_t dimensions_220[] = {1, 3, 3, 768};
1775 operand_220.dimensions = dimensions_220;
1776 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_220), ANEURALNETWORKS_NO_ERROR);
1777 ANeuralNetworksOperandType operand_221{};
1778 operand_221.type = ANEURALNETWORKS_TENSOR_INT32;
1779 operand_221.scale = 2.3962923023646e-06;
1780 operand_221.zeroPoint = 0;
1781 operand_221.dimensionCount = 1;
1782 const uint32_t dimensions_221[] = {768};
1783 operand_221.dimensions = dimensions_221;
1784 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_221), ANEURALNETWORKS_NO_ERROR);
1785 ANeuralNetworksOperandType operand_222{};
1786 operand_222.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1787 operand_222.scale = 0.001002407167106867;
1788 operand_222.zeroPoint = 131;
1789 operand_222.dimensionCount = 4;
1790 const uint32_t dimensions_222[] = {0, 3, 3, 768};
1791 operand_222.dimensions = dimensions_222;
1792 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_222), ANEURALNETWORKS_NO_ERROR);
1793 ANeuralNetworksOperandType operand_223{};
1794 operand_223.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1795 operand_223.scale = 0.05506842583417892;
1796 operand_223.zeroPoint = 153;
1797 operand_223.dimensionCount = 4;
1798 const uint32_t dimensions_223[] = {160, 1, 1, 768};
1799 operand_223.dimensions = dimensions_223;
1800 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_223), ANEURALNETWORKS_NO_ERROR);
1801 ANeuralNetworksOperandType operand_224{};
1802 operand_224.type = ANEURALNETWORKS_TENSOR_INT32;
1803 operand_224.scale = 5.520098784472793e-05;
1804 operand_224.zeroPoint = 0;
1805 operand_224.dimensionCount = 1;
1806 const uint32_t dimensions_224[] = {160};
1807 operand_224.dimensions = dimensions_224;
1808 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_224), ANEURALNETWORKS_NO_ERROR);
1809 ANeuralNetworksOperandType operand_225{};
1810 operand_225.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1811 operand_225.scale = 0.005563139915466309;
1812 operand_225.zeroPoint = 126;
1813 operand_225.dimensionCount = 4;
1814 const uint32_t dimensions_225[] = {0, 3, 3, 160};
1815 operand_225.dimensions = dimensions_225;
1816 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_225), ANEURALNETWORKS_NO_ERROR);
1817 ANeuralNetworksOperandType operand_226{};
1818 operand_226.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1819 operand_226.scale = 0.02526126243174076;
1820 operand_226.zeroPoint = 112;
1821 operand_226.dimensionCount = 4;
1822 const uint32_t dimensions_226[] = {160, 1, 1, 160};
1823 operand_226.dimensions = dimensions_226;
1824 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_226), ANEURALNETWORKS_NO_ERROR);
1825 ANeuralNetworksOperandType operand_227{};
1826 operand_227.type = ANEURALNETWORKS_TENSOR_INT32;
1827 operand_227.scale = 0.0001405319344485179;
1828 operand_227.zeroPoint = 0;
1829 operand_227.dimensionCount = 1;
1830 const uint32_t dimensions_227[] = {160};
1831 operand_227.dimensions = dimensions_227;
1832 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_227), ANEURALNETWORKS_NO_ERROR);
1833 ANeuralNetworksOperandType operand_228{};
1834 operand_228.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1835 operand_228.scale = 0.04058342799544334;
1836 operand_228.zeroPoint = 0;
1837 operand_228.dimensionCount = 4;
1838 const uint32_t dimensions_228[] = {0, 3, 3, 160};
1839 operand_228.dimensions = dimensions_228;
1840 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_228), ANEURALNETWORKS_NO_ERROR);
1841 ANeuralNetworksOperandType operand_229{};
1842 operand_229.type = ANEURALNETWORKS_INT32;
1843 operand_229.scale = 0;
1844 operand_229.zeroPoint = 0;
1845 operand_229.dimensionCount = 0;
1846 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_229), ANEURALNETWORKS_NO_ERROR);
1847 ANeuralNetworksOperandType operand_230{};
1848 operand_230.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1849 operand_230.scale = 0.04058342799544334;
1850 operand_230.zeroPoint = 0;
1851 operand_230.dimensionCount = 4;
1852 const uint32_t dimensions_230[] = {0, 1, 1, 160};
1853 operand_230.dimensions = dimensions_230;
1854 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_230), ANEURALNETWORKS_NO_ERROR);
1855 ANeuralNetworksOperandType operand_231{};
1856 operand_231.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1857 operand_231.scale = 0.005672636907547712;
1858 operand_231.zeroPoint = 136;
1859 operand_231.dimensionCount = 2;
1860 const uint32_t dimensions_231[] = {81, 160};
1861 operand_231.dimensions = dimensions_231;
1862 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_231), ANEURALNETWORKS_NO_ERROR);
1863 ANeuralNetworksOperandType operand_232{};
1864 operand_232.type = ANEURALNETWORKS_TENSOR_INT32;
1865 operand_232.scale = 0.0002302150533068925;
1866 operand_232.zeroPoint = 0;
1867 operand_232.dimensionCount = 1;
1868 const uint32_t dimensions_232[] = {81};
1869 operand_232.dimensions = dimensions_232;
1870 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_232), ANEURALNETWORKS_NO_ERROR);
1871 ANeuralNetworksOperandType operand_233{};
1872 operand_233.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1873 operand_233.scale = 0.08092430979013443;
1874 operand_233.zeroPoint = 80;
1875 operand_233.dimensionCount = 2;
1876 const uint32_t dimensions_233[] = {0, 81};
1877 operand_233.dimensions = dimensions_233;
1878 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_233), ANEURALNETWORKS_NO_ERROR);
1879 ANeuralNetworksOperandType operand_234{};
1880 operand_234.type = ANEURALNETWORKS_FLOAT32;
1881 operand_234.scale = 0;
1882 operand_234.zeroPoint = 0;
1883 operand_234.dimensionCount = 0;
1884 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_234), ANEURALNETWORKS_NO_ERROR);
1885 ANeuralNetworksOperandType operand_235{};
1886 operand_235.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1887 operand_235.scale = 0.00390625;
1888 operand_235.zeroPoint = 0;
1889 operand_235.dimensionCount = 2;
1890 const uint32_t dimensions_235[] = {0, 81};
1891 operand_235.dimensions = dimensions_235;
1892 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_235), ANEURALNETWORKS_NO_ERROR);
1893 ANeuralNetworksOperandType operand_236{};
1894 operand_236.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1895 operand_236.scale = 0.0006408203043974936;
1896 operand_236.zeroPoint = 139;
1897 operand_236.dimensionCount = 2;
1898 const uint32_t dimensions_236[] = {324, 160};
1899 operand_236.dimensions = dimensions_236;
1900 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_236), ANEURALNETWORKS_NO_ERROR);
1901 ANeuralNetworksOperandType operand_237{};
1902 operand_237.type = ANEURALNETWORKS_TENSOR_INT32;
1903 operand_237.scale = 2.600668449304067e-05;
1904 operand_237.zeroPoint = 0;
1905 operand_237.dimensionCount = 1;
1906 const uint32_t dimensions_237[] = {324};
1907 operand_237.dimensions = dimensions_237;
1908 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_237), ANEURALNETWORKS_NO_ERROR);
1909 ANeuralNetworksOperandType operand_238{};
1910 operand_238.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1911 operand_238.scale = 0.004951907321810722;
1912 operand_238.zeroPoint = 131;
1913 operand_238.dimensionCount = 2;
1914 const uint32_t dimensions_238[] = {0, 324};
1915 operand_238.dimensions = dimensions_238;
1916 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_238), ANEURALNETWORKS_NO_ERROR);
1917 ANeuralNetworksOperandType operand_239{};
1918 operand_239.type = ANEURALNETWORKS_TENSOR_QUANT16_ASYMM;
1919 operand_239.scale = 0.125;
1920 operand_239.zeroPoint = 0;
1921 operand_239.dimensionCount = 2;
1922 const uint32_t dimensions_239[] = {0, 324};
1923 operand_239.dimensions = dimensions_239;
1924 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_239), ANEURALNETWORKS_NO_ERROR);
1925 ANeuralNetworksOperandType operand_240{};
1926 operand_240.type = ANEURALNETWORKS_FLOAT32;
1927 operand_240.scale = 0;
1928 operand_240.zeroPoint = 0;
1929 operand_240.dimensionCount = 0;
1930 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_240), ANEURALNETWORKS_NO_ERROR);
1931 ANeuralNetworksOperandType operand_241{};
1932 operand_241.type = ANEURALNETWORKS_FLOAT32;
1933 operand_241.scale = 0;
1934 operand_241.zeroPoint = 0;
1935 operand_241.dimensionCount = 0;
1936 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_241), ANEURALNETWORKS_NO_ERROR);
1937 ANeuralNetworksOperandType operand_242{};
1938 operand_242.type = ANEURALNETWORKS_FLOAT32;
1939 operand_242.scale = 0;
1940 operand_242.zeroPoint = 0;
1941 operand_242.dimensionCount = 0;
1942 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_242), ANEURALNETWORKS_NO_ERROR);
1943 ANeuralNetworksOperandType operand_243{};
1944 operand_243.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1945 operand_243.scale = 0.00390625;
1946 operand_243.zeroPoint = 0;
1947 operand_243.dimensionCount = 1;
1948 const uint32_t dimensions_243[] = {0};
1949 operand_243.dimensions = dimensions_243;
1950 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_243), ANEURALNETWORKS_NO_ERROR);
1951 ANeuralNetworksOperandType operand_244{};
1952 operand_244.type = ANEURALNETWORKS_TENSOR_QUANT16_ASYMM;
1953 operand_244.scale = 0.125;
1954 operand_244.zeroPoint = 0;
1955 operand_244.dimensionCount = 2;
1956 const uint32_t dimensions_244[] = {0, 4};
1957 operand_244.dimensions = dimensions_244;
1958 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_244), ANEURALNETWORKS_NO_ERROR);
1959 ANeuralNetworksOperandType operand_245{};
1960 operand_245.type = ANEURALNETWORKS_TENSOR_INT32;
1961 operand_245.scale = 0;
1962 operand_245.zeroPoint = 0;
1963 operand_245.dimensionCount = 1;
1964 const uint32_t dimensions_245[] = {0};
1965 operand_245.dimensions = dimensions_245;
1966 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_245), ANEURALNETWORKS_NO_ERROR);
1967 ANeuralNetworksOperandType operand_246{};
1968 operand_246.type = ANEURALNETWORKS_TENSOR_INT32;
1969 operand_246.scale = 0;
1970 operand_246.zeroPoint = 0;
1971 operand_246.dimensionCount = 1;
1972 const uint32_t dimensions_246[] = {0};
1973 operand_246.dimensions = dimensions_246;
1974 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_246), ANEURALNETWORKS_NO_ERROR);
1975 ANeuralNetworksOperandType operand_247{};
1976 operand_247.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1977 operand_247.scale = 0.009006229229271412;
1978 operand_247.zeroPoint = 119;
1979 operand_247.dimensionCount = 4;
1980 const uint32_t dimensions_247[] = {0, 6, 6, 128};
1981 operand_247.dimensions = dimensions_247;
1982 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_247), ANEURALNETWORKS_NO_ERROR);
1983 ANeuralNetworksOperandType operand_248{};
1984 operand_248.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
1985 operand_248.scale = 0.002211635699495673;
1986 operand_248.zeroPoint = 132;
1987 operand_248.dimensionCount = 4;
1988 const uint32_t dimensions_248[] = {512, 1, 1, 128};
1989 operand_248.dimensions = dimensions_248;
1990 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_248), ANEURALNETWORKS_NO_ERROR);
1991 ANeuralNetworksOperandType operand_249{};
1992 operand_249.type = ANEURALNETWORKS_TENSOR_INT32;
1993 operand_249.scale = 1.991849785554223e-05;
1994 operand_249.zeroPoint = 0;
1995 operand_249.dimensionCount = 1;
1996 const uint32_t dimensions_249[] = {512};
1997 operand_249.dimensions = dimensions_249;
1998 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_249), ANEURALNETWORKS_NO_ERROR);
1999 ANeuralNetworksOperandType operand_250{};
2000 operand_250.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2001 operand_250.scale = 0.002592636970803142;
2002 operand_250.zeroPoint = 0;
2003 operand_250.dimensionCount = 4;
2004 const uint32_t dimensions_250[] = {0, 6, 6, 512};
2005 operand_250.dimensions = dimensions_250;
2006 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_250), ANEURALNETWORKS_NO_ERROR);
2007 ANeuralNetworksOperandType operand_251{};
2008 operand_251.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2009 operand_251.scale = 0.001000639051198959;
2010 operand_251.zeroPoint = 148;
2011 operand_251.dimensionCount = 4;
2012 const uint32_t dimensions_251[] = {1, 3, 3, 512};
2013 operand_251.dimensions = dimensions_251;
2014 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_251), ANEURALNETWORKS_NO_ERROR);
2015 ANeuralNetworksOperandType operand_252{};
2016 operand_252.type = ANEURALNETWORKS_TENSOR_INT32;
2017 operand_252.scale = 2.5942936190404e-06;
2018 operand_252.zeroPoint = 0;
2019 operand_252.dimensionCount = 1;
2020 const uint32_t dimensions_252[] = {512};
2021 operand_252.dimensions = dimensions_252;
2022 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_252), ANEURALNETWORKS_NO_ERROR);
2023 ANeuralNetworksOperandType operand_253{};
2024 operand_253.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2025 operand_253.scale = 0.001002595527097583;
2026 operand_253.zeroPoint = 116;
2027 operand_253.dimensionCount = 4;
2028 const uint32_t dimensions_253[] = {0, 6, 6, 512};
2029 operand_253.dimensions = dimensions_253;
2030 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_253), ANEURALNETWORKS_NO_ERROR);
2031 ANeuralNetworksOperandType operand_254{};
2032 operand_254.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2033 operand_254.scale = 0.01961961947381496;
2034 operand_254.zeroPoint = 135;
2035 operand_254.dimensionCount = 4;
2036 const uint32_t dimensions_254[] = {128, 1, 1, 512};
2037 operand_254.dimensions = dimensions_254;
2038 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_254), ANEURALNETWORKS_NO_ERROR);
2039 ANeuralNetworksOperandType operand_255{};
2040 operand_255.type = ANEURALNETWORKS_TENSOR_INT32;
2041 operand_255.scale = 1.967054413398728e-05;
2042 operand_255.zeroPoint = 0;
2043 operand_255.dimensionCount = 1;
2044 const uint32_t dimensions_255[] = {128};
2045 operand_255.dimensions = dimensions_255;
2046 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_255), ANEURALNETWORKS_NO_ERROR);
2047 ANeuralNetworksOperandType operand_256{};
2048 operand_256.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2049 operand_256.scale = 0.003791325259953737;
2050 operand_256.zeroPoint = 133;
2051 operand_256.dimensionCount = 4;
2052 const uint32_t dimensions_256[] = {0, 6, 6, 128};
2053 operand_256.dimensions = dimensions_256;
2054 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_256), ANEURALNETWORKS_NO_ERROR);
2055 ANeuralNetworksOperandType operand_257{};
2056 operand_257.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2057 operand_257.scale = 0.009337191469967365;
2058 operand_257.zeroPoint = 121;
2059 operand_257.dimensionCount = 4;
2060 const uint32_t dimensions_257[] = {0, 6, 6, 128};
2061 operand_257.dimensions = dimensions_257;
2062 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_257), ANEURALNETWORKS_NO_ERROR);
2063 ANeuralNetworksOperandType operand_258{};
2064 operand_258.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2065 operand_258.scale = 0.002133074915036559;
2066 operand_258.zeroPoint = 128;
2067 operand_258.dimensionCount = 4;
2068 const uint32_t dimensions_258[] = {768, 1, 1, 128};
2069 operand_258.dimensions = dimensions_258;
2070 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_258), ANEURALNETWORKS_NO_ERROR);
2071 ANeuralNetworksOperandType operand_259{};
2072 operand_259.type = ANEURALNETWORKS_TENSOR_INT32;
2073 operand_259.scale = 1.991692988667637e-05;
2074 operand_259.zeroPoint = 0;
2075 operand_259.dimensionCount = 1;
2076 const uint32_t dimensions_259[] = {768};
2077 operand_259.dimensions = dimensions_259;
2078 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_259), ANEURALNETWORKS_NO_ERROR);
2079 ANeuralNetworksOperandType operand_260{};
2080 operand_260.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2081 operand_260.scale = 0.002098787110298872;
2082 operand_260.zeroPoint = 0;
2083 operand_260.dimensionCount = 4;
2084 const uint32_t dimensions_260[] = {0, 6, 6, 768};
2085 operand_260.dimensions = dimensions_260;
2086 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_260), ANEURALNETWORKS_NO_ERROR);
2087 ANeuralNetworksOperandType operand_261{};
2088 operand_261.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2089 operand_261.scale = 0.0008608275675214827;
2090 operand_261.zeroPoint = 124;
2091 operand_261.dimensionCount = 4;
2092 const uint32_t dimensions_261[] = {1, 3, 3, 768};
2093 operand_261.dimensions = dimensions_261;
2094 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_261), ANEURALNETWORKS_NO_ERROR);
2095 ANeuralNetworksOperandType operand_262{};
2096 operand_262.type = ANEURALNETWORKS_TENSOR_INT32;
2097 operand_262.scale = 1.806693830985751e-06;
2098 operand_262.zeroPoint = 0;
2099 operand_262.dimensionCount = 1;
2100 const uint32_t dimensions_262[] = {768};
2101 operand_262.dimensions = dimensions_262;
2102 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_262), ANEURALNETWORKS_NO_ERROR);
2103 ANeuralNetworksOperandType operand_263{};
2104 operand_263.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2105 operand_263.scale = 0.001001805765554309;
2106 operand_263.zeroPoint = 150;
2107 operand_263.dimensionCount = 4;
2108 const uint32_t dimensions_263[] = {0, 6, 6, 768};
2109 operand_263.dimensions = dimensions_263;
2110 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_263), ANEURALNETWORKS_NO_ERROR);
2111 ANeuralNetworksOperandType operand_264{};
2112 operand_264.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2113 operand_264.scale = 0.0244825966656208;
2114 operand_264.zeroPoint = 125;
2115 operand_264.dimensionCount = 4;
2116 const uint32_t dimensions_264[] = {128, 1, 1, 768};
2117 operand_264.dimensions = dimensions_264;
2118 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_264), ANEURALNETWORKS_NO_ERROR);
2119 ANeuralNetworksOperandType operand_265{};
2120 operand_265.type = ANEURALNETWORKS_TENSOR_INT32;
2121 operand_265.scale = 2.452680564601906e-05;
2122 operand_265.zeroPoint = 0;
2123 operand_265.dimensionCount = 1;
2124 const uint32_t dimensions_265[] = {128};
2125 operand_265.dimensions = dimensions_265;
2126 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_265), ANEURALNETWORKS_NO_ERROR);
2127 ANeuralNetworksOperandType operand_266{};
2128 operand_266.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2129 operand_266.scale = 0.003958381246775389;
2130 operand_266.zeroPoint = 126;
2131 operand_266.dimensionCount = 4;
2132 const uint32_t dimensions_266[] = {0, 6, 6, 128};
2133 operand_266.dimensions = dimensions_266;
2134 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_266), ANEURALNETWORKS_NO_ERROR);
2135 ANeuralNetworksOperandType operand_267{};
2136 operand_267.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2137 operand_267.scale = 0.009366916492581367;
2138 operand_267.zeroPoint = 121;
2139 operand_267.dimensionCount = 4;
2140 const uint32_t dimensions_267[] = {0, 6, 6, 128};
2141 operand_267.dimensions = dimensions_267;
2142 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_267), ANEURALNETWORKS_NO_ERROR);
2143 ANeuralNetworksOperandType operand_268{};
2144 operand_268.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2145 operand_268.scale = 0.002321642125025392;
2146 operand_268.zeroPoint = 121;
2147 operand_268.dimensionCount = 4;
2148 const uint32_t dimensions_268[] = {768, 1, 1, 128};
2149 operand_268.dimensions = dimensions_268;
2150 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_268), ANEURALNETWORKS_NO_ERROR);
2151 ANeuralNetworksOperandType operand_269{};
2152 operand_269.type = ANEURALNETWORKS_TENSOR_INT32;
2153 operand_269.scale = 2.17466258618515e-05;
2154 operand_269.zeroPoint = 0;
2155 operand_269.dimensionCount = 1;
2156 const uint32_t dimensions_269[] = {768};
2157 operand_269.dimensions = dimensions_269;
2158 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_269), ANEURALNETWORKS_NO_ERROR);
2159 ANeuralNetworksOperandType operand_270{};
2160 operand_270.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2161 operand_270.scale = 0.002672255504876375;
2162 operand_270.zeroPoint = 0;
2163 operand_270.dimensionCount = 4;
2164 const uint32_t dimensions_270[] = {0, 6, 6, 768};
2165 operand_270.dimensions = dimensions_270;
2166 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_270), ANEURALNETWORKS_NO_ERROR);
2167 ANeuralNetworksOperandType operand_271{};
2168 operand_271.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2169 operand_271.scale = 0.0008156994008459151;
2170 operand_271.zeroPoint = 131;
2171 operand_271.dimensionCount = 4;
2172 const uint32_t dimensions_271[] = {1, 3, 3, 768};
2173 operand_271.dimensions = dimensions_271;
2174 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_271), ANEURALNETWORKS_NO_ERROR);
2175 ANeuralNetworksOperandType operand_272{};
2176 operand_272.type = ANEURALNETWORKS_TENSOR_INT32;
2177 operand_272.scale = 2.179757075282396e-06;
2178 operand_272.zeroPoint = 0;
2179 operand_272.dimensionCount = 1;
2180 const uint32_t dimensions_272[] = {768};
2181 operand_272.dimensions = dimensions_272;
2182 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_272), ANEURALNETWORKS_NO_ERROR);
2183 ANeuralNetworksOperandType operand_273{};
2184 operand_273.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2185 operand_273.scale = 0.00100218434818089;
2186 operand_273.zeroPoint = 104;
2187 operand_273.dimensionCount = 4;
2188 const uint32_t dimensions_273[] = {0, 6, 6, 768};
2189 operand_273.dimensions = dimensions_273;
2190 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_273), ANEURALNETWORKS_NO_ERROR);
2191 ANeuralNetworksOperandType operand_274{};
2192 operand_274.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2193 operand_274.scale = 0.02847485058009624;
2194 operand_274.zeroPoint = 121;
2195 operand_274.dimensionCount = 4;
2196 const uint32_t dimensions_274[] = {128, 1, 1, 768};
2197 operand_274.dimensions = dimensions_274;
2198 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_274), ANEURALNETWORKS_NO_ERROR);
2199 ANeuralNetworksOperandType operand_275{};
2200 operand_275.type = ANEURALNETWORKS_TENSOR_INT32;
2201 operand_275.scale = 2.853704972949345e-05;
2202 operand_275.zeroPoint = 0;
2203 operand_275.dimensionCount = 1;
2204 const uint32_t dimensions_275[] = {128};
2205 operand_275.dimensions = dimensions_275;
2206 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_275), ANEURALNETWORKS_NO_ERROR);
2207 ANeuralNetworksOperandType operand_276{};
2208 operand_276.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2209 operand_276.scale = 0.005113502498716116;
2210 operand_276.zeroPoint = 134;
2211 operand_276.dimensionCount = 4;
2212 const uint32_t dimensions_276[] = {0, 6, 6, 128};
2213 operand_276.dimensions = dimensions_276;
2214 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_276), ANEURALNETWORKS_NO_ERROR);
2215 ANeuralNetworksOperandType operand_277{};
2216 operand_277.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2217 operand_277.scale = 0.009635390713810921;
2218 operand_277.zeroPoint = 126;
2219 operand_277.dimensionCount = 4;
2220 const uint32_t dimensions_277[] = {0, 6, 6, 128};
2221 operand_277.dimensions = dimensions_277;
2222 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_277), ANEURALNETWORKS_NO_ERROR);
2223 ANeuralNetworksOperandType operand_278{};
2224 operand_278.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2225 operand_278.scale = 0.002073407173156738;
2226 operand_278.zeroPoint = 138;
2227 operand_278.dimensionCount = 4;
2228 const uint32_t dimensions_278[] = {768, 1, 1, 128};
2229 operand_278.dimensions = dimensions_278;
2230 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_278), ANEURALNETWORKS_NO_ERROR);
2231 ANeuralNetworksOperandType operand_279{};
2232 operand_279.type = ANEURALNETWORKS_TENSOR_INT32;
2233 operand_279.scale = 1.997808794840239e-05;
2234 operand_279.zeroPoint = 0;
2235 operand_279.dimensionCount = 1;
2236 const uint32_t dimensions_279[] = {768};
2237 operand_279.dimensions = dimensions_279;
2238 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_279), ANEURALNETWORKS_NO_ERROR);
2239 ANeuralNetworksOperandType operand_280{};
2240 operand_280.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2241 operand_280.scale = 0.00225812871940434;
2242 operand_280.zeroPoint = 0;
2243 operand_280.dimensionCount = 4;
2244 const uint32_t dimensions_280[] = {0, 6, 6, 768};
2245 operand_280.dimensions = dimensions_280;
2246 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_280), ANEURALNETWORKS_NO_ERROR);
2247 ANeuralNetworksOperandType operand_281{};
2248 operand_281.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2249 operand_281.scale = 0.0009067427599802613;
2250 operand_281.zeroPoint = 116;
2251 operand_281.dimensionCount = 4;
2252 const uint32_t dimensions_281[] = {1, 3, 3, 768};
2253 operand_281.dimensions = dimensions_281;
2254 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_281), ANEURALNETWORKS_NO_ERROR);
2255 ANeuralNetworksOperandType operand_282{};
2256 operand_282.type = ANEURALNETWORKS_TENSOR_INT32;
2257 operand_282.scale = 2.047542011496262e-06;
2258 operand_282.zeroPoint = 0;
2259 operand_282.dimensionCount = 1;
2260 const uint32_t dimensions_282[] = {768};
2261 operand_282.dimensions = dimensions_282;
2262 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_282), ANEURALNETWORKS_NO_ERROR);
2263 ANeuralNetworksOperandType operand_283{};
2264 operand_283.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2265 operand_283.scale = 0.001002039294689894;
2266 operand_283.zeroPoint = 121;
2267 operand_283.dimensionCount = 4;
2268 const uint32_t dimensions_283[] = {0, 6, 6, 768};
2269 operand_283.dimensions = dimensions_283;
2270 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_283), ANEURALNETWORKS_NO_ERROR);
2271 ANeuralNetworksOperandType operand_284{};
2272 operand_284.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2273 operand_284.scale = 0.0345500223338604;
2274 operand_284.zeroPoint = 134;
2275 operand_284.dimensionCount = 4;
2276 const uint32_t dimensions_284[] = {128, 1, 1, 768};
2277 operand_284.dimensions = dimensions_284;
2278 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_284), ANEURALNETWORKS_NO_ERROR);
2279 ANeuralNetworksOperandType operand_285{};
2280 operand_285.type = ANEURALNETWORKS_TENSOR_INT32;
2281 operand_285.scale = 3.462047970970161e-05;
2282 operand_285.zeroPoint = 0;
2283 operand_285.dimensionCount = 1;
2284 const uint32_t dimensions_285[] = {128};
2285 operand_285.dimensions = dimensions_285;
2286 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_285), ANEURALNETWORKS_NO_ERROR);
2287 ANeuralNetworksOperandType operand_286{};
2288 operand_286.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2289 operand_286.scale = 0.005219598766416311;
2290 operand_286.zeroPoint = 129;
2291 operand_286.dimensionCount = 4;
2292 const uint32_t dimensions_286[] = {0, 6, 6, 128};
2293 operand_286.dimensions = dimensions_286;
2294 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_286), ANEURALNETWORKS_NO_ERROR);
2295 ANeuralNetworksOperandType operand_287{};
2296 operand_287.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2297 operand_287.scale = 0.01011695526540279;
2298 operand_287.zeroPoint = 125;
2299 operand_287.dimensionCount = 4;
2300 const uint32_t dimensions_287[] = {0, 6, 6, 128};
2301 operand_287.dimensions = dimensions_287;
2302 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_287), ANEURALNETWORKS_NO_ERROR);
2303 ANeuralNetworksOperandType operand_288{};
2304 operand_288.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2305 operand_288.scale = 0.002151809399947524;
2306 operand_288.zeroPoint = 134;
2307 operand_288.dimensionCount = 4;
2308 const uint32_t dimensions_288[] = {384, 1, 1, 128};
2309 operand_288.dimensions = dimensions_288;
2310 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_288), ANEURALNETWORKS_NO_ERROR);
2311 ANeuralNetworksOperandType operand_289{};
2312 operand_289.type = ANEURALNETWORKS_TENSOR_INT32;
2313 operand_289.scale = 2.176975976908579e-05;
2314 operand_289.zeroPoint = 0;
2315 operand_289.dimensionCount = 1;
2316 const uint32_t dimensions_289[] = {384};
2317 operand_289.dimensions = dimensions_289;
2318 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_289), ANEURALNETWORKS_NO_ERROR);
2319 ANeuralNetworksOperandType operand_290{};
2320 operand_290.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2321 operand_290.scale = 0.003372935345396399;
2322 operand_290.zeroPoint = 0;
2323 operand_290.dimensionCount = 4;
2324 const uint32_t dimensions_290[] = {0, 6, 6, 384};
2325 operand_290.dimensions = dimensions_290;
2326 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_290), ANEURALNETWORKS_NO_ERROR);
2327 ANeuralNetworksOperandType operand_291{};
2328 operand_291.type = ANEURALNETWORKS_FLOAT32;
2329 operand_291.scale = 0;
2330 operand_291.zeroPoint = 0;
2331 operand_291.dimensionCount = 0;
2332 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_291), ANEURALNETWORKS_NO_ERROR);
2333 ANeuralNetworksOperandType operand_292{};
2334 operand_292.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2335 operand_292.scale = 0.003372935345396399;
2336 operand_292.zeroPoint = 0;
2337 operand_292.dimensionCount = 4;
2338 const uint32_t dimensions_292[] = {0, 12, 12, 384};
2339 operand_292.dimensions = dimensions_292;
2340 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_292), ANEURALNETWORKS_NO_ERROR);
2341 ANeuralNetworksOperandType operand_293{};
2342 operand_293.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2343 operand_293.scale = 0.001229611807502806;
2344 operand_293.zeroPoint = 134;
2345 operand_293.dimensionCount = 4;
2346 const uint32_t dimensions_293[] = {1, 3, 3, 384};
2347 operand_293.dimensions = dimensions_293;
2348 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_293), ANEURALNETWORKS_NO_ERROR);
2349 ANeuralNetworksOperandType operand_294{};
2350 operand_294.type = ANEURALNETWORKS_TENSOR_INT32;
2351 operand_294.scale = 4.147401341469958e-06;
2352 operand_294.zeroPoint = 0;
2353 operand_294.dimensionCount = 1;
2354 const uint32_t dimensions_294[] = {384};
2355 operand_294.dimensions = dimensions_294;
2356 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_294), ANEURALNETWORKS_NO_ERROR);
2357 ANeuralNetworksOperandType operand_295{};
2358 operand_295.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2359 operand_295.scale = 0.001418625121004879;
2360 operand_295.zeroPoint = 129;
2361 operand_295.dimensionCount = 4;
2362 const uint32_t dimensions_295[] = {0, 12, 12, 384};
2363 operand_295.dimensions = dimensions_295;
2364 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_295), ANEURALNETWORKS_NO_ERROR);
2365 ANeuralNetworksOperandType operand_296{};
2366 operand_296.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2367 operand_296.scale = 0.06397756934165955;
2368 operand_296.zeroPoint = 123;
2369 operand_296.dimensionCount = 4;
2370 const uint32_t dimensions_296[] = {64, 1, 1, 384};
2371 operand_296.dimensions = dimensions_296;
2372 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_296), ANEURALNETWORKS_NO_ERROR);
2373 ANeuralNetworksOperandType operand_297{};
2374 operand_297.type = ANEURALNETWORKS_TENSOR_INT32;
2375 operand_297.scale = 9.076018613995984e-05;
2376 operand_297.zeroPoint = 0;
2377 operand_297.dimensionCount = 1;
2378 const uint32_t dimensions_297[] = {64};
2379 operand_297.dimensions = dimensions_297;
2380 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_297), ANEURALNETWORKS_NO_ERROR);
2381 ANeuralNetworksOperandType operand_298{};
2382 operand_298.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2383 operand_298.scale = 0.04541563242673874;
2384 operand_298.zeroPoint = 145;
2385 operand_298.dimensionCount = 4;
2386 const uint32_t dimensions_298[] = {0, 12, 12, 64};
2387 operand_298.dimensions = dimensions_298;
2388 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_298), ANEURALNETWORKS_NO_ERROR);
2389 ANeuralNetworksOperandType operand_299{};
2390 operand_299.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2391 operand_299.scale = 0.003162507666274905;
2392 operand_299.zeroPoint = 127;
2393 operand_299.dimensionCount = 4;
2394 const uint32_t dimensions_299[] = {81, 1, 1, 64};
2395 operand_299.dimensions = dimensions_299;
2396 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_299), ANEURALNETWORKS_NO_ERROR);
2397 ANeuralNetworksOperandType operand_300{};
2398 operand_300.type = ANEURALNETWORKS_TENSOR_INT32;
2399 operand_300.scale = 0.000143627286888659;
2400 operand_300.zeroPoint = 0;
2401 operand_300.dimensionCount = 1;
2402 const uint32_t dimensions_300[] = {81};
2403 operand_300.dimensions = dimensions_300;
2404 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_300), ANEURALNETWORKS_NO_ERROR);
2405 ANeuralNetworksOperandType operand_301{};
2406 operand_301.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM;
2407 operand_301.scale = 0.08356435596942902;
2408 operand_301.zeroPoint = 135;
2409 operand_301.dimensionCount = 4;
2410 const uint32_t dimensions_301[] = {0, 12, 12, 81};
2411 operand_301.dimensions = dimensions_301;
2412 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_301), ANEURALNETWORKS_NO_ERROR);
2413 ANeuralNetworksOperandType operand_302{};
2414 operand_302.type = ANEURALNETWORKS_TENSOR_FLOAT32;
2415 operand_302.scale = 0;
2416 operand_302.zeroPoint = 0;
2417 operand_302.dimensionCount = 4;
2418 const uint32_t dimensions_302[] = {0, 12, 12, 81};
2419 operand_302.dimensions = dimensions_302;
2420 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_302), ANEURALNETWORKS_NO_ERROR);
2421 ANeuralNetworksOperandType operand_303{};
2422 operand_303.type = ANEURALNETWORKS_TENSOR_INT32;
2423 operand_303.scale = 0;
2424 operand_303.zeroPoint = 0;
2425 operand_303.dimensionCount = 1;
2426 const uint32_t dimensions_303[] = {4};
2427 operand_303.dimensions = dimensions_303;
2428 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_303), ANEURALNETWORKS_NO_ERROR);
2429 ANeuralNetworksOperandType operand_304{};
2430 operand_304.type = ANEURALNETWORKS_TENSOR_FLOAT32;
2431 operand_304.scale = 0;
2432 operand_304.zeroPoint = 0;
2433 operand_304.dimensionCount = 4;
2434 const uint32_t dimensions_304[] = {0, 81, 12, 12};
2435 operand_304.dimensions = dimensions_304;
2436 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_304), ANEURALNETWORKS_NO_ERROR);
2437 ANeuralNetworksOperandType operand_305{};
2438 operand_305.type = ANEURALNETWORKS_TENSOR_FLOAT32;
2439 operand_305.scale = 0;
2440 operand_305.zeroPoint = 0;
2441 operand_305.dimensionCount = 4;
2442 const uint32_t dimensions_305[] = {0, 81, 12, 12};
2443 operand_305.dimensions = dimensions_305;
2444 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_305), ANEURALNETWORKS_NO_ERROR);
2445 ANeuralNetworksOperandType operand_306{};
2446 operand_306.type = ANEURALNETWORKS_TENSOR_INT32;
2447 operand_306.scale = 0;
2448 operand_306.zeroPoint = 0;
2449 operand_306.dimensionCount = 1;
2450 const uint32_t dimensions_306[] = {2};
2451 operand_306.dimensions = dimensions_306;
2452 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_306), ANEURALNETWORKS_NO_ERROR);
2453 ANeuralNetworksOperandType operand_307{};
2454 operand_307.type = ANEURALNETWORKS_TENSOR_INT32;
2455 operand_307.scale = 0;
2456 operand_307.zeroPoint = 0;
2457 operand_307.dimensionCount = 1;
2458 const uint32_t dimensions_307[] = {2};
2459 operand_307.dimensions = dimensions_307;
2460 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_307), ANEURALNETWORKS_NO_ERROR);
2461 ANeuralNetworksOperandType operand_308{};
2462 operand_308.type = ANEURALNETWORKS_TENSOR_FLOAT32;
2463 operand_308.scale = 0;
2464 operand_308.zeroPoint = 0;
2465 operand_308.dimensionCount = 2;
2466 const uint32_t dimensions_308[] = {1, 1};
2467 operand_308.dimensions = dimensions_308;
2468 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_308), ANEURALNETWORKS_NO_ERROR);
2469 ANeuralNetworksOperandType operand_309{};
2470 operand_309.type = ANEURALNETWORKS_TENSOR_FLOAT32;
2471 operand_309.scale = 0;
2472 operand_309.zeroPoint = 0;
2473 operand_309.dimensionCount = 1;
2474 const uint32_t dimensions_309[] = {0};
2475 operand_309.dimensions = dimensions_309;
2476 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_309), ANEURALNETWORKS_NO_ERROR);
2477 #include "generated/maskrcnn/maskrcnn2go_quantized_const_data.cpp"
2478 const uint32_t input_0[] = {2, 6};
2479 const uint32_t output_0[] = {7};
2480 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_TRANSPOSE, 2, input_0, 1,
2481 output_0),
2482 ANEURALNETWORKS_NO_ERROR);
2483 const uint32_t input_1[] = {7};
2484 const uint32_t output_1[] = {8};
2485 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_QUANTIZE, 1, input_1, 1,
2486 output_1),
2487 ANEURALNETWORKS_NO_ERROR);
2488 const uint32_t input_2[] = {8, 9, 10, 11, 11, 11, 11, 12, 12, 11, 0};
2489 const uint32_t output_2[] = {13};
2490 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_2, 1,
2491 output_2),
2492 ANEURALNETWORKS_NO_ERROR);
2493 const uint32_t input_3[] = {13, 14, 15, 16, 16, 16, 16, 11, 11, 11, 0};
2494 const uint32_t output_3[] = {17};
2495 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_3, 1,
2496 output_3),
2497 ANEURALNETWORKS_NO_ERROR);
2498 const uint32_t input_4[] = {17, 18, 19, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2499 const uint32_t output_4[] = {20};
2500 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2501 input_4, 1, output_4),
2502 ANEURALNETWORKS_NO_ERROR);
2503 const uint32_t input_5[] = {20, 21, 22, 16, 16, 16, 16, 11, 11, 16, 0};
2504 const uint32_t output_5[] = {23};
2505 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_5, 1,
2506 output_5),
2507 ANEURALNETWORKS_NO_ERROR);
2508 const uint32_t input_6[] = {23, 13, 16};
2509 const uint32_t output_6[] = {24};
2510 ASSERT_EQ(
2511 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_6, 1, output_6),
2512 ANEURALNETWORKS_NO_ERROR);
2513 const uint32_t input_7[] = {24, 25, 26, 16, 16, 16, 16, 11, 11, 11, 0};
2514 const uint32_t output_7[] = {27};
2515 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_7, 1,
2516 output_7),
2517 ANEURALNETWORKS_NO_ERROR);
2518 const uint32_t input_8[] = {27, 28, 29, 11, 11, 11, 11, 12, 12, 11, 16, 0};
2519 const uint32_t output_8[] = {30};
2520 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2521 input_8, 1, output_8),
2522 ANEURALNETWORKS_NO_ERROR);
2523 const uint32_t input_9[] = {30, 31, 32, 16, 16, 16, 16, 11, 11, 16, 0};
2524 const uint32_t output_9[] = {33};
2525 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_9, 1,
2526 output_9),
2527 ANEURALNETWORKS_NO_ERROR);
2528 const uint32_t input_10[] = {33, 34, 35, 16, 16, 16, 16, 11, 11, 11, 0};
2529 const uint32_t output_10[] = {36};
2530 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_10, 1,
2531 output_10),
2532 ANEURALNETWORKS_NO_ERROR);
2533 const uint32_t input_11[] = {36, 37, 38, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2534 const uint32_t output_11[] = {39};
2535 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2536 input_11, 1, output_11),
2537 ANEURALNETWORKS_NO_ERROR);
2538 const uint32_t input_12[] = {39, 40, 41, 16, 16, 16, 16, 11, 11, 16, 0};
2539 const uint32_t output_12[] = {42};
2540 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_12, 1,
2541 output_12),
2542 ANEURALNETWORKS_NO_ERROR);
2543 const uint32_t input_13[] = {42, 33, 16};
2544 const uint32_t output_13[] = {43};
2545 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_13, 1,
2546 output_13),
2547 ANEURALNETWORKS_NO_ERROR);
2548 const uint32_t input_14[] = {43, 44, 45, 16, 16, 16, 16, 11, 11, 11, 0};
2549 const uint32_t output_14[] = {46};
2550 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_14, 1,
2551 output_14),
2552 ANEURALNETWORKS_NO_ERROR);
2553 const uint32_t input_15[] = {46, 47, 48, 11, 11, 11, 11, 12, 12, 11, 16, 0};
2554 const uint32_t output_15[] = {49};
2555 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2556 input_15, 1, output_15),
2557 ANEURALNETWORKS_NO_ERROR);
2558 const uint32_t input_16[] = {49, 50, 51, 16, 16, 16, 16, 11, 11, 16, 0};
2559 const uint32_t output_16[] = {52};
2560 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_16, 1,
2561 output_16),
2562 ANEURALNETWORKS_NO_ERROR);
2563 const uint32_t input_17[] = {52, 53, 54, 16, 16, 16, 16, 11, 11, 11, 0};
2564 const uint32_t output_17[] = {55};
2565 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_17, 1,
2566 output_17),
2567 ANEURALNETWORKS_NO_ERROR);
2568 const uint32_t input_18[] = {55, 56, 57, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2569 const uint32_t output_18[] = {58};
2570 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2571 input_18, 1, output_18),
2572 ANEURALNETWORKS_NO_ERROR);
2573 const uint32_t input_19[] = {58, 59, 60, 16, 16, 16, 16, 11, 11, 16, 0};
2574 const uint32_t output_19[] = {61};
2575 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_19, 1,
2576 output_19),
2577 ANEURALNETWORKS_NO_ERROR);
2578 const uint32_t input_20[] = {61, 52, 16};
2579 const uint32_t output_20[] = {62};
2580 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_20, 1,
2581 output_20),
2582 ANEURALNETWORKS_NO_ERROR);
2583 const uint32_t input_21[] = {62, 63, 64, 16, 16, 16, 16, 11, 11, 11, 0};
2584 const uint32_t output_21[] = {65};
2585 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_21, 1,
2586 output_21),
2587 ANEURALNETWORKS_NO_ERROR);
2588 const uint32_t input_22[] = {65, 66, 67, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2589 const uint32_t output_22[] = {68};
2590 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2591 input_22, 1, output_22),
2592 ANEURALNETWORKS_NO_ERROR);
2593 const uint32_t input_23[] = {68, 69, 70, 16, 16, 16, 16, 11, 11, 16, 0};
2594 const uint32_t output_23[] = {71};
2595 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_23, 1,
2596 output_23),
2597 ANEURALNETWORKS_NO_ERROR);
2598 const uint32_t input_24[] = {71, 62, 16};
2599 const uint32_t output_24[] = {72};
2600 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_24, 1,
2601 output_24),
2602 ANEURALNETWORKS_NO_ERROR);
2603 const uint32_t input_25[] = {72, 73, 74, 16, 16, 16, 16, 11, 11, 11, 0};
2604 const uint32_t output_25[] = {75};
2605 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_25, 1,
2606 output_25),
2607 ANEURALNETWORKS_NO_ERROR);
2608 const uint32_t input_26[] = {75, 76, 77, 11, 11, 11, 11, 12, 12, 11, 16, 0};
2609 const uint32_t output_26[] = {78};
2610 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2611 input_26, 1, output_26),
2612 ANEURALNETWORKS_NO_ERROR);
2613 const uint32_t input_27[] = {78, 79, 80, 16, 16, 16, 16, 11, 11, 16, 0};
2614 const uint32_t output_27[] = {81};
2615 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_27, 1,
2616 output_27),
2617 ANEURALNETWORKS_NO_ERROR);
2618 const uint32_t input_28[] = {81, 82, 83, 16, 16, 16, 16, 11, 11, 11, 0};
2619 const uint32_t output_28[] = {84};
2620 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_28, 1,
2621 output_28),
2622 ANEURALNETWORKS_NO_ERROR);
2623 const uint32_t input_29[] = {84, 85, 86, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2624 const uint32_t output_29[] = {87};
2625 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2626 input_29, 1, output_29),
2627 ANEURALNETWORKS_NO_ERROR);
2628 const uint32_t input_30[] = {87, 88, 89, 16, 16, 16, 16, 11, 11, 16, 0};
2629 const uint32_t output_30[] = {90};
2630 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_30, 1,
2631 output_30),
2632 ANEURALNETWORKS_NO_ERROR);
2633 const uint32_t input_31[] = {90, 81, 16};
2634 const uint32_t output_31[] = {91};
2635 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_31, 1,
2636 output_31),
2637 ANEURALNETWORKS_NO_ERROR);
2638 const uint32_t input_32[] = {91, 92, 93, 16, 16, 16, 16, 11, 11, 11, 0};
2639 const uint32_t output_32[] = {94};
2640 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_32, 1,
2641 output_32),
2642 ANEURALNETWORKS_NO_ERROR);
2643 const uint32_t input_33[] = {94, 95, 96, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2644 const uint32_t output_33[] = {97};
2645 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2646 input_33, 1, output_33),
2647 ANEURALNETWORKS_NO_ERROR);
2648 const uint32_t input_34[] = {97, 98, 99, 16, 16, 16, 16, 11, 11, 16, 0};
2649 const uint32_t output_34[] = {100};
2650 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_34, 1,
2651 output_34),
2652 ANEURALNETWORKS_NO_ERROR);
2653 const uint32_t input_35[] = {100, 91, 16};
2654 const uint32_t output_35[] = {101};
2655 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_35, 1,
2656 output_35),
2657 ANEURALNETWORKS_NO_ERROR);
2658 const uint32_t input_36[] = {101, 102, 103, 16, 16, 16, 16, 11, 11, 11, 0};
2659 const uint32_t output_36[] = {104};
2660 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_36, 1,
2661 output_36),
2662 ANEURALNETWORKS_NO_ERROR);
2663 const uint32_t input_37[] = {104, 105, 106, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2664 const uint32_t output_37[] = {107};
2665 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2666 input_37, 1, output_37),
2667 ANEURALNETWORKS_NO_ERROR);
2668 const uint32_t input_38[] = {107, 108, 109, 16, 16, 16, 16, 11, 11, 16, 0};
2669 const uint32_t output_38[] = {110};
2670 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_38, 1,
2671 output_38),
2672 ANEURALNETWORKS_NO_ERROR);
2673 const uint32_t input_39[] = {110, 101, 16};
2674 const uint32_t output_39[] = {111};
2675 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_39, 1,
2676 output_39),
2677 ANEURALNETWORKS_NO_ERROR);
2678 const uint32_t input_40[] = {111, 112, 113, 16, 16, 16, 16, 11, 11, 11, 0};
2679 const uint32_t output_40[] = {114};
2680 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_40, 1,
2681 output_40),
2682 ANEURALNETWORKS_NO_ERROR);
2683 const uint32_t input_41[] = {114, 115, 116, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2684 const uint32_t output_41[] = {117};
2685 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2686 input_41, 1, output_41),
2687 ANEURALNETWORKS_NO_ERROR);
2688 const uint32_t input_42[] = {117, 118, 119, 16, 16, 16, 16, 11, 11, 16, 0};
2689 const uint32_t output_42[] = {120};
2690 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_42, 1,
2691 output_42),
2692 ANEURALNETWORKS_NO_ERROR);
2693 const uint32_t input_43[] = {120, 121, 122, 16, 16, 16, 16, 11, 11, 11, 0};
2694 const uint32_t output_43[] = {123};
2695 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_43, 1,
2696 output_43),
2697 ANEURALNETWORKS_NO_ERROR);
2698 const uint32_t input_44[] = {123, 124, 125, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2699 const uint32_t output_44[] = {126};
2700 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2701 input_44, 1, output_44),
2702 ANEURALNETWORKS_NO_ERROR);
2703 const uint32_t input_45[] = {126, 127, 128, 16, 16, 16, 16, 11, 11, 16, 0};
2704 const uint32_t output_45[] = {129};
2705 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_45, 1,
2706 output_45),
2707 ANEURALNETWORKS_NO_ERROR);
2708 const uint32_t input_46[] = {129, 120, 16};
2709 const uint32_t output_46[] = {130};
2710 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_46, 1,
2711 output_46),
2712 ANEURALNETWORKS_NO_ERROR);
2713 const uint32_t input_47[] = {130, 131, 132, 16, 16, 16, 16, 11, 11, 11, 0};
2714 const uint32_t output_47[] = {133};
2715 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_47, 1,
2716 output_47),
2717 ANEURALNETWORKS_NO_ERROR);
2718 const uint32_t input_48[] = {133, 134, 135, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2719 const uint32_t output_48[] = {136};
2720 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2721 input_48, 1, output_48),
2722 ANEURALNETWORKS_NO_ERROR);
2723 const uint32_t input_49[] = {136, 137, 138, 16, 16, 16, 16, 11, 11, 16, 0};
2724 const uint32_t output_49[] = {139};
2725 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_49, 1,
2726 output_49),
2727 ANEURALNETWORKS_NO_ERROR);
2728 const uint32_t input_50[] = {139, 130, 16};
2729 const uint32_t output_50[] = {140};
2730 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_50, 1,
2731 output_50),
2732 ANEURALNETWORKS_NO_ERROR);
2733 const uint32_t input_51[] = {140, 141, 142, 16, 16, 16, 16, 11, 11, 11, 0};
2734 const uint32_t output_51[] = {143};
2735 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_51, 1,
2736 output_51),
2737 ANEURALNETWORKS_NO_ERROR);
2738 const uint32_t input_52[] = {143, 144, 145, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2739 const uint32_t output_52[] = {146};
2740 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2741 input_52, 1, output_52),
2742 ANEURALNETWORKS_NO_ERROR);
2743 const uint32_t input_53[] = {146, 147, 148, 16, 16, 16, 16, 11, 11, 16, 0};
2744 const uint32_t output_53[] = {149};
2745 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_53, 1,
2746 output_53),
2747 ANEURALNETWORKS_NO_ERROR);
2748 const uint32_t input_54[] = {149, 140, 16};
2749 const uint32_t output_54[] = {150};
2750 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_54, 1,
2751 output_54),
2752 ANEURALNETWORKS_NO_ERROR);
2753 const uint32_t input_55[] = {150, 151, 152, 16, 16, 16, 16, 11, 11, 11, 0};
2754 const uint32_t output_55[] = {153};
2755 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_55, 1,
2756 output_55),
2757 ANEURALNETWORKS_NO_ERROR);
2758 const uint32_t input_56[] = {153, 154, 155, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2759 const uint32_t output_56[] = {156};
2760 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2761 input_56, 1, output_56),
2762 ANEURALNETWORKS_NO_ERROR);
2763 const uint32_t input_57[] = {156, 157, 158, 16, 16, 16, 16, 11, 11, 16, 0};
2764 const uint32_t output_57[] = {159};
2765 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_57, 1,
2766 output_57),
2767 ANEURALNETWORKS_NO_ERROR);
2768 const uint32_t input_58[] = {159, 150, 16};
2769 const uint32_t output_58[] = {160};
2770 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_58, 1,
2771 output_58),
2772 ANEURALNETWORKS_NO_ERROR);
2773 const uint32_t input_59[] = {160, 161, 162, 16, 16, 16, 16, 11, 11, 11, 0};
2774 const uint32_t output_59[] = {163};
2775 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_59, 1,
2776 output_59),
2777 ANEURALNETWORKS_NO_ERROR);
2778 const uint32_t input_60[] = {163, 164, 165, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2779 const uint32_t output_60[] = {166};
2780 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2781 input_60, 1, output_60),
2782 ANEURALNETWORKS_NO_ERROR);
2783 const uint32_t input_61[] = {166, 167, 168, 16, 16, 16, 16, 11, 11, 16, 0};
2784 const uint32_t output_61[] = {169};
2785 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_61, 1,
2786 output_61),
2787 ANEURALNETWORKS_NO_ERROR);
2788 const uint32_t input_62[] = {169, 160, 16};
2789 const uint32_t output_62[] = {170};
2790 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_62, 1,
2791 output_62),
2792 ANEURALNETWORKS_NO_ERROR);
2793 const uint32_t input_63[] = {170, 171, 172, 16, 16, 16, 16, 11, 11, 16, 0};
2794 const uint32_t output_63[] = {173};
2795 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_63, 1,
2796 output_63),
2797 ANEURALNETWORKS_NO_ERROR);
2798 const uint32_t input_64[] = {170, 174, 175, 16, 16, 16, 16, 11, 11, 16, 0};
2799 const uint32_t output_64[] = {176};
2800 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_64, 1,
2801 output_64),
2802 ANEURALNETWORKS_NO_ERROR);
2803 const uint32_t input_65[] = {173, 176, 177, 5, 178, 178, 179, 180, 181, 182, 0};
2804 const uint32_t output_65[] = {183, 184, 185};
2805 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_GENERATE_PROPOSALS, 11,
2806 input_65, 3, output_65),
2807 ANEURALNETWORKS_NO_ERROR);
2808 const uint32_t input_66[] = {140, 184, 185, 186, 186, 178, 178, 16, 16, 0};
2809 const uint32_t output_66[] = {187};
2810 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ROI_ALIGN, 10, input_66, 1,
2811 output_66),
2812 ANEURALNETWORKS_NO_ERROR);
2813 const uint32_t input_67[] = {187, 188, 189, 16, 16, 16, 16, 11, 11, 11, 0};
2814 const uint32_t output_67[] = {190};
2815 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_67, 1,
2816 output_67),
2817 ANEURALNETWORKS_NO_ERROR);
2818 const uint32_t input_68[] = {190, 191, 192, 11, 11, 11, 11, 12, 12, 11, 16, 0};
2819 const uint32_t output_68[] = {193};
2820 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2821 input_68, 1, output_68),
2822 ANEURALNETWORKS_NO_ERROR);
2823 const uint32_t input_69[] = {193, 194, 195, 16, 16, 16, 16, 11, 11, 16, 0};
2824 const uint32_t output_69[] = {196};
2825 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_69, 1,
2826 output_69),
2827 ANEURALNETWORKS_NO_ERROR);
2828 const uint32_t input_70[] = {196, 197, 198, 16, 16, 16, 16, 11, 11, 11, 0};
2829 const uint32_t output_70[] = {199};
2830 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_70, 1,
2831 output_70),
2832 ANEURALNETWORKS_NO_ERROR);
2833 const uint32_t input_71[] = {199, 200, 201, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2834 const uint32_t output_71[] = {202};
2835 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2836 input_71, 1, output_71),
2837 ANEURALNETWORKS_NO_ERROR);
2838 const uint32_t input_72[] = {202, 203, 204, 16, 16, 16, 16, 11, 11, 16, 0};
2839 const uint32_t output_72[] = {205};
2840 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_72, 1,
2841 output_72),
2842 ANEURALNETWORKS_NO_ERROR);
2843 const uint32_t input_73[] = {205, 196, 16};
2844 const uint32_t output_73[] = {206};
2845 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_73, 1,
2846 output_73),
2847 ANEURALNETWORKS_NO_ERROR);
2848 const uint32_t input_74[] = {206, 207, 208, 16, 16, 16, 16, 11, 11, 11, 0};
2849 const uint32_t output_74[] = {209};
2850 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_74, 1,
2851 output_74),
2852 ANEURALNETWORKS_NO_ERROR);
2853 const uint32_t input_75[] = {209, 210, 211, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2854 const uint32_t output_75[] = {212};
2855 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2856 input_75, 1, output_75),
2857 ANEURALNETWORKS_NO_ERROR);
2858 const uint32_t input_76[] = {212, 213, 214, 16, 16, 16, 16, 11, 11, 16, 0};
2859 const uint32_t output_76[] = {215};
2860 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_76, 1,
2861 output_76),
2862 ANEURALNETWORKS_NO_ERROR);
2863 const uint32_t input_77[] = {215, 206, 16};
2864 const uint32_t output_77[] = {216};
2865 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_77, 1,
2866 output_77),
2867 ANEURALNETWORKS_NO_ERROR);
2868 const uint32_t input_78[] = {216, 217, 218, 16, 16, 16, 16, 11, 11, 11, 0};
2869 const uint32_t output_78[] = {219};
2870 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_78, 1,
2871 output_78),
2872 ANEURALNETWORKS_NO_ERROR);
2873 const uint32_t input_79[] = {219, 220, 221, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2874 const uint32_t output_79[] = {222};
2875 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2876 input_79, 1, output_79),
2877 ANEURALNETWORKS_NO_ERROR);
2878 const uint32_t input_80[] = {222, 223, 224, 16, 16, 16, 16, 11, 11, 16, 0};
2879 const uint32_t output_80[] = {225};
2880 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_80, 1,
2881 output_80),
2882 ANEURALNETWORKS_NO_ERROR);
2883 const uint32_t input_81[] = {225, 226, 227, 16, 16, 16, 16, 11, 11, 11, 0};
2884 const uint32_t output_81[] = {228};
2885 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_81, 1,
2886 output_81),
2887 ANEURALNETWORKS_NO_ERROR);
2888 const uint32_t input_82[] = {228, 16, 16, 16, 16, 11, 11, 229, 229, 16, 0};
2889 const uint32_t output_82[] = {230};
2890 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_AVERAGE_POOL_2D, 11,
2891 input_82, 1, output_82),
2892 ANEURALNETWORKS_NO_ERROR);
2893 const uint32_t input_83[] = {230, 231, 232, 16};
2894 const uint32_t output_83[] = {233};
2895 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_FULLY_CONNECTED, 4, input_83,
2896 1, output_83),
2897 ANEURALNETWORKS_NO_ERROR);
2898 const uint32_t input_84[] = {233, 234};
2899 const uint32_t output_84[] = {235};
2900 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_SOFTMAX, 2, input_84, 1,
2901 output_84),
2902 ANEURALNETWORKS_NO_ERROR);
2903 const uint32_t input_85[] = {230, 236, 237, 16};
2904 const uint32_t output_85[] = {238};
2905 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_FULLY_CONNECTED, 4, input_85,
2906 1, output_85),
2907 ANEURALNETWORKS_NO_ERROR);
2908 const uint32_t input_86[] = {184, 238, 185, 5};
2909 const uint32_t output_86[] = {239};
2910 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_AXIS_ALIGNED_BBOX_TRANSFORM,
2911 4, input_86, 1, output_86),
2912 ANEURALNETWORKS_NO_ERROR);
2913 const uint32_t input_87[] = {235, 239, 185, 240, 180, 11, 241, 242, 182};
2914 const uint32_t output_87[] = {243, 244, 245, 246};
2915 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_BOX_WITH_NMS_LIMIT, 9,
2916 input_87, 4, output_87),
2917 ANEURALNETWORKS_NO_ERROR);
2918 const uint32_t input_88[] = {140, 244, 246, 186, 186, 178, 178, 16, 16, 0};
2919 const uint32_t output_88[] = {247};
2920 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ROI_ALIGN, 10, input_88, 1,
2921 output_88),
2922 ANEURALNETWORKS_NO_ERROR);
2923 const uint32_t input_89[] = {247, 248, 249, 16, 16, 16, 16, 11, 11, 11, 0};
2924 const uint32_t output_89[] = {250};
2925 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_89, 1,
2926 output_89),
2927 ANEURALNETWORKS_NO_ERROR);
2928 const uint32_t input_90[] = {250, 251, 252, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2929 const uint32_t output_90[] = {253};
2930 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2931 input_90, 1, output_90),
2932 ANEURALNETWORKS_NO_ERROR);
2933 const uint32_t input_91[] = {253, 254, 255, 16, 16, 16, 16, 11, 11, 16, 0};
2934 const uint32_t output_91[] = {256};
2935 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_91, 1,
2936 output_91),
2937 ANEURALNETWORKS_NO_ERROR);
2938 const uint32_t input_92[] = {256, 247, 16};
2939 const uint32_t output_92[] = {257};
2940 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_92, 1,
2941 output_92),
2942 ANEURALNETWORKS_NO_ERROR);
2943 const uint32_t input_93[] = {257, 258, 259, 16, 16, 16, 16, 11, 11, 11, 0};
2944 const uint32_t output_93[] = {260};
2945 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_93, 1,
2946 output_93),
2947 ANEURALNETWORKS_NO_ERROR);
2948 const uint32_t input_94[] = {260, 261, 262, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2949 const uint32_t output_94[] = {263};
2950 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2951 input_94, 1, output_94),
2952 ANEURALNETWORKS_NO_ERROR);
2953 const uint32_t input_95[] = {263, 264, 265, 16, 16, 16, 16, 11, 11, 16, 0};
2954 const uint32_t output_95[] = {266};
2955 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_95, 1,
2956 output_95),
2957 ANEURALNETWORKS_NO_ERROR);
2958 const uint32_t input_96[] = {266, 257, 16};
2959 const uint32_t output_96[] = {267};
2960 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_96, 1,
2961 output_96),
2962 ANEURALNETWORKS_NO_ERROR);
2963 const uint32_t input_97[] = {267, 268, 269, 16, 16, 16, 16, 11, 11, 11, 0};
2964 const uint32_t output_97[] = {270};
2965 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_97, 1,
2966 output_97),
2967 ANEURALNETWORKS_NO_ERROR);
2968 const uint32_t input_98[] = {270, 271, 272, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2969 const uint32_t output_98[] = {273};
2970 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2971 input_98, 1, output_98),
2972 ANEURALNETWORKS_NO_ERROR);
2973 const uint32_t input_99[] = {273, 274, 275, 16, 16, 16, 16, 11, 11, 16, 0};
2974 const uint32_t output_99[] = {276};
2975 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_99, 1,
2976 output_99),
2977 ANEURALNETWORKS_NO_ERROR);
2978 const uint32_t input_100[] = {276, 267, 16};
2979 const uint32_t output_100[] = {277};
2980 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_100, 1,
2981 output_100),
2982 ANEURALNETWORKS_NO_ERROR);
2983 const uint32_t input_101[] = {277, 278, 279, 16, 16, 16, 16, 11, 11, 11, 0};
2984 const uint32_t output_101[] = {280};
2985 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_101, 1,
2986 output_101),
2987 ANEURALNETWORKS_NO_ERROR);
2988 const uint32_t input_102[] = {280, 281, 282, 11, 11, 11, 11, 11, 11, 11, 16, 0};
2989 const uint32_t output_102[] = {283};
2990 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
2991 input_102, 1, output_102),
2992 ANEURALNETWORKS_NO_ERROR);
2993 const uint32_t input_103[] = {283, 284, 285, 16, 16, 16, 16, 11, 11, 16, 0};
2994 const uint32_t output_103[] = {286};
2995 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_103, 1,
2996 output_103),
2997 ANEURALNETWORKS_NO_ERROR);
2998 const uint32_t input_104[] = {286, 277, 16};
2999 const uint32_t output_104[] = {287};
3000 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_104, 1,
3001 output_104),
3002 ANEURALNETWORKS_NO_ERROR);
3003 const uint32_t input_105[] = {287, 288, 289, 16, 16, 16, 16, 11, 11, 11, 0};
3004 const uint32_t output_105[] = {290};
3005 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_105, 1,
3006 output_105),
3007 ANEURALNETWORKS_NO_ERROR);
3008 const uint32_t input_106[] = {290, 291, 291, 0};
3009 const uint32_t output_106[] = {292};
3010 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_RESIZE_NEAREST_NEIGHBOR, 4,
3011 input_106, 1, output_106),
3012 ANEURALNETWORKS_NO_ERROR);
3013 const uint32_t input_107[] = {292, 293, 294, 11, 11, 11, 11, 11, 11, 11, 16, 0};
3014 const uint32_t output_107[] = {295};
3015 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12,
3016 input_107, 1, output_107),
3017 ANEURALNETWORKS_NO_ERROR);
3018 const uint32_t input_108[] = {295, 296, 297, 16, 16, 16, 16, 11, 11, 16, 0};
3019 const uint32_t output_108[] = {298};
3020 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_108, 1,
3021 output_108),
3022 ANEURALNETWORKS_NO_ERROR);
3023 const uint32_t input_109[] = {298, 299, 300, 16, 16, 16, 16, 11, 11, 16, 0};
3024 const uint32_t output_109[] = {301};
3025 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_109, 1,
3026 output_109),
3027 ANEURALNETWORKS_NO_ERROR);
3028 const uint32_t input_110[] = {301};
3029 const uint32_t output_110[] = {302};
3030 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEQUANTIZE, 1, input_110, 1,
3031 output_110),
3032 ANEURALNETWORKS_NO_ERROR);
3033 const uint32_t input_111[] = {302, 303};
3034 const uint32_t output_111[] = {304};
3035 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_TRANSPOSE, 2, input_111, 1,
3036 output_111),
3037 ANEURALNETWORKS_NO_ERROR);
3038 const uint32_t input_112[] = {304};
3039 const uint32_t output_112[] = {305};
3040 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_LOGISTIC, 1, input_112, 1,
3041 output_112),
3042 ANEURALNETWORKS_NO_ERROR);
3043 const uint32_t input_113[] = {3, 306, 307};
3044 const uint32_t output_113[] = {308};
3045 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_SLICE, 3, input_113, 1,
3046 output_113),
3047 ANEURALNETWORKS_NO_ERROR);
3048 const uint32_t input_114[] = {243};
3049 const uint32_t output_114[] = {309};
3050 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEQUANTIZE, 1, input_114, 1,
3051 output_114),
3052 ANEURALNETWORKS_NO_ERROR);
3053 const uint32_t model_inputs[] = {2, 3, 4, 5};
3054 const uint32_t model_outputs[] = {309, 244, 245, 305};
3055 ASSERT_EQ(
3056 ANeuralNetworksModel_identifyInputsAndOutputs(model, 4, model_inputs, 4, model_outputs),
3057 ANEURALNETWORKS_NO_ERROR);
3058 ASSERT_EQ(ANeuralNetworksModel_finish(model), ANEURALNETWORKS_NO_ERROR);
3059 ANeuralNetworksCompilation* compilation = nullptr;
3060 ASSERT_EQ(ANeuralNetworksCompilation_create(model, &compilation), ANEURALNETWORKS_NO_ERROR);
3061 ASSERT_EQ(ANeuralNetworksCompilation_finish(compilation), ANEURALNETWORKS_NO_ERROR);
3062 ANeuralNetworksExecution* execution = nullptr;
3063 ASSERT_EQ(ANeuralNetworksExecution_create(compilation, &execution), ANEURALNETWORKS_NO_ERROR);
3064
3065 ANeuralNetworksOperandType input_operand_0{};
3066 input_operand_0.type = ANEURALNETWORKS_TENSOR_FLOAT32;
3067 input_operand_0.scale = 0;
3068 input_operand_0.zeroPoint = 0;
3069 input_operand_0.dimensionCount = 4;
3070 const uint32_t input_dimensions_0[] = {1, 3, 462, 320};
3071 input_operand_0.dimensions = input_dimensions_0;
3072
3073 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 0, &input_operand_0,
3074 execution_input_buffer_0, 1774080),
3075 ANEURALNETWORKS_NO_ERROR);
3076 ANeuralNetworksOperandType input_operand_1{};
3077 input_operand_1.type = ANEURALNETWORKS_TENSOR_FLOAT32;
3078 input_operand_1.scale = 0;
3079 input_operand_1.zeroPoint = 0;
3080 input_operand_1.dimensionCount = 2;
3081 const uint32_t input_dimensions_1[] = {1, 3};
3082 input_operand_1.dimensions = input_dimensions_1;
3083 const uint8_t execution_input_buffer_1[] = {0, 0, 231, 67, 0, 0, 160, 67, 198, 235, 56, 63};
3084 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, &input_operand_1,
3085 execution_input_buffer_1, 12),
3086 ANEURALNETWORKS_NO_ERROR);
3087 ANeuralNetworksOperandType input_operand_2{};
3088 input_operand_2.type = ANEURALNETWORKS_TENSOR_FLOAT32;
3089 input_operand_2.scale = 0;
3090 input_operand_2.zeroPoint = 0;
3091 input_operand_2.dimensionCount = 2;
3092 const uint32_t input_dimensions_2[] = {1, 2};
3093 input_operand_2.dimensions = input_dimensions_2;
3094 const uint8_t execution_input_buffer_2[] = {0, 0, 231, 67, 0, 0, 160, 67};
3095 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 2, &input_operand_2,
3096 execution_input_buffer_2, 8),
3097 ANEURALNETWORKS_NO_ERROR);
3098 ANeuralNetworksOperandType input_operand_3{};
3099 input_operand_3.type = ANEURALNETWORKS_TENSOR_FLOAT32;
3100 input_operand_3.scale = 0;
3101 input_operand_3.zeroPoint = 0;
3102 input_operand_3.dimensionCount = 2;
3103 const uint32_t input_dimensions_3[] = {1, 2};
3104 input_operand_3.dimensions = input_dimensions_3;
3105 const uint8_t execution_input_buffer_3[] = {112, 14, 0, 10};
3106 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 3, &input_operand_3,
3107 execution_input_buffer_3, 4),
3108 ANEURALNETWORKS_NO_ERROR);
3109 static uint8_t execution_output_buffer_0[462];
3110 ASSERT_EQ(
3111 ANeuralNetworksExecution_setOutput(execution, 0, NULL, execution_output_buffer_0, 462),
3112 ANEURALNETWORKS_NO_ERROR);
3113 static uint8_t execution_output_buffer_1[924];
3114 ASSERT_EQ(
3115 ANeuralNetworksExecution_setOutput(execution, 1, NULL, execution_output_buffer_1, 924),
3116 ANEURALNETWORKS_NO_ERROR);
3117 static uint8_t execution_output_buffer_2[462];
3118 ASSERT_EQ(
3119 ANeuralNetworksExecution_setOutput(execution, 2, NULL, execution_output_buffer_2, 462),
3120 ANEURALNETWORKS_NO_ERROR);
3121 static uint8_t execution_output_buffer_3[5388768];
3122 ASSERT_EQ(ANeuralNetworksExecution_setOutput(execution, 3, NULL, execution_output_buffer_3,
3123 5388768),
3124 ANEURALNETWORKS_NO_ERROR);
3125 ASSERT_EQ(ANeuralNetworksExecution_compute(execution), ANEURALNETWORKS_NO_ERROR);
3126 ANeuralNetworksExecution_free(execution);
3127 ANeuralNetworksCompilation_free(compilation);
3128 ANeuralNetworksModel_free(model);
3129 }
3130
3131 } // namespace
3132