Home
last modified time | relevance | path

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

12

/frameworks/ml/nn/runtime/test/
DTestCompliance.cpp95 auto op2 = model.addOperand(&kTypeTensorFloatRank0); in TEST_F() local
98 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F()
99 model.identifyInputsAndOutputs({op1, op2}, {op3}); in TEST_F()
109 auto op2 = model.addOperand(&kTypeTensorFloat); in TEST_F() local
112 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F()
113 model.identifyInputsAndOutputs({op1, op2}, {op3}); in TEST_F()
123 auto op2 = model.addOperand(&kTypeTensorFloat); in TEST_F() local
128 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F()
130 model.identifyInputsAndOutputs({op1, op2, op4}, {op5}); in TEST_F()
154 auto op2 = model.addOperand(&kTypeTensorFloat); in TEST_F() local
[all …]
DTestMemoryInternal.cpp198 auto op2 = model.addOperand(&type1); in TEST_F() local
207 model.setOperandValue(op2, op2_init, sizeof(op2_init)); in TEST_F()
217 {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in TEST_F()
DTestIntrospectionControl.cpp206 auto op2 = model->addOperand(&type0); in createSimpleAddModel() local
212 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createSimpleAddModel()
214 model->identifyInputsAndOutputs({op1, op2}, {op3}); in createSimpleAddModel()
1121 auto op2 = model->addOperand(&type0); in createAddMaxModel() local
1134 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMaxModel()
1136 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMaxModel()
1140 model->identifyInputsAndOutputs({op1, op2}, {op5}); in createAddMaxModel()
1184 auto op2 = model->addOperand(&type0); in createAddMulModel() local
1197 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMulModel()
1199 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMulModel()
[all …]
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dargmax_b155660285.mod.py19 op2 = Output("op2", ["TENSOR_INT32", [1]]) variable
23 model.Operation("ARGMAX", op1, 0).To(op2)
28 op2: [2],
Dargmin_b155660285.mod.py19 op2 = Output("op2", ["TENSOR_INT32", [1]]) variable
23 model.Operation("ARGMIN", op1, 0).To(op2)
28 op2: [2],
Dreduce_prod_b155508675.mod.py19 op2 = Output("op2", ["TENSOR_FLOAT32", [1]]) variable
23 model.Operation("REDUCE_PROD", op1, [0, 1, 2], False).To(op2)
28 op2: [3.0],
Dreduce_max_b155508675.mod.py19 op2 = Output("op2", ["TENSOR_FLOAT32", [1]]) variable
23 model.Operation("REDUCE_MAX", op1, [0, 1, 2], False).To(op2)
28 op2: [3.0],
Dreduce_min_b155508675.mod.py19 op2 = Output("op2", ["TENSOR_FLOAT32", [1]]) variable
23 model.Operation("REDUCE_MIN", op1, [0, 1, 2], False).To(op2)
28 op2: [3.0],
Dreduce_sum_b155508675.mod.py19 op2 = Output("op2", ["TENSOR_FLOAT32", [1]]) variable
23 model.Operation("REDUCE_SUM", op1, [0, 1, 2], False).To(op2)
28 op2: [3.0],
Dreduce_any_b155508675.mod.py19 op2 = Output("op2", ["TENSOR_BOOL8", [1]]) variable
23 model.Operation("REDUCE_ANY", op1, [0, 1, 2], False).To(op2)
28 op2: [False],
Dreduce_all_b155508675.mod.py19 op2 = Output("op2", ["TENSOR_BOOL8", [1]]) variable
23 model.Operation("REDUCE_ALL", op1, [0, 1, 2], False).To(op2)
28 op2: [False],
/frameworks/ml/nn/runtime/test/specs/V1_1/
Dmean_b155508675.mod.py19 op2 = Output("op2", ["TENSOR_FLOAT32", [1]]) variable
23 model.Operation("MEAN", op1, [0, 1, 2], 0).To(op2)
28 op2: [3.0],
Dstrided_slice_b155662254.mod.py19 op2 = Output("op2", ["TENSOR_FLOAT32", [1]]) variable
23 model.Operation("STRIDED_SLICE", op1, [0], [1], [1], 0, 0, 1).To(op2)
28 op2: [0.0],
Dsqueeze_b155238914.mod.py18 op2 = Parameter("op2", ["TENSOR_INT32", [0]], value=None) # omitted variable
23 model.Operation("SQUEEZE", op1, op2).To(op3)
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java67 SyncOperation op2 = new SyncOperation(account1, 0, in testToKey() local
102 assertEquals(op1.key, op2.key); in testToKey()
124 SyncOperation op2 = SyncOperation.maybeCreateFromJobExtras(pb); in testConversionToExtras() local
127 account1.equals(op2.getClonedExtras().get("acc"))); in testConversionToExtras()
129 op2.getClonedExtras().getString("str"))); in testConversionToExtras()
/frameworks/ml/nn/tools/test_generator/tests/P_variation/
Dstdout.txt.expect23 auto op2 = model->addOperand(&type1);
33 model->setOperandValue(op2, op2_init, sizeof(float) * 16);
46 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, …
96 auto op2 = model->addOperand(&type1);
106 model->setOperandValue(op2, op2_init, sizeof(float) * 16);
119 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, …
175 auto op2 = model->addOperand(&type5);
185 model->setOperandValue(op2, op2_init, sizeof(uint8_t) * 16);
198 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, …
252 auto op2 = model->addOperand(&type1);
[all …]
/frameworks/ml/nn/tools/test_generator/tests/P_implicit_variation/
Dstdout.txt.expect23 auto op2 = model->addOperand(&type1);
33 model->setOperandValue(op2, op2_init, sizeof(float) * 16);
46 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, …
96 auto op2 = model->addOperand(&type1);
106 model->setOperandValue(op2, op2_init, sizeof(float) * 16);
119 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, …
175 auto op2 = model->addOperand(&type5);
185 model->setOperandValue(op2, op2_init, sizeof(uint8_t) * 16);
198 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, …
252 auto op2 = model->addOperand(&type1);
[all …]
/frameworks/ml/nn/tools/test_generator/tests/P_naming/
Dstdout.txt.expect23 auto op2 = model->addOperand(&type1);
33 model->setOperandValue(op2, op2_init, sizeof(float) * 16);
46 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, …
96 auto op2 = model->addOperand(&type1);
106 model->setOperandValue(op2, op2_init, sizeof(float) * 16);
119 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, …
175 auto op2 = model->addOperand(&type5);
185 model->setOperandValue(op2, op2_init, sizeof(uint8_t) * 16);
198 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, …
252 auto op2 = model->addOperand(&type1);
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Ddct_inline.h27 __inline int32 mla724(int32 op1, int32 op2, int32 op3) in mla724() argument
33 out = op2 * 724 + op3; /* op1 is not used here */ in mla724()
111 __inline int32 mla724(int32 op1, int32 op2, int32 op3) in mla724() argument
117 smlabb out, op1, op2, op3 in mla724()
174 __inline int32 mla724(int32 op1, int32 op2, int32 op3) in mla724() argument
180 and out, op2, #0xFFFF in mla724()
269 __inline int32 mla724(int32 op1, int32 op2, int32 op3) in mla724() argument
273 register int32 bb = (int32)op2; in mla724()
/frameworks/ml/nn/tools/test_generator/tests/P_backward_compatibility_quant8/
Dstdout.txt.expect23 auto op2 = model->addOperand(&type0);
39 …model->addOperation(ANEURALNETWORKS_DEPTHWISE_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, str…
42 {op1, op2, op3},
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java94 private void assertSameModes(SparseArray<AppOpsService.UidState> uidStates, int op1, int op2) { in assertSameModes() argument
97 final int defaultModeOp2 = AppOpsManager.opToDefaultMode(op2); in assertSameModes()
102 final int uidMode2 = uidState.opModes.get(op2, defaultModeOp2); in assertSameModes()
117 final AppOpsService.Op _op2 = ops.get(op2); in assertSameModes()
/frameworks/ml/nn/tools/test_generator/tests/P_float/
Dstdout.txt.expect23 auto op2 = model->addOperand(&type1);
31 model->setOperandValue(op2, op2_init, sizeof(float) * 4);
40 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, strid…
/frameworks/ml/nn/tools/test_generator/tests/P_quant8/
Dstdout.txt.expect23 auto op2 = model->addOperand(&type1);
31 model->setOperandValue(op2, op2_init, sizeof(float) * 4);
40 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, strid…
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java1023 @PixelFormat.Opacity int op2) { in resolveOpacity() argument
1024 if (op1 == op2) { in resolveOpacity()
1027 if (op1 == PixelFormat.UNKNOWN || op2 == PixelFormat.UNKNOWN) { in resolveOpacity()
1030 if (op1 == PixelFormat.TRANSLUCENT || op2 == PixelFormat.TRANSLUCENT) { in resolveOpacity()
1033 if (op1 == PixelFormat.TRANSPARENT || op2 == PixelFormat.TRANSPARENT) { in resolveOpacity()
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java164 ContentProviderOperation op2 = ContentProviderOperation.newAssertQuery(sTestUri1) in testAssertNoValues() local
169 ContentProviderResult result = op2.apply(new TestContentProvider() { in testAssertNoValues()

12