Searched refs:execution2 (Results 1 – 3 of 3) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestMemory.cpp | 84 WrapperExecution execution2(&compilation2); in TEST_F() local 85 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 86 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 87 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F() 142 WrapperExecution execution2(&compilation2); in TEST_F() local 143 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 144 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 145 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F()
|
D | TestTrivialModel.cpp | 138 Execution execution2(&compilation2); in TEST_F() local 139 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 140 ASSERT_EQ(execution2.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 141 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 142 ASSERT_EQ(execution2.compute(), Result::NO_ERROR); in TEST_F()
|
D | TestMemoryInternal.cpp | 163 WrapperExecution execution2(&compilation2); in TEST_F() local 164 ASSERT_EQ(execution2.setInputFromMemory(0, &input, offsetForMatrix1, sizeof(Matrix3x4)), in TEST_F() 166 ASSERT_EQ(execution2.setOutputFromMemory(0, &actual, offsetForActual, sizeof(Matrix3x4)), in TEST_F() 168 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F()
|