Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestValidateModel.cpp35 ANeuralNetworksModel_addOperand(model, &operand_0); in TEST_F()
41 ANeuralNetworksModel_addOperand(model, &operand_1); in TEST_F()
49 ANeuralNetworksModel_addOperand(model, &operand_2); in TEST_F()
57 ANeuralNetworksModel_addOperand(model, &operand_3); in TEST_F()
65 ANeuralNetworksModel_addOperand(model, &operand_4); in TEST_F()
73 ANeuralNetworksModel_addOperand(model, &operand_5); in TEST_F()
81 ANeuralNetworksModel_addOperand(model, &operand_6); in TEST_F()
89 ANeuralNetworksModel_addOperand(model, &operand_7); in TEST_F()
97 ANeuralNetworksModel_addOperand(model, &operand_8); in TEST_F()
105 ANeuralNetworksModel_addOperand(model, &operand_9); in TEST_F()
[all …]
DTestValidation.cpp54 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &operandType), ANEURALNETWORKS_NO_ERROR); in addScalarOperand()
59 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &operandType), ANEURALNETWORKS_NO_ERROR); in addOperand()
154 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in SetUp()
155 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in SetUp()
156 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &scalarType), ANEURALNETWORKS_NO_ERROR); in SetUp()
157 ASSERT_EQ(ANeuralNetworksModel_addOperand(mModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in SetUp()
222 EXPECT_EQ(ANeuralNetworksModel_addOperand(nullptr, &floatType), in TEST_F()
224 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, nullptr), ANEURALNETWORKS_UNEXPECTED_NULL); in TEST_F()
234 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &quant8TypeInvalidScale), in TEST_F()
245 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &quant8TypeInvalidZeroPoint), in TEST_F()
[all …]
DTestOperandExtraParams.cpp111 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &operandType), ANEURALNETWORKS_NO_ERROR); in testAddingWithSymmPerChannelQuantParams()
231 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &operandType), ANEURALNETWORKS_BAD_DATA); in TEST_F()
239 EXPECT_EQ(ANeuralNetworksModel_addOperand(mModel, &operandType), ANEURALNETWORKS_BAD_DATA); in TEST_F()
DTestValidateOperations.cpp102 ANeuralNetworksModel_addOperand(model, &inputs[i].operandType); in addOperation()
110 ANeuralNetworksModel_addOperand(model, &outputs[i].operandType); in addOperation()
/frameworks/ml/nn/runtime/
Dlibneuralnetworks.map.txt35 ANeuralNetworksModel_addOperand;
DNeuralNetworks.cpp892 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model, in ANeuralNetworksModel_addOperand() function
/frameworks/ml/nn/extensions/
DREADME.md113 Then call `ANeuralNetworksModel_addOperand` as usual:
123 CHECK_EQ(ANeuralNetworksModel_addOperand(model, &operandType), ANEURALNETWORKS_NO_ERROR);
/frameworks/ml/nn/runtime/include/
DNeuralNetworksWrapperExtensions.h116 if (ANeuralNetworksModel_addOperand(mModel, &(type->operandType)) != in addOperand()
DNeuralNetworks.h5884 int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model,
DNeuralNetworksWrapper.h230 if (ANeuralNetworksModel_addOperand(mModel, &(type->operandType)) != in addOperand()