/frameworks/ml/nn/runtime/test/generated/models/ |
D | minimum.model.cpp | 221 auto output01 = model->addOperand(&type0); in CreateModel_2() local 223 model->addOperation(ANEURALNETWORKS_MINIMUM, {input01, input11}, {output01}); in CreateModel_2() 227 {output01}); in CreateModel_2() 242 auto output01 = model->addOperand(&type0); in CreateModel_relaxed_2() local 244 model->addOperation(ANEURALNETWORKS_MINIMUM, {input01, input11}, {output01}); in CreateModel_relaxed_2() 248 {output01}); in CreateModel_relaxed_2() 265 auto output01 = model->addOperand(&type4); in CreateModel_float16_2() local 267 model->addOperation(ANEURALNETWORKS_MINIMUM, {input01, input11}, {output01}); in CreateModel_float16_2() 271 {output01}); in CreateModel_float16_2() 286 auto output01 = model->addOperand(&type5); in CreateModel_int32_2() local [all …]
|
D | maximum.model.cpp | 221 auto output01 = model->addOperand(&type0); in CreateModel_2() local 223 model->addOperation(ANEURALNETWORKS_MAXIMUM, {input01, input11}, {output01}); in CreateModel_2() 227 {output01}); in CreateModel_2() 242 auto output01 = model->addOperand(&type0); in CreateModel_relaxed_2() local 244 model->addOperation(ANEURALNETWORKS_MAXIMUM, {input01, input11}, {output01}); in CreateModel_relaxed_2() 248 {output01}); in CreateModel_relaxed_2() 265 auto output01 = model->addOperand(&type4); in CreateModel_float16_2() local 267 model->addOperation(ANEURALNETWORKS_MAXIMUM, {input01, input11}, {output01}); in CreateModel_float16_2() 271 {output01}); in CreateModel_float16_2() 286 auto output01 = model->addOperand(&type5); in CreateModel_int32_2() local [all …]
|
D | cast.model.cpp | 47 auto output01 = model->addOperand(&type1); in CreateModel_2() local 49 model->addOperation(ANEURALNETWORKS_CAST, {input0}, {output01}); in CreateModel_2() 53 {output01}); in CreateModel_2() 67 auto output01 = model->addOperand(&type1); in CreateModel_relaxed() local 69 model->addOperation(ANEURALNETWORKS_CAST, {input0}, {output01}); in CreateModel_relaxed() 73 {output01}); in CreateModel_relaxed() 89 auto output01 = model->addOperand(&type9); in CreateModel_dynamic_output_shape_2() local 91 model->addOperation(ANEURALNETWORKS_CAST, {input0}, {output01}); in CreateModel_dynamic_output_shape_2() 95 {output01}); in CreateModel_dynamic_output_shape_2() 109 auto output01 = model->addOperand(&type9); in CreateModel_dynamic_output_shape_relaxed() local [all …]
|
D | equal.model.cpp | 182 auto output01 = model->addOperand(&type4); in CreateModel_2() local 184 model->addOperation(ANEURALNETWORKS_EQUAL, {input01, input11}, {output01}); in CreateModel_2() 188 {output01}); in CreateModel_2() 204 auto output01 = model->addOperand(&type4); in CreateModel_int32_2() local 206 model->addOperation(ANEURALNETWORKS_EQUAL, {input01, input11}, {output01}); in CreateModel_int32_2() 210 {output01}); in CreateModel_int32_2() 226 auto output01 = model->addOperand(&type4); in CreateModel_float16_2() local 228 model->addOperation(ANEURALNETWORKS_EQUAL, {input01, input11}, {output01}); in CreateModel_float16_2() 232 {output01}); in CreateModel_float16_2() 248 auto output01 = model->addOperand(&type4); in CreateModel_relaxed_2() local [all …]
|
D | greater_equal.model.cpp | 182 auto output01 = model->addOperand(&type4); in CreateModel_2() local 184 model->addOperation(ANEURALNETWORKS_GREATER_EQUAL, {input01, input11}, {output01}); in CreateModel_2() 188 {output01}); in CreateModel_2() 204 auto output01 = model->addOperand(&type4); in CreateModel_int32_2() local 206 model->addOperation(ANEURALNETWORKS_GREATER_EQUAL, {input01, input11}, {output01}); in CreateModel_int32_2() 210 {output01}); in CreateModel_int32_2() 226 auto output01 = model->addOperand(&type4); in CreateModel_float16_2() local 228 model->addOperation(ANEURALNETWORKS_GREATER_EQUAL, {input01, input11}, {output01}); in CreateModel_float16_2() 232 {output01}); in CreateModel_float16_2() 248 auto output01 = model->addOperand(&type4); in CreateModel_relaxed_2() local [all …]
|
D | less.model.cpp | 182 auto output01 = model->addOperand(&type4); in CreateModel_2() local 184 model->addOperation(ANEURALNETWORKS_LESS, {input01, input11}, {output01}); in CreateModel_2() 188 {output01}); in CreateModel_2() 204 auto output01 = model->addOperand(&type4); in CreateModel_int32_2() local 206 model->addOperation(ANEURALNETWORKS_LESS, {input01, input11}, {output01}); in CreateModel_int32_2() 210 {output01}); in CreateModel_int32_2() 226 auto output01 = model->addOperand(&type4); in CreateModel_float16_2() local 228 model->addOperation(ANEURALNETWORKS_LESS, {input01, input11}, {output01}); in CreateModel_float16_2() 232 {output01}); in CreateModel_float16_2() 248 auto output01 = model->addOperand(&type4); in CreateModel_relaxed_2() local [all …]
|
D | less_equal.model.cpp | 182 auto output01 = model->addOperand(&type4); in CreateModel_2() local 184 model->addOperation(ANEURALNETWORKS_LESS_EQUAL, {input01, input11}, {output01}); in CreateModel_2() 188 {output01}); in CreateModel_2() 204 auto output01 = model->addOperand(&type4); in CreateModel_int32_2() local 206 model->addOperation(ANEURALNETWORKS_LESS_EQUAL, {input01, input11}, {output01}); in CreateModel_int32_2() 210 {output01}); in CreateModel_int32_2() 226 auto output01 = model->addOperand(&type4); in CreateModel_float16_2() local 228 model->addOperation(ANEURALNETWORKS_LESS_EQUAL, {input01, input11}, {output01}); in CreateModel_float16_2() 232 {output01}); in CreateModel_float16_2() 248 auto output01 = model->addOperand(&type4); in CreateModel_relaxed_2() local [all …]
|
D | greater.model.cpp | 182 auto output01 = model->addOperand(&type4); in CreateModel_2() local 184 model->addOperation(ANEURALNETWORKS_GREATER, {input01, input11}, {output01}); in CreateModel_2() 188 {output01}); in CreateModel_2() 204 auto output01 = model->addOperand(&type4); in CreateModel_int32_2() local 206 model->addOperation(ANEURALNETWORKS_GREATER, {input01, input11}, {output01}); in CreateModel_int32_2() 210 {output01}); in CreateModel_int32_2() 226 auto output01 = model->addOperand(&type4); in CreateModel_float16_2() local 228 model->addOperation(ANEURALNETWORKS_GREATER, {input01, input11}, {output01}); in CreateModel_float16_2() 232 {output01}); in CreateModel_float16_2() 248 auto output01 = model->addOperand(&type4); in CreateModel_relaxed_2() local [all …]
|
D | not_equal.model.cpp | 182 auto output01 = model->addOperand(&type4); in CreateModel_2() local 184 model->addOperation(ANEURALNETWORKS_NOT_EQUAL, {input01, input11}, {output01}); in CreateModel_2() 188 {output01}); in CreateModel_2() 204 auto output01 = model->addOperand(&type4); in CreateModel_int32_2() local 206 model->addOperation(ANEURALNETWORKS_NOT_EQUAL, {input01, input11}, {output01}); in CreateModel_int32_2() 210 {output01}); in CreateModel_int32_2() 226 auto output01 = model->addOperand(&type4); in CreateModel_float16_2() local 228 model->addOperation(ANEURALNETWORKS_NOT_EQUAL, {input01, input11}, {output01}); in CreateModel_float16_2() 232 {output01}); in CreateModel_float16_2() 248 auto output01 = model->addOperand(&type4); in CreateModel_relaxed_2() local [all …]
|
D | logical_and.model.cpp | 50 auto output01 = model->addOperand(&type0); in CreateModel_2() local 52 model->addOperation(ANEURALNETWORKS_LOGICAL_AND, {input01, input11}, {output01}); in CreateModel_2() 56 {output01}); in CreateModel_2() 72 auto output01 = model->addOperand(&type2); in CreateModel_dynamic_output_shape_2() local 74 model->addOperation(ANEURALNETWORKS_LOGICAL_AND, {input01, input11}, {output01}); in CreateModel_dynamic_output_shape_2() 78 {output01}); in CreateModel_dynamic_output_shape_2()
|
D | logical_or.model.cpp | 50 auto output01 = model->addOperand(&type0); in CreateModel_2() local 52 model->addOperation(ANEURALNETWORKS_LOGICAL_OR, {input01, input11}, {output01}); in CreateModel_2() 56 {output01}); in CreateModel_2() 72 auto output01 = model->addOperand(&type2); in CreateModel_dynamic_output_shape_2() local 74 model->addOperation(ANEURALNETWORKS_LOGICAL_OR, {input01, input11}, {output01}); in CreateModel_dynamic_output_shape_2() 78 {output01}); in CreateModel_dynamic_output_shape_2()
|
D | select_v1_2.model.cpp | 242 auto output01 = model->addOperand(&type3); in CreateModel_2() local 244 model->addOperation(ANEURALNETWORKS_SELECT, {input01, input11, input21}, {output01}); in CreateModel_2() 248 {output01}); in CreateModel_2() 264 auto output01 = model->addOperand(&type15); in CreateModel_int32_2() local 266 model->addOperation(ANEURALNETWORKS_SELECT, {input01, input11, input21}, {output01}); in CreateModel_int32_2() 270 {output01}); in CreateModel_int32_2() 286 auto output01 = model->addOperand(&type16); in CreateModel_float16_2() local 288 model->addOperation(ANEURALNETWORKS_SELECT, {input01, input11, input21}, {output01}); in CreateModel_float16_2() 292 {output01}); in CreateModel_float16_2() 308 auto output01 = model->addOperand(&type3); in CreateModel_relaxed_2() local [all …]
|
D | reduce_any.model.cpp | 67 auto output01 = model->addOperand(&type4); in CreateModel_2() local 73 model->addOperation(ANEURALNETWORKS_REDUCE_ANY, {input01, param2, param3}, {output01}); in CreateModel_2() 77 {output01}); in CreateModel_2() 95 auto output01 = model->addOperand(&type8); in CreateModel_dynamic_output_shape_2() local 101 model->addOperation(ANEURALNETWORKS_REDUCE_ANY, {input01, param2, param3}, {output01}); in CreateModel_dynamic_output_shape_2() 105 {output01}); in CreateModel_dynamic_output_shape_2()
|
D | reduce_all.model.cpp | 67 auto output01 = model->addOperand(&type4); in CreateModel_2() local 73 model->addOperation(ANEURALNETWORKS_REDUCE_ALL, {input01, param2, param3}, {output01}); in CreateModel_2() 77 {output01}); in CreateModel_2() 95 auto output01 = model->addOperand(&type8); in CreateModel_dynamic_output_shape_2() local 101 model->addOperation(ANEURALNETWORKS_REDUCE_ALL, {input01, param2, param3}, {output01}); in CreateModel_dynamic_output_shape_2() 105 {output01}); in CreateModel_dynamic_output_shape_2()
|
D | reduce_sum.model.cpp | 183 auto output01 = model->addOperand(&type4); in CreateModel_2() local 189 model->addOperation(ANEURALNETWORKS_REDUCE_SUM, {input01, param2, param3}, {output01}); in CreateModel_2() 193 {output01}); in CreateModel_2() 210 auto output01 = model->addOperand(&type4); in CreateModel_relaxed_2() local 216 model->addOperation(ANEURALNETWORKS_REDUCE_SUM, {input01, param2, param3}, {output01}); in CreateModel_relaxed_2() 220 {output01}); in CreateModel_relaxed_2() 239 auto output01 = model->addOperand(&type14); in CreateModel_float16_2() local 245 model->addOperation(ANEURALNETWORKS_REDUCE_SUM, {input01, param2, param3}, {output01}); in CreateModel_float16_2() 249 {output01}); in CreateModel_float16_2() 267 auto output01 = model->addOperand(&type12); in CreateModel_dynamic_output_shape_2() local [all …]
|
D | log_softmax.model.cpp | 180 auto output01 = model->addOperand(&type3); in CreateModel_2() local 186 model->addOperation(ANEURALNETWORKS_LOG_SOFTMAX, {input01, param2, param3}, {output01}); in CreateModel_2() 190 {output01}); in CreateModel_2() 207 auto output01 = model->addOperand(&type3); in CreateModel_relaxed_2() local 213 model->addOperation(ANEURALNETWORKS_LOG_SOFTMAX, {input01, param2, param3}, {output01}); in CreateModel_relaxed_2() 217 {output01}); in CreateModel_relaxed_2() 236 auto output01 = model->addOperand(&type9); in CreateModel_float16_2() local 242 model->addOperation(ANEURALNETWORKS_LOG_SOFTMAX, {input01, param2, param3}, {output01}); in CreateModel_float16_2() 246 {output01}); in CreateModel_float16_2() 264 auto output01 = model->addOperand(&type7); in CreateModel_dynamic_output_shape_2() local [all …]
|
D | reduce_prod.model.cpp | 183 auto output01 = model->addOperand(&type4); in CreateModel_2() local 189 model->addOperation(ANEURALNETWORKS_REDUCE_PROD, {input01, param2, param3}, {output01}); in CreateModel_2() 193 {output01}); in CreateModel_2() 210 auto output01 = model->addOperand(&type4); in CreateModel_relaxed_2() local 216 model->addOperation(ANEURALNETWORKS_REDUCE_PROD, {input01, param2, param3}, {output01}); in CreateModel_relaxed_2() 220 {output01}); in CreateModel_relaxed_2() 239 auto output01 = model->addOperand(&type14); in CreateModel_float16_2() local 245 model->addOperation(ANEURALNETWORKS_REDUCE_PROD, {input01, param2, param3}, {output01}); in CreateModel_float16_2() 249 {output01}); in CreateModel_float16_2() 267 auto output01 = model->addOperand(&type12); in CreateModel_dynamic_output_shape_2() local [all …]
|
D | reduce_min.model.cpp | 239 auto output01 = model->addOperand(&type4); in CreateModel_2() local 245 model->addOperation(ANEURALNETWORKS_REDUCE_MIN, {input01, param2, param3}, {output01}); in CreateModel_2() 249 {output01}); in CreateModel_2() 266 auto output01 = model->addOperand(&type4); in CreateModel_relaxed_2() local 272 model->addOperation(ANEURALNETWORKS_REDUCE_MIN, {input01, param2, param3}, {output01}); in CreateModel_relaxed_2() 276 {output01}); in CreateModel_relaxed_2() 295 auto output01 = model->addOperand(&type17); in CreateModel_float16_2() local 301 model->addOperation(ANEURALNETWORKS_REDUCE_MIN, {input01, param2, param3}, {output01}); in CreateModel_float16_2() 305 {output01}); in CreateModel_float16_2() 322 auto output01 = model->addOperand(&type18); in CreateModel_quant8_2() local [all …]
|
D | reduce_max.model.cpp | 239 auto output01 = model->addOperand(&type4); in CreateModel_2() local 245 model->addOperation(ANEURALNETWORKS_REDUCE_MAX, {input01, param2, param3}, {output01}); in CreateModel_2() 249 {output01}); in CreateModel_2() 266 auto output01 = model->addOperand(&type4); in CreateModel_relaxed_2() local 272 model->addOperation(ANEURALNETWORKS_REDUCE_MAX, {input01, param2, param3}, {output01}); in CreateModel_relaxed_2() 276 {output01}); in CreateModel_relaxed_2() 295 auto output01 = model->addOperand(&type17); in CreateModel_float16_2() local 301 model->addOperation(ANEURALNETWORKS_REDUCE_MAX, {input01, param2, param3}, {output01}); in CreateModel_float16_2() 305 {output01}); in CreateModel_float16_2() 322 auto output01 = model->addOperand(&type18); in CreateModel_quant8_2() local [all …]
|
D | gather.model.cpp | 291 auto output01 = model->addOperand(&type3); in CreateModel_2() local 297 model->addOperation(ANEURALNETWORKS_GATHER, {input01, param2, param3}, {output01}); in CreateModel_2() 301 {output01}); in CreateModel_2() 319 auto output01 = model->addOperand(&type3); in CreateModel_relaxed_2() local 325 model->addOperation(ANEURALNETWORKS_GATHER, {input01, param2, param3}, {output01}); in CreateModel_relaxed_2() 329 {output01}); in CreateModel_relaxed_2() 349 auto output01 = model->addOperand(&type20); in CreateModel_quant8_2() local 355 model->addOperation(ANEURALNETWORKS_GATHER, {input01, param2, param3}, {output01}); in CreateModel_quant8_2() 359 {output01}); in CreateModel_quant8_2() 377 auto output01 = model->addOperand(&type21); in CreateModel_int32_2() local [all …]
|
D | dequantize_v1_2.model.cpp | 132 auto output01 = model->addOperand(&type3); in CreateModel_2() local 134 model->addOperation(ANEURALNETWORKS_DEQUANTIZE, {input01}, {output01}); in CreateModel_2() 138 {output01}); in CreateModel_2() 152 auto output01 = model->addOperand(&type3); in CreateModel_relaxed_2() local 154 model->addOperation(ANEURALNETWORKS_DEQUANTIZE, {input01}, {output01}); in CreateModel_relaxed_2() 158 {output01}); in CreateModel_relaxed_2() 174 auto output01 = model->addOperand(&type28); in CreateModel_float16_2() local 176 model->addOperation(ANEURALNETWORKS_DEQUANTIZE, {input01}, {output01}); in CreateModel_float16_2() 180 {output01}); in CreateModel_float16_2() 194 auto output01 = model->addOperand(&type29); in CreateModel_dynamic_output_shape_2() local [all …]
|
D | sub_v1_2_broadcast.model.cpp | 419 auto output01 = model->addOperand(&type4); in CreateModel_quant8() local 423 model->addOperation(ANEURALNETWORKS_SUB, {input01, input11, param}, {output01}); in CreateModel_quant8() 427 {output01}); in CreateModel_quant8() 445 auto output01 = model->addOperand(&type9); in CreateModel_quant8_dynamic_output_shape() local 449 model->addOperation(ANEURALNETWORKS_SUB, {input01, input11, param}, {output01}); in CreateModel_quant8_dynamic_output_shape() 453 {output01}); in CreateModel_quant8_dynamic_output_shape()
|
D | tanh_v1_2.model.cpp | 47 auto output01 = model->addOperand(&type2); in CreateModel_2() local 49 model->addOperation(ANEURALNETWORKS_TANH, {input01}, {output01}); in CreateModel_2() 53 {output01}); in CreateModel_2() 67 auto output01 = model->addOperand(&type15); in CreateModel_dynamic_output_shape_2() local 69 model->addOperation(ANEURALNETWORKS_TANH, {input01}, {output01}); in CreateModel_dynamic_output_shape_2() 73 {output01}); in CreateModel_dynamic_output_shape_2()
|
D | quantize.model.cpp | 48 auto output01 = model->addOperand(&type16); in CreateModel_quant8_2() local 50 model->addOperation(ANEURALNETWORKS_QUANTIZE, {input01}, {output01}); in CreateModel_quant8_2() 54 {output01}); in CreateModel_quant8_2() 68 auto output01 = model->addOperand(&type17); in CreateModel_dynamic_output_shape_quant8_2() local 70 model->addOperation(ANEURALNETWORKS_QUANTIZE, {input01}, {output01}); in CreateModel_dynamic_output_shape_quant8_2() 74 {output01}); in CreateModel_dynamic_output_shape_quant8_2()
|
D | sub_v1_2.model.cpp | 402 auto output01 = model->addOperand(&type2); in CreateModel_quant8() local 406 model->addOperation(ANEURALNETWORKS_SUB, {input01, input11, param}, {output01}); in CreateModel_quant8() 410 {output01}); in CreateModel_quant8() 427 auto output01 = model->addOperand(&type16); in CreateModel_quant8_dynamic_output_shape() local 431 model->addOperation(ANEURALNETWORKS_SUB, {input01, input11, param}, {output01}); in CreateModel_quant8_dynamic_output_shape() 435 {output01}); in CreateModel_quant8_dynamic_output_shape()
|