Home
last modified time | relevance | path

Searched refs:ANeuralNetworksModel_addOperation (Results 1 – 8 of 8) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestValidateModel.cpp2479 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_TRANSPOSE, 2, input_0, 1, output_0); in TEST_F()
2482 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_QUANTIZE, 1, input_1, 1, output_1); in TEST_F()
2485 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_2, 1, output_2); in TEST_F()
2488 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_3, 1, output_3); in TEST_F()
2491 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12, input_4, 1, in TEST_F()
2495 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_5, 1, output_5); in TEST_F()
2498 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_6, 1, output_6); in TEST_F()
2501 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_7, 1, output_7); in TEST_F()
2504 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12, input_8, 1, in TEST_F()
2508 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_9, 1, output_9); in TEST_F()
[all …]
DTestValidation.cpp80 ASSERT_EQ(ANeuralNetworksModel_addOperation(mModel, ANEURALNETWORKS_ADD, 3, inList, 1, in createModel()
160 ASSERT_EQ(ANeuralNetworksModel_addOperation(mModel, ANEURALNETWORKS_ADD, 3, inList, 1, in SetUp()
554 EXPECT_EQ(ANeuralNetworksModel_addOperation(nullptr, ANEURALNETWORKS_AVERAGE_POOL_2D, 1, &input, in TEST_F()
557 EXPECT_EQ(ANeuralNetworksModel_addOperation(mModel, ANEURALNETWORKS_AVERAGE_POOL_2D, 0, nullptr, in TEST_F()
560 EXPECT_EQ(ANeuralNetworksModel_addOperation(mModel, ANEURALNETWORKS_AVERAGE_POOL_2D, 1, &input, in TEST_F()
565 EXPECT_EQ(ANeuralNetworksModel_addOperation(mModel, invalidOp, 1, &input, 1, &output), in TEST_F()
570 EXPECT_EQ(ANeuralNetworksModel_addOperation(mModel, ANEURALNETWORKS_AVERAGE_POOL_2D, 1, &input, in TEST_F()
1664 ASSERT_EQ(ANeuralNetworksModel_addOperation(mModel, ANEURALNETWORKS_OEM_OPERATION, 1, in SetUp()
DTestValidateOperations.cpp118 int32_t result = ANeuralNetworksModel_addOperation( in addOperation()
/frameworks/ml/nn/runtime/
Dlibneuralnetworks.map.txt39 ANeuralNetworksModel_addOperation;
DNeuralNetworks.cpp927 int ANeuralNetworksModel_addOperation(ANeuralNetworksModel* model, in ANeuralNetworksModel_addOperation() function
/frameworks/ml/nn/extensions/
DREADME.md139 Then call `ANeuralNetworksModel_addOperation` as usual:
145 CHECK_EQ(ANeuralNetworksModel_addOperation(model, type, inputCount, inputs, outputCount, outputs),
/frameworks/ml/nn/runtime/include/
DNeuralNetworks.h6011 int ANeuralNetworksModel_addOperation(ANeuralNetworksModel* model,
DNeuralNetworksWrapper.h261 if (ANeuralNetworksModel_addOperation(mModel, type, static_cast<uint32_t>(inputs.size()), in addOperation()