/frameworks/ml/nn/runtime/test/ |
D | TestValidateModel.cpp | 2480 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 …]
|
D | TestFree.cpp | 43 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_FLOOR, 1, inList, 1, outList), in createUnfinishedModel()
|
D | TestValidation.cpp | 89 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()
|
D | TestNeuralNetworksWrapper.h | 207 if (ANeuralNetworksModel_addOperation(mModel, type, static_cast<uint32_t>(inputs.size()), in addOperation()
|
D | TestValidateOperations.cpp | 390 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/ |
D | stubs_arm.cc | 68 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANeuralNetworksModel_addOperation); 136 INIT_INTERCEPTABLE_STUB_FUNCTION("libneuralnetworks.so", ANeuralNetworksModel_addOperation); in init_stub_library()
|
D | stubs_arm64.cc | 68 DEFINE_INTERCEPTABLE_STUB_FUNCTION(ANeuralNetworksModel_addOperation); 136 INIT_INTERCEPTABLE_STUB_FUNCTION("libneuralnetworks.so", ANeuralNetworksModel_addOperation); in init_stub_library()
|
/frameworks/ml/nn/runtime/ |
D | libneuralnetworks.map.txt | 51 ANeuralNetworksModel_addOperation;
|
D | NeuralNetworks.cpp | 1111 int ANeuralNetworksModel_addOperation(ANeuralNetworksModel* model, in ANeuralNetworksModel_addOperation() function
|
/frameworks/ml/nn/extensions/ |
D | README.md | 147 `ANeuralNetworksModel_addOperation`. 153 CHECK_EQ(ANeuralNetworksModel_addOperation(model, type, inputCount, inputs, outputCount, outputs),
|
/frameworks/ml/nn/runtime/include/ |
D | NeuralNetworks.h | 7374 int ANeuralNetworksModel_addOperation(ANeuralNetworksModel* model,
|
D | NeuralNetworksWrapper.h | 275 if (ANeuralNetworksModel_addOperation(mModel, type, static_cast<uint32_t>(inputs.size()), in addOperation()
|
/frameworks/ml/nn/tools/api/ |
D | NeuralNetworks.t | 391 * <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,
|