/packages/modules/NeuralNetworks/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});
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestFailingDriver.cpp | 112 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()
|
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() 164 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F()
|
D | TestMemory.cpp | 73 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()
|
D | TestControlFlow.cpp | 57 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()
|
D | TestTrivialModel.cpp | 71 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()
|
D | TestIntrospectionControl.cpp | 217 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 …]
|
D | TestMemoryInternal.cpp | 130 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()
|
D | TestValidation.cpp | 90 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 …]
|
D | TestMemoryDomain.cpp | 166 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()
|
D | TestUnknownDimensions.cpp | 227 model.addOperation(ANEURALNETWORKS_ADD, {inputOpd0, inputOpd1, activationOpd0}, in TestOne() 229 model.addOperation(ANEURALNETWORKS_ADD, {intermediateOpd0, constantOpd0, activationOpd0}, in TestOne()
|
D | TestWrapper.cpp | 31 mModel.addOperation(ANEURALNETWORKS_TANH, {mIn}, {mOut}); in SetUp()
|
D | TestUnspecifiedDimensions.cpp | 329 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/ |
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()
|
/packages/modules/NeuralNetworks/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 …]
|
/packages/modules/NeuralNetworks/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 …]
|
/packages/modules/NeuralNetworks/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 …]
|
/packages/modules/NeuralNetworks/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});
|
/packages/modules/NeuralNetworks/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…
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | FuzzTest.cpp | 76 model.addOperation(static_cast<int>(operation.type), operation.inputs, operation.outputs); in CreateModel()
|
/packages/modules/NeuralNetworks/common/operations/ |
D | MultinomialTest.cpp | 53 model_.addOperation(ANEURALNETWORKS_RANDOM_MULTINOMIAL, inputs, outputs); in MultinomialOpModel()
|
D | EmbeddingLookupTest.cpp | 88 model_.addOperation(ANEURALNETWORKS_EMBEDDING_LOOKUP, inputs, outputs); in EmbeddingLookupOpModel()
|
D | LSHProjectionTest.cpp | 83 model_.addOperation(ANEURALNETWORKS_LSH_PROJECTION, inputs, outputs); in LSHProjectionOpModel()
|
/packages/modules/NeuralNetworks/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…
|
/packages/modules/NeuralNetworks/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…
|