/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 | 68 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &operandType), ANEURALNETWORKS_NO_ERROR); in addScalarOperand() 73 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &operandType), ANEURALNETWORKS_NO_ERROR); in addOperand() 180 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in SetUp() 181 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in SetUp() 182 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &scalarType), ANEURALNETWORKS_NO_ERROR); in SetUp() 183 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in SetUp() 317 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, &operandType), ANEURALNETWORKS_NO_ERROR); in addScalarOperand() 327 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, &operandType), ANEURALNETWORKS_NO_ERROR); in addTensorOperand() 403 EXPECT_EQ(ANeuralNetworksModel_addOperand(nullptr, &floatType), in TEST_F() 405 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() 242 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &operandType), ANEURALNETWORKS_BAD_DATA); in TEST_F() 250 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 | 369 ANeuralNetworksModel_addOperand(model, &inputs[i].operandType); in addOperation() 381 ANeuralNetworksModel_addOperand(model, &outputs[i].operandType); in addOperation() 4468 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, type), ANEURALNETWORKS_NO_ERROR); in makeIdentityModel() 4469 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, type), ANEURALNETWORKS_NO_ERROR); in makeIdentityModel() 4548 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, dataType), ANEURALNETWORKS_NO_ERROR); in makeWhileCondModel() 4549 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, dataType), ANEURALNETWORKS_NO_ERROR); in makeWhileCondModel() 4550 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, boolType), ANEURALNETWORKS_NO_ERROR); in makeWhileCondModel() 4572 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, type), ANEURALNETWORKS_NO_ERROR); in makeWhileBodyModel() 4573 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, type), ANEURALNETWORKS_NO_ERROR); in makeWhileBodyModel() 4574 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, type), ANEURALNETWORKS_NO_ERROR); in makeWhileBodyModel()
|
D | TestNeuralNetworksWrapper.h | 150 if (ANeuralNetworksModel_addOperand(mModel, &(type->operandType)) != in addOperand()
|
/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/ |
D | libneuralnetworks.map.txt | 47 ANeuralNetworksModel_addOperand;
|
D | NeuralNetworks.cpp | 1089 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model, in ANeuralNetworksModel_addOperand() function 1914 NNCL_FUNC(ANeuralNetworksModel_addOperand),
|
/packages/modules/NeuralNetworks/runtime/include/ |
D | NeuralNetworksWrapperExtensions.h | 118 if (ANeuralNetworksModel_addOperand(mModel, &(type->operandType)) != in addOperand()
|
D | NeuralNetworks.h | 971 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model,
|
D | NeuralNetworksWrapper.h | 303 if (NNAPI_CALL(ANeuralNetworksModel_addOperand(mModel, &(type->operandType))) !=
|
/packages/modules/NeuralNetworks/shim_and_sl/public/ |
D | NeuralNetworksSupportLibraryImpl.h | 774 int (*ANeuralNetworksModel_addOperand)(ANeuralNetworksModel* model, member
|
/packages/modules/NeuralNetworks/tools/api/ |
D | NeuralNetworksTypes.t | 361 * <li>{@link ANeuralNetworksModel_addOperand}</li> 595 * must either be provided to {@link ANeuralNetworksModel_addOperand}; 608 * to {@link ANeuralNetworksModel_addOperand}; or it must be
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | SupportLibraryWrapper.h | 197 if (mNnApi->ANeuralNetworksModel_addOperand(mModel, &type->operandType) != in addOperand()
|