/frameworks/ml/nn/runtime/test/ |
D | TestCompliance.cpp | 73 auto op3 = model->addOperand(&kTypeTensorFloat); in TEST_F() local 75 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F() 76 model->identifyInputsAndOutputs({op1, op2}, {op3}); in TEST_F() 88 auto op3 = model->addOperand(&kTypeTensorFloatRank0); in TEST_F() local 90 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F() 91 model->identifyInputsAndOutputs({op1, op2}, {op3}); in TEST_F() 102 auto op3 = model->addOperand(&kTypeTensorFloatRank0); in TEST_F() local 107 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F() 108 model->addOperation(ANEURALNETWORKS_ADD, {op3, op4, act}, {op5}); in TEST_F() 136 auto op3 = model->addOperand(&kTypeTensorFloat); in TEST_F() local [all …]
|
/frameworks/ml/nn/runtime/test/generated/models/ |
D | logistic_float_1.model.cpp | 7 auto op3 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_LOGISTIC, {op1}, {op3}); in CreateModel() 13 {op3}); in CreateModel() 27 auto op3 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_LOGISTIC, {op1}, {op3}); in CreateModel_dynamic_output_shape() 33 {op3}); in CreateModel_dynamic_output_shape()
|
D | logistic_quant8_1.model.cpp | 8 auto op3 = model->addOperand(&type1); in CreateModel() local 10 model->addOperation(ANEURALNETWORKS_LOGISTIC, {op1}, {op3}); in CreateModel() 14 {op3}); in CreateModel() 28 auto op3 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 30 model->addOperation(ANEURALNETWORKS_LOGISTIC, {op1}, {op3}); in CreateModel_dynamic_output_shape() 34 {op3}); in CreateModel_dynamic_output_shape()
|
D | logistic_float_1_relaxed.model.cpp | 7 auto op3 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_LOGISTIC, {op1}, {op3}); in CreateModel() 13 {op3}); in CreateModel() 29 auto op3 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 31 model->addOperation(ANEURALNETWORKS_LOGISTIC, {op1}, {op3}); in CreateModel_dynamic_output_shape() 35 {op3}); in CreateModel_dynamic_output_shape()
|
D | reshape_weights_as_inputs.model.cpp | 10 auto op3 = model->addOperand(&type2); in CreateModel() local 12 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel() 16 {op3}); in CreateModel() 32 auto op3 = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local 34 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel_dynamic_output_shape() 38 {op3}); in CreateModel_dynamic_output_shape()
|
D | reshape_quant8_weights_as_inputs.model.cpp | 10 auto op3 = model->addOperand(&type2); in CreateModel() local 12 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel() 16 {op3}); in CreateModel() 32 auto op3 = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local 34 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel_dynamic_output_shape() 38 {op3}); in CreateModel_dynamic_output_shape()
|
D | reshape_weights_as_inputs_relaxed.model.cpp | 10 auto op3 = model->addOperand(&type2); in CreateModel() local 12 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel() 16 {op3}); in CreateModel() 34 auto op3 = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local 36 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel_dynamic_output_shape() 40 {op3}); in CreateModel_dynamic_output_shape()
|
D | reshape.model.cpp | 10 auto op3 = model->addOperand(&type2); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 34 auto op3 = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local 38 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel_dynamic_output_shape() 42 {op3}); in CreateModel_dynamic_output_shape()
|
D | pad_float_1_relaxed.model.cpp | 10 auto op3 = model->addOperand(&type2); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_PAD, {op1, op2}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 36 auto op3 = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local 40 model->addOperation(ANEURALNETWORKS_PAD, {op1, op2}, {op3}); in CreateModel_dynamic_output_shape() 44 {op3}); in CreateModel_dynamic_output_shape()
|
D | pad_relaxed.model.cpp | 10 auto op3 = model->addOperand(&type2); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_PAD, {op1, op2}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 36 auto op3 = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local 40 model->addOperation(ANEURALNETWORKS_PAD, {op1, op2}, {op3}); in CreateModel_dynamic_output_shape() 44 {op3}); in CreateModel_dynamic_output_shape()
|
D | reshape_relaxed.model.cpp | 10 auto op3 = model->addOperand(&type2); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 36 auto op3 = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local 40 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel_dynamic_output_shape() 44 {op3}); in CreateModel_dynamic_output_shape()
|
D | reshape_float16.model.cpp | 10 auto op3 = model->addOperand(&type2); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 34 auto op3 = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local 38 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel_dynamic_output_shape() 42 {op3}); in CreateModel_dynamic_output_shape()
|
D | pad.model.cpp | 10 auto op3 = model->addOperand(&type2); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_PAD, {op1, op2}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 34 auto op3 = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local 38 model->addOperation(ANEURALNETWORKS_PAD, {op1, op2}, {op3}); in CreateModel_dynamic_output_shape() 42 {op3}); in CreateModel_dynamic_output_shape()
|
D | reshape_quant8.model.cpp | 10 auto op3 = model->addOperand(&type2); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 34 auto op3 = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local 38 model->addOperation(ANEURALNETWORKS_RESHAPE, {op1, op2}, {op3}); in CreateModel_dynamic_output_shape() 42 {op3}); in CreateModel_dynamic_output_shape()
|
D | pad_float_1.model.cpp | 10 auto op3 = model->addOperand(&type2); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_PAD, {op1, op2}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 34 auto op3 = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local 38 model->addOperation(ANEURALNETWORKS_PAD, {op1, op2}, {op3}); in CreateModel_dynamic_output_shape() 42 {op3}); in CreateModel_dynamic_output_shape()
|
D | pad_float16.model.cpp | 10 auto op3 = model->addOperand(&type2); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_PAD, {op1, op2}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 34 auto op3 = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local 38 model->addOperation(ANEURALNETWORKS_PAD, {op1, op2}, {op3}); in CreateModel_dynamic_output_shape() 42 {op3}); in CreateModel_dynamic_output_shape()
|
D | div.model.cpp | 10 auto op3 = model->addOperand(&type0); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_DIV, {op1, op2, act}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 35 auto op3 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 39 model->addOperation(ANEURALNETWORKS_DIV, {op1, op2, act}, {op3}); in CreateModel_dynamic_output_shape() 43 {op3}); in CreateModel_dynamic_output_shape()
|
D | mul.model.cpp | 10 auto op3 = model->addOperand(&type0); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_MUL, {op1, op2, act}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 35 auto op3 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 39 model->addOperation(ANEURALNETWORKS_MUL, {op1, op2, act}, {op3}); in CreateModel_dynamic_output_shape() 43 {op3}); in CreateModel_dynamic_output_shape()
|
D | mul_relu.model.cpp | 10 auto op3 = model->addOperand(&type0); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_MUL, {op1, op2, act}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 35 auto op3 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 39 model->addOperation(ANEURALNETWORKS_MUL, {op1, op2, act}, {op3}); in CreateModel_dynamic_output_shape() 43 {op3}); in CreateModel_dynamic_output_shape()
|
D | add.model.cpp | 10 auto op3 = model->addOperand(&type0); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 35 auto op3 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 39 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in CreateModel_dynamic_output_shape() 43 {op3}); in CreateModel_dynamic_output_shape()
|
D | div_relaxed.model.cpp | 10 auto op3 = model->addOperand(&type0); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_DIV, {op1, op2, act}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 37 auto op3 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 41 model->addOperation(ANEURALNETWORKS_DIV, {op1, op2, act}, {op3}); in CreateModel_dynamic_output_shape() 45 {op3}); in CreateModel_dynamic_output_shape()
|
D | mul_relaxed.model.cpp | 10 auto op3 = model->addOperand(&type0); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_MUL, {op1, op2, act}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 37 auto op3 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 41 model->addOperation(ANEURALNETWORKS_MUL, {op1, op2, act}, {op3}); in CreateModel_dynamic_output_shape() 45 {op3}); in CreateModel_dynamic_output_shape()
|
D | mul_quant8.model.cpp | 11 auto op3 = model->addOperand(&type2); in CreateModel() local 15 model->addOperation(ANEURALNETWORKS_MUL, {op1, op2, act}, {op3}); in CreateModel() 19 {op3}); in CreateModel() 36 auto op3 = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local 40 model->addOperation(ANEURALNETWORKS_MUL, {op1, op2, act}, {op3}); in CreateModel_dynamic_output_shape() 44 {op3}); in CreateModel_dynamic_output_shape()
|
D | sub_relaxed.model.cpp | 10 auto op3 = model->addOperand(&type0); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_SUB, {op1, op2, act}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 37 auto op3 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 41 model->addOperation(ANEURALNETWORKS_SUB, {op1, op2, act}, {op3}); in CreateModel_dynamic_output_shape() 45 {op3}); in CreateModel_dynamic_output_shape()
|
D | add_relaxed.model.cpp | 10 auto op3 = model->addOperand(&type0); in CreateModel() local 14 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in CreateModel() 18 {op3}); in CreateModel() 37 auto op3 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 41 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in CreateModel_dynamic_output_shape() 45 {op3}); in CreateModel_dynamic_output_shape()
|