Home
last modified time | relevance | path

Searched refs:execution1 (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestTrivialModel.cpp240 Execution execution1(&compilation); in TEST_F() local
241 ASSERT_EQ(execution1.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
242 ASSERT_EQ(execution1.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
243 ASSERT_EQ(execution1.setOutput(0, output1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
245 ANeuralNetworksExecution* execution1_handle = execution1.getHandle(); in TEST_F()
H A DTestValidation.cpp2303 ANeuralNetworksExecution* execution1; in TEST_F() local
2304 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution1), ANEURALNETWORKS_NO_ERROR); in TEST_F()
2307 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution1, 0, nullptr, input0, sizeof(input0)), in TEST_F()
2309 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution1, 1, nullptr, input1, sizeof(input1)), in TEST_F()
2311 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution1, 2, nullptr, input2, sizeof(input2)), in TEST_F()
2313 EXPECT_EQ(ANeuralNetworksExecution_setOutput(execution1, 0, nullptr, output0, sizeof(output0)), in TEST_F()
2316 EXPECT_EQ(ANeuralNetworksExecution_startComputeWithDependencies(execution1, nullptr, 0, 0, in TEST_F()
2354 ANeuralNetworksExecution_free(execution1); in TEST_F()