Home
last modified time | relevance | path

Searched refs:op2 (Results 1 – 25 of 165) sorted by relevance

1234567

/frameworks/ml/nn/runtime/test/generated/models/
Dl2_normalization_v1_2.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel_dim4_axis3() local
9 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dim4_axis3()
13 {op2}); in CreateModel_dim4_axis3()
26 auto op2 = model->addOperand(&type0); in CreateModel_dim4_axis3_relaxed() local
28 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dim4_axis3_relaxed()
32 {op2}); in CreateModel_dim4_axis3_relaxed()
47 auto op2 = model->addOperand(&type2); in CreateModel_dim4_axis3_float16() local
49 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dim4_axis3_float16()
53 {op2}); in CreateModel_dim4_axis3_float16()
67 auto op2 = model->addOperand(&type4); in CreateModel_dim4_axis3_quant8() local
[all …]
Dl2_normalization_axis.model.cpp9 auto op2 = model->addOperand(&type2); in CreateModel_dim4_axis0() local
13 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1, axis}, {op2}); in CreateModel_dim4_axis0()
17 {op2}); in CreateModel_dim4_axis0()
32 auto op2 = model->addOperand(&type2); in CreateModel_dim4_axis0_relaxed() local
36 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1, axis}, {op2}); in CreateModel_dim4_axis0_relaxed()
40 {op2}); in CreateModel_dim4_axis0_relaxed()
57 auto op2 = model->addOperand(&type3); in CreateModel_dim4_axis0_float16() local
61 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1, axis}, {op2}); in CreateModel_dim4_axis0_float16()
65 {op2}); in CreateModel_dim4_axis0_float16()
81 auto op2 = model->addOperand(&type5); in CreateModel_dim4_axis0_quant8() local
[all …]
Dsoftmax_v1_2.model.cpp9 auto op2 = model->addOperand(&type0); in CreateModel() local
13 model->addOperation(ANEURALNETWORKS_SOFTMAX, {op1, param}, {op2}); in CreateModel()
17 {op2}); in CreateModel()
32 auto op2 = model->addOperand(&type12); in CreateModel_dim1_axis0() local
36 model->addOperation(ANEURALNETWORKS_SOFTMAX, {op1, param}, {op2}); in CreateModel_dim1_axis0()
40 {op2}); in CreateModel_dim1_axis0()
55 auto op2 = model->addOperand(&type13); in CreateModel_dim3_axis2() local
59 model->addOperation(ANEURALNETWORKS_SOFTMAX, {op1, param}, {op2}); in CreateModel_dim3_axis2()
63 {op2}); in CreateModel_dim3_axis2()
78 auto op2 = model->addOperand(&type0); in CreateModel_relaxed() local
[all …]
Drelu_quant8_1.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_RELU, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
27 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
29 model->addOperation(ANEURALNETWORKS_RELU, {op1}, {op2}); in CreateModel_dynamic_output_shape()
33 {op2}); in CreateModel_dynamic_output_shape()
46 auto op2 = model->addOperand(&type0); in CreateModel_2() local
48 model->addOperation(ANEURALNETWORKS_RELU, {op1}, {op2}); in CreateModel_2()
52 {op2}); in CreateModel_2()
66 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape_2() local
[all …]
Drelu1_quant8_1.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
27 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
29 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel_dynamic_output_shape()
33 {op2}); in CreateModel_dynamic_output_shape()
46 auto op2 = model->addOperand(&type0); in CreateModel_2() local
48 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel_2()
52 {op2}); in CreateModel_2()
66 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape_2() local
[all …]
Drelu6_quant8_1.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
27 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
29 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel_dynamic_output_shape()
33 {op2}); in CreateModel_dynamic_output_shape()
46 auto op2 = model->addOperand(&type0); in CreateModel_2() local
48 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel_2()
52 {op2}); in CreateModel_2()
66 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape_2() local
[all …]
Dl2_normalization_2.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
27 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
29 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dynamic_output_shape()
33 {op2}); in CreateModel_dynamic_output_shape()
Dfloor_float16.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_FLOOR, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
27 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
29 model->addOperation(ANEURALNETWORKS_FLOOR, {op1}, {op2}); in CreateModel_dynamic_output_shape()
33 {op2}); in CreateModel_dynamic_output_shape()
Dfloor.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_FLOOR, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
27 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
29 model->addOperation(ANEURALNETWORKS_FLOOR, {op1}, {op2}); in CreateModel_dynamic_output_shape()
33 {op2}); in CreateModel_dynamic_output_shape()
Dl2_normalization_large.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
27 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
29 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dynamic_output_shape()
33 {op2}); in CreateModel_dynamic_output_shape()
Drelu1_float_1.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
27 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
29 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel_dynamic_output_shape()
33 {op2}); in CreateModel_dynamic_output_shape()
Dtanh.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_TANH, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
27 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
29 model->addOperation(ANEURALNETWORKS_TANH, {op1}, {op2}); in CreateModel_dynamic_output_shape()
33 {op2}); in CreateModel_dynamic_output_shape()
Drelu6_float_1.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
27 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
29 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel_dynamic_output_shape()
33 {op2}); in CreateModel_dynamic_output_shape()
Drelu_float_1.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_RELU, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
27 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
29 model->addOperation(ANEURALNETWORKS_RELU, {op1}, {op2}); in CreateModel_dynamic_output_shape()
33 {op2}); in CreateModel_dynamic_output_shape()
Dl2_normalization.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
27 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
29 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dynamic_output_shape()
33 {op2}); in CreateModel_dynamic_output_shape()
Drelu1_float_1_relaxed.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
29 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
31 model->addOperation(ANEURALNETWORKS_RELU1, {op1}, {op2}); in CreateModel_dynamic_output_shape()
35 {op2}); in CreateModel_dynamic_output_shape()
Dl2_normalization_large_relaxed.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
29 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
31 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dynamic_output_shape()
35 {op2}); in CreateModel_dynamic_output_shape()
Ddequantize.model.cpp8 auto op2 = model->addOperand(&type1); in CreateModel() local
10 model->addOperation(ANEURALNETWORKS_DEQUANTIZE, {op1}, {op2}); in CreateModel()
14 {op2}); in CreateModel()
28 auto op2 = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local
30 model->addOperation(ANEURALNETWORKS_DEQUANTIZE, {op1}, {op2}); in CreateModel_dynamic_output_shape()
34 {op2}); in CreateModel_dynamic_output_shape()
Dl2_normalization_2_relaxed.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
29 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
31 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dynamic_output_shape()
35 {op2}); in CreateModel_dynamic_output_shape()
Dtanh_relaxed.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_TANH, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
29 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
31 model->addOperation(ANEURALNETWORKS_TANH, {op1}, {op2}); in CreateModel_dynamic_output_shape()
35 {op2}); in CreateModel_dynamic_output_shape()
Drelu6_float_1_relaxed.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
29 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
31 model->addOperation(ANEURALNETWORKS_RELU6, {op1}, {op2}); in CreateModel_dynamic_output_shape()
35 {op2}); in CreateModel_dynamic_output_shape()
Dfloor_relaxed.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_FLOOR, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
29 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
31 model->addOperation(ANEURALNETWORKS_FLOOR, {op1}, {op2}); in CreateModel_dynamic_output_shape()
35 {op2}); in CreateModel_dynamic_output_shape()
Dl2_normalization_relaxed.model.cpp7 auto op2 = model->addOperand(&type0); in CreateModel() local
9 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel()
13 {op2}); in CreateModel()
29 auto op2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
31 model->addOperation(ANEURALNETWORKS_L2_NORMALIZATION, {op1}, {op2}); in CreateModel_dynamic_output_shape()
35 {op2}); in CreateModel_dynamic_output_shape()
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java174 ContentProviderOperation op2 = ContentProviderOperation.newAssertQuery(sTestUri1) in testAssertNoValues() local
179 ContentProviderResult result = op2.apply(new TestContentProvider() { in testAssertNoValues()
286 ContentProviderOperation op2; in testParcelingOperation() local
314 op2 = ContentProviderOperation.CREATOR.createFromParcel(parcel); in testParcelingOperation()
316 assertEquals(ContentProviderOperation.TYPE_INSERT, operationGetType(op2)); in testParcelingOperation()
317 assertEquals("content://goo/bar", operationGetUri(op2).toString()); in testParcelingOperation()
318 assertEquals(Integer.valueOf(42), operationGetExpectedCount(op2)); in testParcelingOperation()
319 assertEquals("selection", operationGetSelection(op2)); in testParcelingOperation()
320 assertEquals(2, operationGetSelectionArgs(op2).length); in testParcelingOperation()
321 assertEquals("a", operationGetSelectionArgs(op2)[0]); in testParcelingOperation()
[all …]
/frameworks/ml/nn/runtime/test/
DTestCompliance.cpp71 auto op2 = 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()
86 auto op2 = 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()
101 auto op2 = 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()
134 auto op2 = model->addOperand(&kTypeTensorFloat); in TEST_F() local
[all …]

1234567