Home
last modified time | relevance | path

Searched refs:ANeuralNetworksModel_addOperand (Results 1 – 16 of 16) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DTestValidateModel.cpp36 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 …]
DTestValidation.cpp76 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 …]
DTestOperandExtraParams.cpp120 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()
DTestFree.cpp37 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, &type), ANEURALNETWORKS_NO_ERROR); in createUnfinishedModel()
38 EXPECT_EQ(ANeuralNetworksModel_addOperand(model, &type), ANEURALNETWORKS_NO_ERROR); in createUnfinishedModel()
DTestValidateOperations.cpp370 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()
DTestNeuralNetworksWrapper.h152 if (ANeuralNetworksModel_addOperand(mModel, &(type->operandType)) != in addOperand()
/packages/modules/NeuralNetworks/runtime/
Dlibneuralnetworks.map.txt47 ANeuralNetworksModel_addOperand;
DNeuralNetworks.cpp1141 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model, in ANeuralNetworksModel_addOperand() function
1994 NNCL_FUNC(ANeuralNetworksModel_addOperand),
DNeuralNetworksV2.cpp1096 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model, in ANeuralNetworksModel_addOperand() function
/packages/modules/NeuralNetworks/extensions/
DREADME.md117 to obtain the operand type and call `ANeuralNetworksModel_addOperand`.
128 CHECK_EQ(ANeuralNetworksModel_addOperand(model, &operandType), ANEURALNETWORKS_NO_ERROR);
/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworksWrapperExtensions.h118 if (ANeuralNetworksModel_addOperand(mModel, &(type->operandType)) != in addOperand()
DNeuralNetworks.h1100 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model,
DNeuralNetworksWrapper.h305 if (NNAPI_CALL(ANeuralNetworksModel_addOperand(mModel, &(type->operandType))) !=
/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h1098 int (*ANeuralNetworksModel_addOperand)(ANeuralNetworksModel* model, member
/packages/modules/NeuralNetworks/tools/api/
DNeuralNetworksTypes.t378 * <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/
DSupportLibraryWrapper.h199 if (mNnApi->getFL5()->ANeuralNetworksModel_addOperand(mModel, &type->operandType) != in addOperand()