Searched refs:execution1 (Results 1 – 2 of 2) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestTrivialModel.cpp | 220 Execution execution1(&compilation); in TEST_F() local 221 ASSERT_EQ(execution1.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 222 ASSERT_EQ(execution1.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 223 ASSERT_EQ(execution1.setOutput(0, output1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 225 ANeuralNetworksExecution* execution1_handle = execution1.getHandle(); in TEST_F()
|
D | TestValidation.cpp | 1797 ANeuralNetworksExecution* execution1; in TEST_F() local 1798 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution1), ANEURALNETWORKS_NO_ERROR); in TEST_F() 1801 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution1, 0, nullptr, input0, sizeof(input0)), in TEST_F() 1803 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution1, 1, nullptr, input1, sizeof(input1)), in TEST_F() 1805 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution1, 2, nullptr, input2, sizeof(input2)), in TEST_F() 1807 EXPECT_EQ(ANeuralNetworksExecution_setOutput(execution1, 0, nullptr, output0, sizeof(output0)), in TEST_F() 1810 EXPECT_EQ(ANeuralNetworksExecution_startComputeWithDependencies(execution1, nullptr, 0, 0, in TEST_F() 1836 ANeuralNetworksExecution_free(execution1); in TEST_F()
|