/frameworks/ml/nn/runtime/test/generated/models/ |
D | l2_normalization_v1_2.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel_dim4_axis3() local 9 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dim4_axis3() 12 {op1}, in CreateModel_dim4_axis3() 25 auto op1 = model->addOperand(&type0); in CreateModel_dim4_axis3_relaxed() local 28 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dim4_axis3_relaxed() 31 {op1}, in CreateModel_dim4_axis3_relaxed() 46 auto op1 = model->addOperand(&type2); in CreateModel_dim4_axis3_float16() local 49 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dim4_axis3_float16() 52 {op1}, in CreateModel_dim4_axis3_float16() 66 auto op1 = model->addOperand(&type3); in CreateModel_dim4_axis3_quant8() local [all …]
|
D | l2_normalization_axis.model.cpp | 7 auto op1 = model->addOperand(&type2); in CreateModel_dim4_axis0() local 13 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1, axis}, {op2}); in CreateModel_dim4_axis0() 16 {op1}, in CreateModel_dim4_axis0() 30 auto op1 = model->addOperand(&type2); in CreateModel_dim4_axis0_relaxed() local 36 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1, axis}, {op2}); in CreateModel_dim4_axis0_relaxed() 39 {op1}, in CreateModel_dim4_axis0_relaxed() 55 auto op1 = model->addOperand(&type3); in CreateModel_dim4_axis0_float16() local 61 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1, axis}, {op2}); in CreateModel_dim4_axis0_float16() 64 {op1}, in CreateModel_dim4_axis0_float16() 79 auto op1 = model->addOperand(&type4); in CreateModel_dim4_axis0_quant8() local [all …]
|
D | softmax_v1_2.model.cpp | 7 auto op1 = model->addOperand(&type0); in CreateModel() local 13 model->addOperation(ANEURALNETWORKS_SOFTMAX, {op1, param}, {op2}); in CreateModel() 16 {op1}, in CreateModel() 30 auto op1 = model->addOperand(&type12); in CreateModel_dim1_axis0() local 36 model->addOperation(ANEURALNETWORKS_SOFTMAX, {op1, param}, {op2}); in CreateModel_dim1_axis0() 39 {op1}, in CreateModel_dim1_axis0() 53 auto op1 = model->addOperand(&type13); in CreateModel_dim3_axis2() local 59 model->addOperation(ANEURALNETWORKS_SOFTMAX, {op1, param}, {op2}); in CreateModel_dim3_axis2() 62 {op1}, in CreateModel_dim3_axis2() 76 auto op1 = model->addOperand(&type0); in CreateModel_relaxed() local [all …]
|
D | relu_quant8_1.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_RELU, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 26 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_RELU, {op1}, {op2}); in CreateModel_dynamic_output_shape() 32 {op1}, in CreateModel_dynamic_output_shape() 45 auto op1 = model->addOperand(&type0); in CreateModel_2() local 48 model->addOperation(ANEURALNETWORKS_RELU, {op1}, {op2}); in CreateModel_2() 51 {op1}, in CreateModel_2() 65 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape_2() local [all …]
|
D | relu1_quant8_1.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 26 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel_dynamic_output_shape() 32 {op1}, in CreateModel_dynamic_output_shape() 45 auto op1 = model->addOperand(&type0); in CreateModel_2() local 48 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel_2() 51 {op1}, in CreateModel_2() 65 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape_2() local [all …]
|
D | relu6_quant8_1.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 26 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel_dynamic_output_shape() 32 {op1}, in CreateModel_dynamic_output_shape() 45 auto op1 = model->addOperand(&type0); in CreateModel_2() local 48 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel_2() 51 {op1}, in CreateModel_2() 65 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape_2() local [all …]
|
D | l2_normalization_2.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 26 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dynamic_output_shape() 32 {op1}, in CreateModel_dynamic_output_shape()
|
D | floor_float16.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_FLOOR, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 26 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_FLOOR, {op1}, {op2}); in CreateModel_dynamic_output_shape() 32 {op1}, in CreateModel_dynamic_output_shape()
|
D | floor.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_FLOOR, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 26 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_FLOOR, {op1}, {op2}); in CreateModel_dynamic_output_shape() 32 {op1}, in CreateModel_dynamic_output_shape()
|
D | logistic_float_1.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_LOGISTIC, {op1}, {op3}); in CreateModel() 12 {op1}, in CreateModel() 26 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_LOGISTIC, {op1}, {op3}); in CreateModel_dynamic_output_shape() 32 {op1}, in CreateModel_dynamic_output_shape()
|
D | l2_normalization_large.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 26 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dynamic_output_shape() 32 {op1}, in CreateModel_dynamic_output_shape()
|
D | relu1_float_1.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 26 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel_dynamic_output_shape() 32 {op1}, in CreateModel_dynamic_output_shape()
|
D | tanh.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_TANH, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 26 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_TANH, {op1}, {op2}); in CreateModel_dynamic_output_shape() 32 {op1}, in CreateModel_dynamic_output_shape()
|
D | relu6_float_1.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 26 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel_dynamic_output_shape() 32 {op1}, in CreateModel_dynamic_output_shape()
|
D | relu_float_1.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_RELU, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 26 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_RELU, {op1}, {op2}); in CreateModel_dynamic_output_shape() 32 {op1}, in CreateModel_dynamic_output_shape()
|
D | l2_normalization.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 26 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 29 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dynamic_output_shape() 32 {op1}, in CreateModel_dynamic_output_shape()
|
D | relu1_float_1_relaxed.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 28 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 31 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel_dynamic_output_shape() 34 {op1}, in CreateModel_dynamic_output_shape()
|
D | l2_normalization_large_relaxed.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 28 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 31 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dynamic_output_shape() 34 {op1}, in CreateModel_dynamic_output_shape()
|
D | logistic_quant8_1.model.cpp | 7 auto op1 = model->addOperand(&type0); in CreateModel() local 10 model->addOperation(ANEURALNETWORKS_LOGISTIC, {op1}, {op3}); in CreateModel() 13 {op1}, in CreateModel() 27 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 30 model->addOperation(ANEURALNETWORKS_LOGISTIC, {op1}, {op3}); in CreateModel_dynamic_output_shape() 33 {op1}, in CreateModel_dynamic_output_shape()
|
D | dequantize.model.cpp | 7 auto op1 = model->addOperand(&type0); in CreateModel() local 10 model->addOperation(ANEURALNETWORKS_DEQUANTIZE, {op1}, {op2}); in CreateModel() 13 {op1}, in CreateModel() 27 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 30 model->addOperation(ANEURALNETWORKS_DEQUANTIZE, {op1}, {op2}); in CreateModel_dynamic_output_shape() 33 {op1}, in CreateModel_dynamic_output_shape()
|
D | l2_normalization_2_relaxed.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 28 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 31 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dynamic_output_shape() 34 {op1}, in CreateModel_dynamic_output_shape()
|
D | tanh_relaxed.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_TANH, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 28 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 31 model->addOperation(ANEURALNETWORKS_TANH, {op1}, {op2}); in CreateModel_dynamic_output_shape() 34 {op1}, in CreateModel_dynamic_output_shape()
|
D | relu6_float_1_relaxed.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel() 12 {op1}, in CreateModel() 28 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 31 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel_dynamic_output_shape() 34 {op1}, in CreateModel_dynamic_output_shape()
|
D | logistic_float_1_relaxed.model.cpp | 6 auto op1 = model->addOperand(&type0); in CreateModel() local 9 model->addOperation(ANEURALNETWORKS_LOGISTIC, {op1}, {op3}); in CreateModel() 12 {op1}, in CreateModel() 28 auto op1 = model->addOperand(&type0); in CreateModel_dynamic_output_shape() local 31 model->addOperation(ANEURALNETWORKS_LOGISTIC, {op1}, {op3}); in CreateModel_dynamic_output_shape() 34 {op1}, in CreateModel_dynamic_output_shape()
|
/frameworks/ml/nn/runtime/test/ |
D | TestCompliance.cpp | 70 auto op1 = model->addOperand(&kTypeTensorFloatRank0); 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() 85 auto op1 = model->addOperand(&kTypeTensorFloat); 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() 100 auto op1 = model->addOperand(&kTypeTensorFloat); in TEST_F() local 107 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F() 109 model->identifyInputsAndOutputs({op1, op2, op4}, {op5}); in TEST_F() 133 auto op1 = model->addOperand(&kTypeTensorFloat); in TEST_F() local [all …]
|