/frameworks/ml/nn/tools/test_generator/tests/P_internal/ |
D | stdout.txt.expect | 46 model->addOperation(ANEURALNETWORKS_ADD, {i6, p0, act}, {t5}); 47 model->addOperation(ANEURALNETWORKS_ADD, {p0, t5, act}, {t6}); 48 model->addOperation(ANEURALNETWORKS_ADD, {i0, i1, act}, {t0}); 49 model->addOperation(ANEURALNETWORKS_ADD, {i2, t0, act}, {t1}); 50 model->addOperation(ANEURALNETWORKS_ADD, {i3, i4, act}, {t2}); 51 model->addOperation(ANEURALNETWORKS_ADD, {t2, i5, act}, {t3}); 52 model->addOperation(ANEURALNETWORKS_ADD, {t1, t3, act}, {t4}); 53 model->addOperation(ANEURALNETWORKS_ADD, {t4, t6, act}, {o0}); 54 model->addOperation(ANEURALNETWORKS_ADD, {i7, i8, act}, {o1}); 55 model->addOperation(ANEURALNETWORKS_ADD, {o0, o1, act}, {o2});
|
/frameworks/ml/nn/runtime/test/ |
D | TestFailingDriver.cpp | 113 conditionModel.addOperation(ANEURALNETWORKS_CAST, {b}, {out}); in TEST_F() 124 bodyModel.addOperation(ANEURALNETWORKS_CAST, {f}, {out}); in TEST_F() 138 model.addOperation(ANEURALNETWORKS_WHILE, {cond, body, fInput, bInput}, {fTmp}); in TEST_F() 139 model.addOperation(ANEURALNETWORKS_SQRT, {fTmp}, {fSqrt}); in TEST_F() 189 model.addOperation(ANEURALNETWORKS_SQRT, {fInput}, {fSqrt}); in TEST_F()
|
D | TestCompliance.cpp | 98 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F() 112 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F() 128 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F() 129 model.addOperation(ANEURALNETWORKS_ADD, {op3, op4, act}, {op5}); in TEST_F() 158 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F()
|
D | TestControlFlow.cpp | 53 conditionModel.addOperation(ANEURALNETWORKS_GREATER_EQUAL, {i, n}, {out}); in TEST_F() 66 bodyModel.addOperation(ANEURALNETWORKS_ADD, {i, one, noActivation}, {iOut}); in TEST_F() 79 model.addOperation(ANEURALNETWORKS_WHILE, {conditionOperand, bodyOperand, iInit, n}, in TEST_F()
|
D | TestMemory.cpp | 72 model.addOperation(ANEURALNETWORKS_ADD, {a, c, f}, {b}); in TEST_F() 73 model.addOperation(ANEURALNETWORKS_ADD, {b, e, f}, {d}); in TEST_F() 130 model.addOperation(ANEURALNETWORKS_ADD, {a, c, f}, {b}); in TEST_F() 131 model.addOperation(ANEURALNETWORKS_ADD, {b, e, f}, {d}); in TEST_F()
|
D | TestTrivialModel.cpp | 67 model->addOperation(ANEURALNETWORKS_ADD, {a, b, d}, {c}); in CreateAddTwoTensorModel() 85 model->addOperation(ANEURALNETWORKS_ADD, {a, c, f}, {b}); in CreateAddThreeTensorModel() 86 model->addOperation(ANEURALNETWORKS_ADD, {b, e, f}, {d}); in CreateAddThreeTensorModel() 263 modelBroadcastAdd2.addOperation(ANEURALNETWORKS_ADD, {a, b, activation}, {c}); in TEST_F() 292 modelBroadcastMul2.addOperation(ANEURALNETWORKS_MUL, {a, b, activation}, {c}); in TEST_F()
|
D | TestMemoryInternal.cpp | 131 model.addOperation(ANEURALNETWORKS_ADD, {a, c, f}, {b}); in TEST_F() 132 model.addOperation(ANEURALNETWORKS_ADD, {b, e, f}, {d}); in TEST_F() 216 model.addOperation(ANEURALNETWORKS_CONV_2D, in TEST_F()
|
D | TestWrapper.cpp | 31 mModel.addOperation(ANEURALNETWORKS_TANH, {mIn}, {mOut}); in SetUp()
|
D | TestIntrospectionControl.cpp | 212 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createSimpleAddModel() 1133 model->addOperation(ANEURALNETWORKS_MAXIMUM, {op3, op4}, {op5}); in createAddMaxModel() 1134 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMaxModel() 1136 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMaxModel() 1137 model->addOperation(ANEURALNETWORKS_MAXIMUM, {op3, op4}, {op5}); in createAddMaxModel() 1196 model->addOperation(ANEURALNETWORKS_MUL, {op3, op4, act}, {op5}); in createAddMulModel() 1197 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMulModel() 1199 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMulModel() 1200 model->addOperation(ANEURALNETWORKS_MUL, {op3, op4, act}, {op5}); in createAddMulModel()
|
D | TestValidation.cpp | 86 int addOperation(ANeuralNetworksOperationType type, const std::vector<uint32_t>& inputs, in addOperation() function in __anon1fd66c800111::ValidationTestModel 106 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, inList, outList), ANEURALNETWORKS_NO_ERROR); in createModel() 180 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, {0, 1, 2}, {3}), ANEURALNETWORKS_NO_ERROR); in SetUp() 808 EXPECT_EQ(addOperation(invalidOp, {input}, {output}), ANEURALNETWORKS_BAD_DATA); in TEST_F() 812 EXPECT_EQ(addOperation(ANEURALNETWORKS_AVERAGE_POOL_2D, {input}, {output}), in TEST_F() 984 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, {0, 4, 2}, {3}), ANEURALNETWORKS_NO_ERROR); in TEST_F() 985 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, {1, 3, 2}, {4}), ANEURALNETWORKS_NO_ERROR); in TEST_F() 986 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, {4, 0, 2}, {5}), ANEURALNETWORKS_NO_ERROR); in TEST_F() 1004 ASSERT_EQ(addOperation(ANEURALNETWORKS_LOGISTIC, {2}, {1}), ANEURALNETWORKS_NO_ERROR); in TEST_F() 1005 ASSERT_EQ(addOperation(ANEURALNETWORKS_LOGISTIC, {0}, {2}), ANEURALNETWORKS_NO_ERROR); in TEST_F() [all …]
|
D | TestMemoryDomain.cpp | 160 model.addOperation(ANEURALNETWORKS_ADD, {input0, input1, act}, {output0}); in createTestModel() 161 model.addOperation(ANEURALNETWORKS_SUB, {input1, input2, act}, {temp}); in createTestModel() 162 model.addOperation(ANEURALNETWORKS_MUL, {output0, temp, act}, {output1}); in createTestModel()
|
D | TestUnknownDimensions.cpp | 222 model.addOperation(ANEURALNETWORKS_ADD, {inputOpd0, inputOpd1, activationOpd0}, in TestOne() 224 model.addOperation(ANEURALNETWORKS_ADD, {intermediateOpd0, constantOpd0, activationOpd0}, in TestOne()
|
/frameworks/ml/nn/runtime/test/fibonacci_extension/ |
D | FibonacciExtensionTest.cpp | 147 model->addOperation(ANEURALNETWORKS_ADD, {input, inputZeros, activation}, {output}); in addNopOperation() 161 model->addOperation( in createModel() 292 mModel.addOperation( in TEST_F() 311 mModel.addOperation( in TEST_F() 329 mModel.addOperation(mModel.getExtensionOperationType( in TEST_F()
|
/frameworks/ml/nn/tools/test_generator/tests/P_variation/ |
D | stdout.txt.expect | 46 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 119 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 198 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 273 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 348 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 425 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 502 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 579 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 658 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 733 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_implicit_variation/ |
D | stdout.txt.expect | 46 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 119 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 198 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 273 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 348 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 425 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 502 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 579 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 658 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 733 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_naming/ |
D | stdout.txt.expect | 46 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 119 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 198 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 273 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 348 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 425 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 502 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 579 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 658 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 733 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_implicit_parameter/ |
D | stdout.txt.expect | 34 model->addOperation(ANEURALNETWORKS_MEAN, {i0, param, param1}, {o1}); 116 model->addOperation(ANEURALNETWORKS_MEAN, {i0, param2, param3}, {o2}); 198 model->addOperation(ANEURALNETWORKS_MEAN, {i0, param4, param5}, {o3});
|
/frameworks/ml/nn/runtime/test/android_fuzzing/ |
D | FuzzTest.cpp | 76 model.addOperation(static_cast<int>(operation.type), operation.inputs, operation.outputs); in CreateModel()
|
/frameworks/ml/nn/tools/test_generator/tests/P_backward_compatibility_quant8/ |
D | stdout.txt.expect | 39 …model->addOperation(ANEURALNETWORKS_DEPTHWISE_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, str…
|
/frameworks/base/core/java/android/content/ |
D | UndoManager.java | 559 public void addOperation(UndoOperation<?> op, int mergeMode) { in addOperation() method in UndoManager 578 mWorking.addOperation(op); in addOperation() 868 void addOperation(UndoOperation<?> op) { in addOperation() method in UndoManager.UndoState
|
/frameworks/ml/nn/common/operations/ |
D | MultinomialTest.cpp | 53 model_.addOperation(ANEURALNETWORKS_RANDOM_MULTINOMIAL, inputs, outputs); in MultinomialOpModel()
|
D | EmbeddingLookupTest.cpp | 87 model_.addOperation(ANEURALNETWORKS_EMBEDDING_LOOKUP, inputs, outputs); in EmbeddingLookupOpModel()
|
D | LSHProjectionTest.cpp | 83 model_.addOperation(ANEURALNETWORKS_LSH_PROJECTION, inputs, outputs); in LSHProjectionOpModel()
|
/frameworks/ml/nn/tools/test_generator/tests/P_quant8/ |
D | stdout.txt.expect | 40 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, strid…
|
/frameworks/ml/nn/tools/test_generator/tests/P_float/ |
D | stdout.txt.expect | 40 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, strid…
|