/frameworks/ml/nn/runtime/test/generated/models/ |
D | minimum.model.cpp | 219 auto input01 = model->addOperand(&type0); in CreateModel_2() local 223 model->addOperation(ANEURALNETWORKS_MINIMUM, {input01, input11}, {output01}); in CreateModel_2() 226 {input01, input11}, in CreateModel_2() 240 auto input01 = model->addOperand(&type0); in CreateModel_relaxed_2() local 244 model->addOperation(ANEURALNETWORKS_MINIMUM, {input01, input11}, {output01}); in CreateModel_relaxed_2() 247 {input01, input11}, in CreateModel_relaxed_2() 263 auto input01 = model->addOperand(&type4); in CreateModel_float16_2() local 267 model->addOperation(ANEURALNETWORKS_MINIMUM, {input01, input11}, {output01}); in CreateModel_float16_2() 270 {input01, input11}, in CreateModel_float16_2() 284 auto input01 = model->addOperand(&type5); in CreateModel_int32_2() local [all …]
|
D | maximum.model.cpp | 219 auto input01 = model->addOperand(&type0); in CreateModel_2() local 223 model->addOperation(ANEURALNETWORKS_MAXIMUM, {input01, input11}, {output01}); in CreateModel_2() 226 {input01, input11}, in CreateModel_2() 240 auto input01 = model->addOperand(&type0); in CreateModel_relaxed_2() local 244 model->addOperation(ANEURALNETWORKS_MAXIMUM, {input01, input11}, {output01}); in CreateModel_relaxed_2() 247 {input01, input11}, in CreateModel_relaxed_2() 263 auto input01 = model->addOperand(&type4); in CreateModel_float16_2() local 267 model->addOperation(ANEURALNETWORKS_MAXIMUM, {input01, input11}, {output01}); in CreateModel_float16_2() 270 {input01, input11}, in CreateModel_float16_2() 284 auto input01 = model->addOperand(&type5); in CreateModel_int32_2() local [all …]
|
D | cast.model.cpp | 210 auto input01 = model->addOperand(&type1); in CreateModel_5() local 213 model->addOperation(ANEURALNETWORKS_CAST, {input01}, {output0}); in CreateModel_5() 216 {input01}, in CreateModel_5() 230 auto input01 = model->addOperand(&type1); in CreateModel_relaxed_2() local 233 model->addOperation(ANEURALNETWORKS_CAST, {input01}, {output0}); in CreateModel_relaxed_2() 236 {input01}, in CreateModel_relaxed_2() 252 auto input01 = model->addOperand(&type1); in CreateModel_dynamic_output_shape_5() local 255 model->addOperation(ANEURALNETWORKS_CAST, {input01}, {output0}); in CreateModel_dynamic_output_shape_5() 258 {input01}, in CreateModel_dynamic_output_shape_5() 272 auto input01 = model->addOperand(&type1); in CreateModel_dynamic_output_shape_relaxed_2() local [all …]
|
D | equal.model.cpp | 180 auto input01 = model->addOperand(&type2); in CreateModel_2() local 184 model->addOperation(ANEURALNETWORKS_EQUAL, {input01, input11}, {output01}); in CreateModel_2() 187 {input01, input11}, in CreateModel_2() 202 auto input01 = model->addOperand(&type15); in CreateModel_int32_2() local 206 model->addOperation(ANEURALNETWORKS_EQUAL, {input01, input11}, {output01}); in CreateModel_int32_2() 209 {input01, input11}, in CreateModel_int32_2() 224 auto input01 = model->addOperand(&type17); in CreateModel_float16_2() local 228 model->addOperation(ANEURALNETWORKS_EQUAL, {input01, input11}, {output01}); in CreateModel_float16_2() 231 {input01, input11}, in CreateModel_float16_2() 246 auto input01 = model->addOperand(&type2); in CreateModel_relaxed_2() local [all …]
|
D | greater_equal.model.cpp | 180 auto input01 = model->addOperand(&type2); in CreateModel_2() local 184 model->addOperation(ANEURALNETWORKS_GREATER_EQUAL, {input01, input11}, {output01}); in CreateModel_2() 187 {input01, input11}, in CreateModel_2() 202 auto input01 = model->addOperand(&type15); in CreateModel_int32_2() local 206 model->addOperation(ANEURALNETWORKS_GREATER_EQUAL, {input01, input11}, {output01}); in CreateModel_int32_2() 209 {input01, input11}, in CreateModel_int32_2() 224 auto input01 = model->addOperand(&type17); in CreateModel_float16_2() local 228 model->addOperation(ANEURALNETWORKS_GREATER_EQUAL, {input01, input11}, {output01}); in CreateModel_float16_2() 231 {input01, input11}, in CreateModel_float16_2() 246 auto input01 = model->addOperand(&type2); in CreateModel_relaxed_2() local [all …]
|
D | less.model.cpp | 180 auto input01 = model->addOperand(&type2); in CreateModel_2() local 184 model->addOperation(ANEURALNETWORKS_LESS, {input01, input11}, {output01}); in CreateModel_2() 187 {input01, input11}, in CreateModel_2() 202 auto input01 = model->addOperand(&type15); in CreateModel_int32_2() local 206 model->addOperation(ANEURALNETWORKS_LESS, {input01, input11}, {output01}); in CreateModel_int32_2() 209 {input01, input11}, in CreateModel_int32_2() 224 auto input01 = model->addOperand(&type17); in CreateModel_float16_2() local 228 model->addOperation(ANEURALNETWORKS_LESS, {input01, input11}, {output01}); in CreateModel_float16_2() 231 {input01, input11}, in CreateModel_float16_2() 246 auto input01 = model->addOperand(&type2); in CreateModel_relaxed_2() local [all …]
|
D | less_equal.model.cpp | 180 auto input01 = model->addOperand(&type2); in CreateModel_2() local 184 model->addOperation(ANEURALNETWORKS_LESS_EQUAL, {input01, input11}, {output01}); in CreateModel_2() 187 {input01, input11}, in CreateModel_2() 202 auto input01 = model->addOperand(&type15); in CreateModel_int32_2() local 206 model->addOperation(ANEURALNETWORKS_LESS_EQUAL, {input01, input11}, {output01}); in CreateModel_int32_2() 209 {input01, input11}, in CreateModel_int32_2() 224 auto input01 = model->addOperand(&type17); in CreateModel_float16_2() local 228 model->addOperation(ANEURALNETWORKS_LESS_EQUAL, {input01, input11}, {output01}); in CreateModel_float16_2() 231 {input01, input11}, in CreateModel_float16_2() 246 auto input01 = model->addOperand(&type2); in CreateModel_relaxed_2() local [all …]
|
D | greater.model.cpp | 180 auto input01 = model->addOperand(&type2); in CreateModel_2() local 184 model->addOperation(ANEURALNETWORKS_GREATER, {input01, input11}, {output01}); in CreateModel_2() 187 {input01, input11}, in CreateModel_2() 202 auto input01 = model->addOperand(&type15); in CreateModel_int32_2() local 206 model->addOperation(ANEURALNETWORKS_GREATER, {input01, input11}, {output01}); in CreateModel_int32_2() 209 {input01, input11}, in CreateModel_int32_2() 224 auto input01 = model->addOperand(&type17); in CreateModel_float16_2() local 228 model->addOperation(ANEURALNETWORKS_GREATER, {input01, input11}, {output01}); in CreateModel_float16_2() 231 {input01, input11}, in CreateModel_float16_2() 246 auto input01 = model->addOperand(&type2); in CreateModel_relaxed_2() local [all …]
|
D | not_equal.model.cpp | 180 auto input01 = model->addOperand(&type2); in CreateModel_2() local 184 model->addOperation(ANEURALNETWORKS_NOT_EQUAL, {input01, input11}, {output01}); in CreateModel_2() 187 {input01, input11}, in CreateModel_2() 202 auto input01 = model->addOperand(&type15); in CreateModel_int32_2() local 206 model->addOperation(ANEURALNETWORKS_NOT_EQUAL, {input01, input11}, {output01}); in CreateModel_int32_2() 209 {input01, input11}, in CreateModel_int32_2() 224 auto input01 = model->addOperand(&type17); in CreateModel_float16_2() local 228 model->addOperation(ANEURALNETWORKS_NOT_EQUAL, {input01, input11}, {output01}); in CreateModel_float16_2() 231 {input01, input11}, in CreateModel_float16_2() 246 auto input01 = model->addOperand(&type2); in CreateModel_relaxed_2() local [all …]
|
D | logical_and.model.cpp | 48 auto input01 = model->addOperand(&type0); in CreateModel_2() local 52 model->addOperation(ANEURALNETWORKS_LOGICAL_AND, {input01, input11}, {output01}); in CreateModel_2() 55 {input01, input11}, in CreateModel_2() 70 auto input01 = model->addOperand(&type0); in CreateModel_dynamic_output_shape_2() local 74 model->addOperation(ANEURALNETWORKS_LOGICAL_AND, {input01, input11}, {output01}); in CreateModel_dynamic_output_shape_2() 77 {input01, input11}, in CreateModel_dynamic_output_shape_2()
|
D | logical_or.model.cpp | 48 auto input01 = model->addOperand(&type0); in CreateModel_2() local 52 model->addOperation(ANEURALNETWORKS_LOGICAL_OR, {input01, input11}, {output01}); in CreateModel_2() 55 {input01, input11}, in CreateModel_2() 70 auto input01 = model->addOperand(&type0); in CreateModel_dynamic_output_shape_2() local 74 model->addOperation(ANEURALNETWORKS_LOGICAL_OR, {input01, input11}, {output01}); in CreateModel_dynamic_output_shape_2() 77 {input01, input11}, in CreateModel_dynamic_output_shape_2()
|
D | select_v1_2.model.cpp | 239 auto input01 = model->addOperand(&type2); in CreateModel_2() local 244 model->addOperation(ANEURALNETWORKS_SELECT, {input01, input11, input21}, {output01}); in CreateModel_2() 247 {input01, input11, input21}, in CreateModel_2() 261 auto input01 = model->addOperand(&type2); in CreateModel_int32_2() local 266 model->addOperation(ANEURALNETWORKS_SELECT, {input01, input11, input21}, {output01}); in CreateModel_int32_2() 269 {input01, input11, input21}, in CreateModel_int32_2() 283 auto input01 = model->addOperand(&type2); in CreateModel_float16_2() local 288 model->addOperation(ANEURALNETWORKS_SELECT, {input01, input11, input21}, {output01}); in CreateModel_float16_2() 291 {input01, input11, input21}, in CreateModel_float16_2() 305 auto input01 = model->addOperand(&type2); in CreateModel_relaxed_2() local [all …]
|
D | reduce_any.model.cpp | 64 auto input01 = model->addOperand(&type3); in CreateModel_2() local 73 model->addOperation(ANEURALNETWORKS_REDUCE_ANY, {input01, param2, param3}, {output01}); in CreateModel_2() 76 {input01}, in CreateModel_2() 92 auto input01 = model->addOperand(&type3); in CreateModel_dynamic_output_shape_2() local 101 model->addOperation(ANEURALNETWORKS_REDUCE_ANY, {input01, param2, param3}, {output01}); in CreateModel_dynamic_output_shape_2() 104 {input01}, in CreateModel_dynamic_output_shape_2()
|
D | reduce_all.model.cpp | 64 auto input01 = model->addOperand(&type3); in CreateModel_2() local 73 model->addOperation(ANEURALNETWORKS_REDUCE_ALL, {input01, param2, param3}, {output01}); in CreateModel_2() 76 {input01}, in CreateModel_2() 92 auto input01 = model->addOperand(&type3); in CreateModel_dynamic_output_shape_2() local 101 model->addOperation(ANEURALNETWORKS_REDUCE_ALL, {input01, param2, param3}, {output01}); in CreateModel_dynamic_output_shape_2() 104 {input01}, in CreateModel_dynamic_output_shape_2()
|
D | reduce_sum.model.cpp | 180 auto input01 = model->addOperand(&type4); in CreateModel_2() local 189 model->addOperation(ANEURALNETWORKS_REDUCE_SUM, {input01, param2, param3}, {output01}); in CreateModel_2() 192 {input01}, in CreateModel_2() 207 auto input01 = model->addOperand(&type4); in CreateModel_relaxed_2() local 216 model->addOperation(ANEURALNETWORKS_REDUCE_SUM, {input01, param2, param3}, {output01}); in CreateModel_relaxed_2() 219 {input01}, in CreateModel_relaxed_2() 236 auto input01 = model->addOperand(&type14); in CreateModel_float16_2() local 245 model->addOperation(ANEURALNETWORKS_REDUCE_SUM, {input01, param2, param3}, {output01}); in CreateModel_float16_2() 248 {input01}, in CreateModel_float16_2() 264 auto input01 = model->addOperand(&type4); in CreateModel_dynamic_output_shape_2() local [all …]
|
D | log_softmax.model.cpp | 177 auto input01 = model->addOperand(&type3); in CreateModel_2() local 186 model->addOperation(ANEURALNETWORKS_LOG_SOFTMAX, {input01, param2, param3}, {output01}); in CreateModel_2() 189 {input01}, in CreateModel_2() 204 auto input01 = model->addOperand(&type3); in CreateModel_relaxed_2() local 213 model->addOperation(ANEURALNETWORKS_LOG_SOFTMAX, {input01, param2, param3}, {output01}); in CreateModel_relaxed_2() 216 {input01}, in CreateModel_relaxed_2() 233 auto input01 = model->addOperand(&type9); in CreateModel_float16_2() local 242 model->addOperation(ANEURALNETWORKS_LOG_SOFTMAX, {input01, param2, param3}, {output01}); in CreateModel_float16_2() 245 {input01}, in CreateModel_float16_2() 261 auto input01 = model->addOperand(&type3); in CreateModel_dynamic_output_shape_2() local [all …]
|
D | reduce_prod.model.cpp | 180 auto input01 = model->addOperand(&type4); in CreateModel_2() local 189 model->addOperation(ANEURALNETWORKS_REDUCE_PROD, {input01, param2, param3}, {output01}); in CreateModel_2() 192 {input01}, in CreateModel_2() 207 auto input01 = model->addOperand(&type4); in CreateModel_relaxed_2() local 216 model->addOperation(ANEURALNETWORKS_REDUCE_PROD, {input01, param2, param3}, {output01}); in CreateModel_relaxed_2() 219 {input01}, in CreateModel_relaxed_2() 236 auto input01 = model->addOperand(&type14); in CreateModel_float16_2() local 245 model->addOperation(ANEURALNETWORKS_REDUCE_PROD, {input01, param2, param3}, {output01}); in CreateModel_float16_2() 248 {input01}, in CreateModel_float16_2() 264 auto input01 = model->addOperand(&type4); in CreateModel_dynamic_output_shape_2() local [all …]
|
D | reduce_min.model.cpp | 236 auto input01 = model->addOperand(&type4); in CreateModel_2() local 245 model->addOperation(ANEURALNETWORKS_REDUCE_MIN, {input01, param2, param3}, {output01}); in CreateModel_2() 248 {input01}, in CreateModel_2() 263 auto input01 = model->addOperand(&type4); in CreateModel_relaxed_2() local 272 model->addOperation(ANEURALNETWORKS_REDUCE_MIN, {input01, param2, param3}, {output01}); in CreateModel_relaxed_2() 275 {input01}, in CreateModel_relaxed_2() 292 auto input01 = model->addOperand(&type17); in CreateModel_float16_2() local 301 model->addOperation(ANEURALNETWORKS_REDUCE_MIN, {input01, param2, param3}, {output01}); in CreateModel_float16_2() 304 {input01}, in CreateModel_float16_2() 319 auto input01 = model->addOperand(&type18); in CreateModel_quant8_2() local [all …]
|
D | reduce_max.model.cpp | 236 auto input01 = model->addOperand(&type4); in CreateModel_2() local 245 model->addOperation(ANEURALNETWORKS_REDUCE_MAX, {input01, param2, param3}, {output01}); in CreateModel_2() 248 {input01}, in CreateModel_2() 263 auto input01 = model->addOperand(&type4); in CreateModel_relaxed_2() local 272 model->addOperation(ANEURALNETWORKS_REDUCE_MAX, {input01, param2, param3}, {output01}); in CreateModel_relaxed_2() 275 {input01}, in CreateModel_relaxed_2() 292 auto input01 = model->addOperand(&type17); in CreateModel_float16_2() local 301 model->addOperation(ANEURALNETWORKS_REDUCE_MAX, {input01, param2, param3}, {output01}); in CreateModel_float16_2() 304 {input01}, in CreateModel_float16_2() 319 auto input01 = model->addOperand(&type18); in CreateModel_quant8_2() local [all …]
|
D | gather.model.cpp | 288 auto input01 = model->addOperand(&type0); in CreateModel_2() local 297 model->addOperation(ANEURALNETWORKS_GATHER, {input01, param2, param3}, {output01}); in CreateModel_2() 300 {input01}, in CreateModel_2() 316 auto input01 = model->addOperand(&type0); in CreateModel_relaxed_2() local 325 model->addOperation(ANEURALNETWORKS_GATHER, {input01, param2, param3}, {output01}); in CreateModel_relaxed_2() 328 {input01}, in CreateModel_relaxed_2() 346 auto input01 = model->addOperand(&type13); in CreateModel_quant8_2() local 355 model->addOperation(ANEURALNETWORKS_GATHER, {input01, param2, param3}, {output01}); in CreateModel_quant8_2() 358 {input01}, in CreateModel_quant8_2() 374 auto input01 = model->addOperand(&type14); in CreateModel_int32_2() local [all …]
|
D | dequantize_v1_2.model.cpp | 131 auto input01 = model->addOperand(&type2); in CreateModel_2() local 134 model->addOperation(ANEURALNETWORKS_DEQUANTIZE, {input01}, {output01}); in CreateModel_2() 137 {input01}, in CreateModel_2() 151 auto input01 = model->addOperand(&type2); in CreateModel_relaxed_2() local 154 model->addOperation(ANEURALNETWORKS_DEQUANTIZE, {input01}, {output01}); in CreateModel_relaxed_2() 157 {input01}, in CreateModel_relaxed_2() 173 auto input01 = model->addOperand(&type2); in CreateModel_float16_2() local 176 model->addOperation(ANEURALNETWORKS_DEQUANTIZE, {input01}, {output01}); in CreateModel_float16_2() 179 {input01}, in CreateModel_float16_2() 193 auto input01 = model->addOperand(&type2); in CreateModel_dynamic_output_shape_2() local [all …]
|
D | sub_v1_2_broadcast.model.cpp | 416 auto input01 = model->addOperand(&type3); in CreateModel_quant8() local 423 model->addOperation(ANEURALNETWORKS_SUB, {input01, input11, param}, {output01}); in CreateModel_quant8() 426 {input01, input11}, in CreateModel_quant8() 442 auto input01 = model->addOperand(&type3); in CreateModel_quant8_dynamic_output_shape() local 449 model->addOperation(ANEURALNETWORKS_SUB, {input01, input11, param}, {output01}); in CreateModel_quant8_dynamic_output_shape() 452 {input01, input11}, in CreateModel_quant8_dynamic_output_shape()
|
D | tanh_v1_2.model.cpp | 46 auto input01 = model->addOperand(&type1); in CreateModel_2() local 49 model->addOperation(ANEURALNETWORKS_TANH, {input01}, {output01}); in CreateModel_2() 52 {input01}, in CreateModel_2() 66 auto input01 = model->addOperand(&type1); in CreateModel_dynamic_output_shape_2() local 69 model->addOperation(ANEURALNETWORKS_TANH, {input01}, {output01}); in CreateModel_dynamic_output_shape_2() 72 {input01}, in CreateModel_dynamic_output_shape_2()
|
D | quantize.model.cpp | 47 auto input01 = model->addOperand(&type0); in CreateModel_quant8_2() local 50 model->addOperation(ANEURALNETWORKS_QUANTIZE, {input01}, {output01}); in CreateModel_quant8_2() 53 {input01}, in CreateModel_quant8_2() 67 auto input01 = model->addOperand(&type0); in CreateModel_dynamic_output_shape_quant8_2() local 70 model->addOperation(ANEURALNETWORKS_QUANTIZE, {input01}, {output01}); in CreateModel_dynamic_output_shape_quant8_2() 73 {input01}, in CreateModel_dynamic_output_shape_quant8_2()
|
D | sub_v1_2.model.cpp | 399 auto input01 = model->addOperand(&type2); in CreateModel_quant8() local 406 model->addOperation(ANEURALNETWORKS_SUB, {input01, input11, param}, {output01}); in CreateModel_quant8() 409 {input01, input11}, in CreateModel_quant8() 424 auto input01 = model->addOperand(&type2); in CreateModel_quant8_dynamic_output_shape() local 431 model->addOperation(ANEURALNETWORKS_SUB, {input01, input11, param}, {output01}); in CreateModel_quant8_dynamic_output_shape() 434 {input01, input11}, in CreateModel_quant8_dynamic_output_shape()
|