Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestValidateModel.cpp2480 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_TRANSPOSE, 2, input_0, 1, in TEST_F()
2485 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_QUANTIZE, 1, input_1, 1, in TEST_F()
2490 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_2, 1, in TEST_F()
2495 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_3, 1, in TEST_F()
2500 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12, in TEST_F()
2505 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_5, 1, in TEST_F()
2511 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, input_6, 1, output_6), in TEST_F()
2515 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_7, 1, in TEST_F()
2520 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_DEPTHWISE_CONV_2D, 12, in TEST_F()
2525 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, 11, input_9, 1, in TEST_F()
[all …]
DTestFree.cpp43 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_FLOOR, 1, inList, 1, outList), in createUnfinishedModel()
DTestValidation.cpp89 return ANeuralNetworksModel_addOperation(mModel, type, inputs.size(), inputs.data(), in addOperation()
339 ASSERT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, inList, 1, in createModel()
739 ASSERT_EQ(ANeuralNetworksModel_addOperation(valueModel, ANEURALNETWORKS_ADD, 3, inList, 1, in TEST_F()
797 EXPECT_EQ(ANeuralNetworksModel_addOperation(nullptr, ANEURALNETWORKS_AVERAGE_POOL_2D, 1, &input, in TEST_F()
800 EXPECT_EQ(ANeuralNetworksModel_addOperation(mModel, ANEURALNETWORKS_AVERAGE_POOL_2D, 0, nullptr, in TEST_F()
803 EXPECT_EQ(ANeuralNetworksModel_addOperation(mModel, ANEURALNETWORKS_AVERAGE_POOL_2D, 1, &input, in TEST_F()
2950 EXPECT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, inList, 1, outList), in createAndCompileAddModelWithType()
3119 EXPECT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CONV_2D, std::size(inList), in createAndCompileChannelQuantConvModel()
DTestNeuralNetworksWrapper.h207 if (ANeuralNetworksModel_addOperation(mModel, type, static_cast<uint32_t>(inputs.size()), in addOperation()
DTestValidateOperations.cpp390 int32_t result = ANeuralNetworksModel_addOperation( in addOperation()
4473 EXPECT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CAST, std::size(inputs), in makeIdentityModel()
4554 EXPECT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_LESS, std::size(inputs), in makeWhileCondModel()
4578 EXPECT_EQ(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_CAST, std::size(castInputs), in makeWhileBodyModel()
/frameworks/libs/native_bridge_support/libneuralnetworks/
Dstubs_arm.cc68 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANeuralNetworksModel_addOperation);
136 INIT_INTERCEPTABLE_STUB_FUNCTION("libneuralnetworks.so", ANeuralNetworksModel_addOperation); in init_stub_library()
Dstubs_arm64.cc68 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANeuralNetworksModel_addOperation);
136 INIT_INTERCEPTABLE_STUB_FUNCTION("libneuralnetworks.so", ANeuralNetworksModel_addOperation); in init_stub_library()
/frameworks/ml/nn/runtime/
Dlibneuralnetworks.map.txt51 ANeuralNetworksModel_addOperation;
DNeuralNetworks.cpp1111 int ANeuralNetworksModel_addOperation(ANeuralNetworksModel* model, in ANeuralNetworksModel_addOperation() function
/frameworks/ml/nn/extensions/
DREADME.md147 `ANeuralNetworksModel_addOperation`.
153 CHECK_EQ(ANeuralNetworksModel_addOperation(model, type, inputCount, inputs, outputCount, outputs),
/frameworks/ml/nn/runtime/include/
DNeuralNetworks.h7374 int ANeuralNetworksModel_addOperation(ANeuralNetworksModel* model,
DNeuralNetworksWrapper.h275 if (ANeuralNetworksModel_addOperation(mModel, type, static_cast<uint32_t>(inputs.size()), in addOperation()
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t391 * <li>{@link ANeuralNetworksModel_addOperation}</li>
1530 * {@link ANeuralNetworksModel_addOperation} and
1589 * {@link ANeuralNetworksModel_addOperation},
1607 * {@link ANeuralNetworksModel_addOperation}.</li></p>
1800 int ANeuralNetworksModel_addOperation(ANeuralNetworksModel* model,