Home
last modified time | relevance | path

Searched refs:ANeuralNetworksModel_addOperand (Results 1 – 15 of 15) 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.cpp68 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 …]
DTestOperandExtraParams.cpp120 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()
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.cpp369 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()
DTestNeuralNetworksWrapper.h150 if (ANeuralNetworksModel_addOperand(mModel, &(type->operandType)) != in addOperand()
/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/
Dlibneuralnetworks.map.txt47 ANeuralNetworksModel_addOperand;
DNeuralNetworks.cpp1089 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model, in ANeuralNetworksModel_addOperand() function
1914 NNCL_FUNC(ANeuralNetworksModel_addOperand),
/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworksWrapperExtensions.h118 if (ANeuralNetworksModel_addOperand(mModel, &(type->operandType)) != in addOperand()
DNeuralNetworks.h971 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model,
DNeuralNetworksWrapper.h303 if (NNAPI_CALL(ANeuralNetworksModel_addOperand(mModel, &(type->operandType))) !=
/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h774 int (*ANeuralNetworksModel_addOperand)(ANeuralNetworksModel* model, member
/packages/modules/NeuralNetworks/tools/api/
DNeuralNetworksTypes.t361 * <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/
DSupportLibraryWrapper.h197 if (mNnApi->ANeuralNetworksModel_addOperand(mModel, &type->operandType) != in addOperand()