Home
last modified time | relevance | path

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

12

/packages/modules/NeuralNetworks/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});
/packages/modules/NeuralNetworks/runtime/test/
DTestFailingDriver.cpp112 conditionModel.addOperation(ANEURALNETWORKS_CAST, {b}, {out}); in TEST_F()
123 bodyModel.addOperation(ANEURALNETWORKS_CAST, {f}, {out}); in TEST_F()
137 model.addOperation(ANEURALNETWORKS_WHILE, {cond, body, fInput, bInput}, {fTmp}); in TEST_F()
138 model.addOperation(ANEURALNETWORKS_SQRT, {fTmp}, {fSqrt}); in TEST_F()
188 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()
164 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F()
DTestMemory.cpp73 model.addOperation(ANEURALNETWORKS_ADD, {a, c, f}, {b}); in TEST_F()
74 model.addOperation(ANEURALNETWORKS_ADD, {b, e, f}, {d}); in TEST_F()
136 model.addOperation(ANEURALNETWORKS_ADD, {a, c, f}, {b}); in TEST_F()
137 model.addOperation(ANEURALNETWORKS_ADD, {b, e, f}, {d}); in TEST_F()
DTestControlFlow.cpp57 conditionModel.addOperation(ANEURALNETWORKS_GREATER_EQUAL, {i, n}, {out}); in TEST_F()
70 bodyModel.addOperation(ANEURALNETWORKS_ADD, {i, one, noActivation}, {iOut}); in TEST_F()
83 model.addOperation(ANEURALNETWORKS_WHILE, {conditionOperand, bodyOperand, iInit, n}, in TEST_F()
DTestTrivialModel.cpp71 model->addOperation(ANEURALNETWORKS_ADD, {a, b, d}, {c}); in CreateAddTwoTensorModel()
89 model->addOperation(ANEURALNETWORKS_ADD, {a, c, f}, {b}); in CreateAddThreeTensorModel()
90 model->addOperation(ANEURALNETWORKS_ADD, {b, e, f}, {d}); in CreateAddThreeTensorModel()
283 modelBroadcastAdd2.addOperation(ANEURALNETWORKS_ADD, {a, b, activation}, {c}); in TEST_F()
312 modelBroadcastMul2.addOperation(ANEURALNETWORKS_MUL, {a, b, activation}, {c}); in TEST_F()
DTestIntrospectionControl.cpp217 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createSimpleAddModel()
1157 model->addOperation(ANEURALNETWORKS_MAXIMUM, {op3, op4}, {op5}); in createAddMaxModel()
1158 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMaxModel()
1160 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMaxModel()
1161 model->addOperation(ANEURALNETWORKS_MAXIMUM, {op3, op4}, {op5}); in createAddMaxModel()
1222 model->addOperation(ANEURALNETWORKS_MUL, {op3, op4, act}, {op5}); in createAddMulModel()
1223 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMulModel()
1225 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMulModel()
1226 model->addOperation(ANEURALNETWORKS_MUL, {op3, op4, act}, {op5}); in createAddMulModel()
1259 model->addOperation(ANEURALNETWORKS_LESS, {op1, op1}, {op2}); in createCondModel()
[all …]
DTestMemoryInternal.cpp130 model.addOperation(ANEURALNETWORKS_ADD, {a, c, f}, {b}); in TEST_F()
131 model.addOperation(ANEURALNETWORKS_ADD, {b, e, f}, {d}); in TEST_F()
215 model.addOperation(ANEURALNETWORKS_CONV_2D, in TEST_F()
DTestValidation.cpp90 int addOperation(ANeuralNetworksOperationType type, const std::vector<uint32_t>& inputs, in addOperation() function in __anona1c03bcd0111::ValidationTestModel
110 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, inList, outList), ANEURALNETWORKS_NO_ERROR); in createModel()
184 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, {0, 1, 2}, {3}), ANEURALNETWORKS_NO_ERROR); in SetUp()
814 EXPECT_EQ(addOperation(invalidOp, {input}, {output}), ANEURALNETWORKS_BAD_DATA); in TEST_F()
818 EXPECT_EQ(addOperation(ANEURALNETWORKS_AVERAGE_POOL_2D, {input}, {output}), in TEST_F()
990 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, {0, 4, 2}, {3}), ANEURALNETWORKS_NO_ERROR); in TEST_F()
991 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, {1, 3, 2}, {4}), ANEURALNETWORKS_NO_ERROR); in TEST_F()
992 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, {4, 0, 2}, {5}), ANEURALNETWORKS_NO_ERROR); in TEST_F()
1010 ASSERT_EQ(addOperation(ANEURALNETWORKS_LOGISTIC, {2}, {1}), ANEURALNETWORKS_NO_ERROR); in TEST_F()
1011 ASSERT_EQ(addOperation(ANEURALNETWORKS_LOGISTIC, {0}, {2}), ANEURALNETWORKS_NO_ERROR); in TEST_F()
[all …]
DTestMemoryDomain.cpp166 model->addOperation(ANEURALNETWORKS_ADD, {input0, input1, act}, {output0}); in createTestModel()
167 model->addOperation(ANEURALNETWORKS_SUB, {input1, input2, act}, {temp}); in createTestModel()
168 model->addOperation(ANEURALNETWORKS_MUL, {output0, temp, act}, {output1}); in createTestModel()
DTestUnknownDimensions.cpp227 model.addOperation(ANEURALNETWORKS_ADD, {inputOpd0, inputOpd1, activationOpd0}, in TestOne()
229 model.addOperation(ANEURALNETWORKS_ADD, {intermediateOpd0, constantOpd0, activationOpd0}, in TestOne()
DTestWrapper.cpp31 mModel.addOperation(ANEURALNETWORKS_TANH, {mIn}, {mOut}); in SetUp()
DTestUnspecifiedDimensions.cpp329 model.addOperation(ANEURALNETWORKS_ADD, {op0, op1, act}, {op2}); in TestOne()
330 model.addOperation(ANEURALNETWORKS_TRANSPOSE, {op2, op3}, {op4}); in TestOne()
/packages/modules/NeuralNetworks/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()
/packages/modules/NeuralNetworks/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 …]
/packages/modules/NeuralNetworks/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 …]
/packages/modules/NeuralNetworks/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 …]
/packages/modules/NeuralNetworks/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});
/packages/modules/NeuralNetworks/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…
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DFuzzTest.cpp76 model.addOperation(static_cast<int>(operation.type), operation.inputs, operation.outputs); in CreateModel()
/packages/modules/NeuralNetworks/common/operations/
DMultinomialTest.cpp53 model_.addOperation(ANEURALNETWORKS_RANDOM_MULTINOMIAL, inputs, outputs); in MultinomialOpModel()
DEmbeddingLookupTest.cpp88 model_.addOperation(ANEURALNETWORKS_EMBEDDING_LOOKUP, inputs, outputs); in EmbeddingLookupOpModel()
DLSHProjectionTest.cpp83 model_.addOperation(ANEURALNETWORKS_LSH_PROJECTION, inputs, outputs); in LSHProjectionOpModel()
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_float/
Dstdout.txt.expect40 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, strid…
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_quant8/
Dstdout.txt.expect40 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, strid…

12