Home
last modified time | relevance | path

Searched refs:addOperation (Results 1 – 25 of 49) 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.cpp74 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F()
88 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F()
104 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F()
105 model.addOperation(ANEURALNETWORKS_ADD, {op3, op4, act}, {op5}); in TEST_F()
140 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F()
DTestMemory.cpp78 model.addOperation(ANEURALNETWORKS_ADD, {a, c, f}, {b}); in TEST_F()
79 model.addOperation(ANEURALNETWORKS_ADD, {b, e, f}, {d}); in TEST_F()
141 model.addOperation(ANEURALNETWORKS_ADD, {a, c, f}, {b}); in TEST_F()
142 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.cpp75 model->addOperation(ANEURALNETWORKS_ADD, {a, b, d}, {c}); in CreateAddTwoTensorModel()
93 model->addOperation(ANEURALNETWORKS_ADD, {a, c, f}, {b}); in CreateAddThreeTensorModel()
94 model->addOperation(ANEURALNETWORKS_ADD, {b, e, f}, {d}); in CreateAddThreeTensorModel()
287 modelBroadcastAdd2.addOperation(ANEURALNETWORKS_ADD, {a, b, activation}, {c}); in TEST_F()
316 modelBroadcastMul2.addOperation(ANEURALNETWORKS_MUL, {a, b, activation}, {c}); in TEST_F()
DTestIntrospectionControl.cpp218 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createSimpleAddModel()
1158 model->addOperation(ANEURALNETWORKS_MAXIMUM, {op3, op4}, {op5}); in createAddMaxModel()
1159 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMaxModel()
1161 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMaxModel()
1162 model->addOperation(ANEURALNETWORKS_MAXIMUM, {op3, op4}, {op5}); in createAddMaxModel()
1223 model->addOperation(ANEURALNETWORKS_MUL, {op3, op4, act}, {op5}); in createAddMulModel()
1224 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMulModel()
1226 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMulModel()
1227 model->addOperation(ANEURALNETWORKS_MUL, {op3, op4, act}, {op5}); in createAddMulModel()
1260 model->addOperation(ANEURALNETWORKS_LESS, {op1, op1}, {op2}); in createCondModel()
[all …]
DTestMemoryInternal.cpp137 model.addOperation(ANEURALNETWORKS_ADD, {a, c, f}, {b}); in TEST_F()
138 model.addOperation(ANEURALNETWORKS_ADD, {b, e, f}, {d}); in TEST_F()
234 model.addOperation(ANEURALNETWORKS_CONV_2D, in TEST_F()
DTestValidation.cpp97 int addOperation(ANeuralNetworksOperationType type, const std::vector<uint32_t>& inputs, in addOperation() function in __anon437755720111::ValidationTestModel
117 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, inList, outList), ANEURALNETWORKS_NO_ERROR); in createModel()
191 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, {0, 1, 2}, {3}), ANEURALNETWORKS_NO_ERROR); in SetUp()
835 EXPECT_EQ(addOperation(invalidOp, {input}, {output}), ANEURALNETWORKS_BAD_DATA); in TEST_F()
839 EXPECT_EQ(addOperation(ANEURALNETWORKS_AVERAGE_POOL_2D, {input}, {output}), in TEST_F()
1011 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, {0, 4, 2}, {3}), ANEURALNETWORKS_NO_ERROR); in TEST_F()
1012 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, {1, 3, 2}, {4}), ANEURALNETWORKS_NO_ERROR); in TEST_F()
1013 ASSERT_EQ(addOperation(ANEURALNETWORKS_ADD, {4, 0, 2}, {5}), ANEURALNETWORKS_NO_ERROR); in TEST_F()
1031 ASSERT_EQ(addOperation(ANEURALNETWORKS_LOGISTIC, {2}, {1}), ANEURALNETWORKS_NO_ERROR); in TEST_F()
1032 ASSERT_EQ(addOperation(ANEURALNETWORKS_LOGISTIC, {0}, {2}), ANEURALNETWORKS_NO_ERROR); in TEST_F()
[all …]
DTestMemoryDomain.cpp173 model->addOperation(ANEURALNETWORKS_ADD, {input0, input1, act}, {output0}); in createTestModel()
174 model->addOperation(ANEURALNETWORKS_SUB, {input1, input2, act}, {temp}); in createTestModel()
175 model->addOperation(ANEURALNETWORKS_MUL, {output0, temp, act}, {output1}); in createTestModel()
DTestWrapper.cpp31 mModel.addOperation(ANEURALNETWORKS_TANH, {mIn}, {mOut}); in SetUp()
DTestUnknownDimensions.cpp227 model.addOperation(ANEURALNETWORKS_ADD, {inputOpd0, inputOpd1, activationOpd0}, in TestOne()
229 model.addOperation(ANEURALNETWORKS_ADD, {intermediateOpd0, constantOpd0, activationOpd0}, in TestOne()
DTestTelemetry.cpp58 modelAdd2.addOperation(ANEURALNETWORKS_ADD, {a, b, d}, {c}); in TEST_F()
/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_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_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_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/tools/test_generator/tests/P_quant8/
Dstdout.txt.expect40 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, strid…
/packages/modules/NeuralNetworks/common/cpu_operations/
DMultinomialTest.cpp58 model_.addOperation(ANEURALNETWORKS_RANDOM_MULTINOMIAL, inputs, outputs); in MultinomialOpModel()
DLSHProjectionTest.cpp83 model_.addOperation(ANEURALNETWORKS_LSH_PROJECTION, inputs, outputs); in LSHProjectionOpModel()
DEmbeddingLookupTest.cpp88 model_.addOperation(ANEURALNETWORKS_EMBEDDING_LOOKUP, inputs, outputs); in EmbeddingLookupOpModel()
DHashtableLookupTest.cpp103 model_.addOperation(ANEURALNETWORKS_HASHTABLE_LOOKUP, inputs, outputs); in HashtableLookupOpModel()
/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…

12