Home
last modified time | relevance | path

Searched refs:addOperation (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/ml/nn/tools/test_generator/tests/P_internal/
Dstdout.txt.expect46 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/
DTestFailingDriver.cpp113 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()
DTestCompliance.cpp98 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()
DTestControlFlow.cpp53 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()
DTestMemory.cpp72 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()
DTestTrivialModel.cpp67 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()
DTestMemoryInternal.cpp131 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()
DTestWrapper.cpp31 mModel.addOperation(ANEURALNETWORKS_TANH, {mIn}, {mOut}); in SetUp()
DTestIntrospectionControl.cpp212 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()
DTestValidation.cpp86 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 …]
DTestMemoryDomain.cpp160 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()
DTestUnknownDimensions.cpp222 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/
DFibonacciExtensionTest.cpp147 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/
Dstdout.txt.expect46 …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/
Dstdout.txt.expect46 …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/
Dstdout.txt.expect46 …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/
Dstdout.txt.expect34 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/
DFuzzTest.cpp76 model.addOperation(static_cast<int>(operation.type), operation.inputs, operation.outputs); in CreateModel()
/frameworks/ml/nn/tools/test_generator/tests/P_backward_compatibility_quant8/
Dstdout.txt.expect39 …model->addOperation(ANEURALNETWORKS_DEPTHWISE_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, str…
/frameworks/base/core/java/android/content/
DUndoManager.java559 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/
DMultinomialTest.cpp53 model_.addOperation(ANEURALNETWORKS_RANDOM_MULTINOMIAL, inputs, outputs); in MultinomialOpModel()
DEmbeddingLookupTest.cpp87 model_.addOperation(ANEURALNETWORKS_EMBEDDING_LOOKUP, inputs, outputs); in EmbeddingLookupOpModel()
DLSHProjectionTest.cpp83 model_.addOperation(ANEURALNETWORKS_LSH_PROJECTION, inputs, outputs); in LSHProjectionOpModel()
/frameworks/ml/nn/tools/test_generator/tests/P_quant8/
Dstdout.txt.expect40 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, strid…
/frameworks/ml/nn/tools/test_generator/tests/P_float/
Dstdout.txt.expect40 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, strid…

12