/packages/modules/NeuralNetworks/runtime/test/ |
D | TestValidateModel.cpp | 36 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_0), ANEURALNETWORKS_NO_ERROR); in TEST_F() 42 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_1), ANEURALNETWORKS_NO_ERROR); in TEST_F() 50 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_2), ANEURALNETWORKS_NO_ERROR); in TEST_F() 58 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_3), ANEURALNETWORKS_NO_ERROR); in TEST_F() 66 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_4), ANEURALNETWORKS_NO_ERROR); in TEST_F() 74 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_5), ANEURALNETWORKS_NO_ERROR); in TEST_F() 82 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_6), ANEURALNETWORKS_NO_ERROR); in TEST_F() 90 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_7), ANEURALNETWORKS_NO_ERROR); in TEST_F() 98 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_8), ANEURALNETWORKS_NO_ERROR); in TEST_F() 106 ASSERT_EQ(ANeuralNetworksModel_addOperand(model, &operand_9), ANEURALNETWORKS_NO_ERROR); in TEST_F() [all …]
|
D | TestValidation.cpp | 76 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &operandType), ANEURALNETWORKS_NO_ERROR); in addScalarOperand() 81 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &operandType), ANEURALNETWORKS_NO_ERROR); in addOperand() 188 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in SetUp() 189 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in SetUp() 190 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &scalarType), ANEURALNETWORKS_NO_ERROR); in SetUp() 191 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in SetUp() 331 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, &operandType), ANEURALNETWORKS_NO_ERROR); in addScalarOperand() 341 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, &operandType), ANEURALNETWORKS_NO_ERROR); in addTensorOperand() 417 EXPECT_EQ(ANeuralNetworksModel_addOperand(nullptr, &floatType), in TEST_F() 419 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, nullptr), ANEURALNETWORKS_UNEXPECTED_NULL); in TEST_F() [all …]
|
D | TestOperandExtraParams.cpp | 120 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &operandType), ANEURALNETWORKS_NO_ERROR); in testAddingWithSymmPerChannelQuantParams() 244 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &operandType), ANEURALNETWORKS_BAD_DATA); in TEST_F() 252 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &operandType), ANEURALNETWORKS_BAD_DATA); in TEST_F()
|
D | TestFree.cpp | 37 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, &type), ANEURALNETWORKS_NO_ERROR); in createUnfinishedModel() 38 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, &type), ANEURALNETWORKS_NO_ERROR); in createUnfinishedModel()
|
D | TestValidateOperations.cpp | 370 ANeuralNetworksModel_addOperand(model, &inputs[i].operandType); in addOperation() 382 ANeuralNetworksModel_addOperand(model, &outputs[i].operandType); in addOperation() 4537 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, type), ANEURALNETWORKS_NO_ERROR); in makeIdentityModel() 4538 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, type), ANEURALNETWORKS_NO_ERROR); in makeIdentityModel() 4617 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, dataType), ANEURALNETWORKS_NO_ERROR); in makeWhileCondModel() 4618 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, dataType), ANEURALNETWORKS_NO_ERROR); in makeWhileCondModel() 4619 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, boolType), ANEURALNETWORKS_NO_ERROR); in makeWhileCondModel() 4641 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, type), ANEURALNETWORKS_NO_ERROR); in makeWhileBodyModel() 4642 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, type), ANEURALNETWORKS_NO_ERROR); in makeWhileBodyModel() 4643 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, type), ANEURALNETWORKS_NO_ERROR); in makeWhileBodyModel()
|
D | TestNeuralNetworksWrapper.h | 152 if (ANeuralNetworksModel_addOperand(mModel, &(type->operandType)) != in addOperand()
|
/packages/modules/NeuralNetworks/runtime/ |
D | libneuralnetworks.map.txt | 47 ANeuralNetworksModel_addOperand;
|
D | NeuralNetworks.cpp | 1141 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model, in ANeuralNetworksModel_addOperand() function 1994 NNCL_FUNC(ANeuralNetworksModel_addOperand),
|
D | NeuralNetworksV2.cpp | 1096 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model, in ANeuralNetworksModel_addOperand() function
|
/packages/modules/NeuralNetworks/extensions/ |
D | README.md | 117 to obtain the operand type and call `ANeuralNetworksModel_addOperand`. 128 CHECK_EQ(ANeuralNetworksModel_addOperand(model, &operandType), ANEURALNETWORKS_NO_ERROR);
|
/packages/modules/NeuralNetworks/runtime/include/ |
D | NeuralNetworksWrapperExtensions.h | 118 if (ANeuralNetworksModel_addOperand(mModel, &(type->operandType)) != in addOperand()
|
D | NeuralNetworks.h | 1100 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model,
|
D | NeuralNetworksWrapper.h | 305 if (NNAPI_CALL(ANeuralNetworksModel_addOperand(mModel, &(type->operandType))) !=
|
/packages/modules/NeuralNetworks/shim_and_sl/public/ |
D | NeuralNetworksSupportLibraryImpl.h | 1098 int (*ANeuralNetworksModel_addOperand)(ANeuralNetworksModel* model, member
|
/packages/modules/NeuralNetworks/tools/api/ |
D | NeuralNetworksTypes.t | 378 * <li>{@link ANeuralNetworksModel_addOperand}</li> 612 * must either be provided to {@link ANeuralNetworksModel_addOperand}; 625 * to {@link ANeuralNetworksModel_addOperand}; or it must be
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | SupportLibraryWrapper.h | 199 if (mNnApi->getFL5()->ANeuralNetworksModel_addOperand(mModel, &type->operandType) != in addOperand()
|