Lines Matching refs:mExecution
213 ASSERT_EQ(ANeuralNetworksExecution_create(mCompilation, &mExecution), in SetUp()
217 ANeuralNetworksExecution_free(mExecution); in TearDown()
220 ANeuralNetworksExecution* mExecution = nullptr; member in __anona1c03bcd0111::ValidationTestExecution
275 ASSERT_EQ(ANeuralNetworksExecution_create(mCompilation, &mExecution), in SetUp()
299 ANeuralNetworksExecution_free(mExecution); in TearDown()
384 ANeuralNetworksExecution* mExecution = nullptr; member in __anona1c03bcd0111::ValidationTestExecutionDeviceMemory
1579 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, nullptr, nullptr, sizeof(float)), in TEST_F()
1583 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, nullptr, buffer, 20), in TEST_F()
1587 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 999, nullptr, buffer, sizeof(float)), in TEST_F()
1591 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, -1, nullptr, buffer, sizeof(float)), in TEST_F()
1595 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, &kInvalidTensorType1, buffer, in TEST_F()
1598 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, &kInvalidTensorType2, buffer, in TEST_F()
1603 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, nullptr, buffer, 8), in TEST_F()
1605 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, nullptr, buffer, 8), in TEST_F()
1611 EXPECT_EQ(ANeuralNetworksExecution_enableInputAndOutputPadding(mExecution, true), in TEST_F()
1616 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, nullptr, buffer, in TEST_F()
1628 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, nullptr, nullptr, sizeof(float)), in TEST_F()
1632 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, nullptr, buffer, 20), in TEST_F()
1636 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 999, nullptr, buffer, sizeof(float)), in TEST_F()
1640 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, -1, nullptr, buffer, sizeof(float)), in TEST_F()
1644 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, &kInvalidTensorType1, buffer, in TEST_F()
1647 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, &kInvalidTensorType2, buffer, in TEST_F()
1652 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, nullptr, buffer, 8), in TEST_F()
1654 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, nullptr, buffer, 8), in TEST_F()
1660 EXPECT_EQ(ANeuralNetworksExecution_enableInputAndOutputPadding(mExecution, true), in TEST_F()
1665 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, nullptr, buffer, in TEST_F()
1686 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, nullptr, 0, in TEST_F()
1691 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 999, nullptr, memory, 0, in TEST_F()
1696 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, -1, nullptr, memory, 0, in TEST_F()
1701 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, memory, 0, in TEST_F()
1706 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, memory, in TEST_F()
1711 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, memory, in TEST_F()
1716 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, &kInvalidTensorType1, in TEST_F()
1719 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, &kInvalidTensorType2, in TEST_F()
1724 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, memory, 0, 8), in TEST_F()
1726 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, memory, 0, 8), in TEST_F()
1729 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, nullptr, buffer, 8), in TEST_F()
1748 EXPECT_EQ(ANeuralNetworksExecution_enableInputAndOutputPadding(mExecution, true), in TEST_F()
1752 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, memory, 0, in TEST_F()
1783 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, memory, 0, in TEST_F()
1788 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, memory, in TEST_F()
1792 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, memory, in TEST_F()
1797 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, &kInvalidTensorType1, in TEST_F()
1800 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, &kInvalidTensorType2, in TEST_F()
1829 EXPECT_EQ(ANeuralNetworksExecution_enableInputAndOutputPadding(mExecution, true), in TEST_F()
1833 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, memory, 0, in TEST_F()
1928 EXPECT_EQ(ANeuralNetworksExecution_enableInputAndOutputPadding(mExecution, true), in TEST_F()
1964 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(mExecution, 0, nullptr, memory, 0, in TEST_F()
1969 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(mExecution, 0, nullptr, memory, in TEST_F()
1974 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(mExecution, 0, nullptr, memory, in TEST_F()
1979 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(mExecution, 0, &kInvalidTensorType1, in TEST_F()
1982 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(mExecution, 0, &kInvalidTensorType2, in TEST_F()
2011 EXPECT_EQ(ANeuralNetworksExecution_enableInputAndOutputPadding(mExecution, true), in TEST_F()
2015 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(mExecution, 0, nullptr, memory, 0, in TEST_F()
2131 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, memory, 1, 0), in TEST_F()
2133 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, memory, 0, in TEST_F()
2138 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(mExecution, 0, nullptr, memory, 0, 0), in TEST_F()
2162 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(mExecution, 0, nullptr, memory, 1, 0), in TEST_F()
2164 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(mExecution, 0, nullptr, memory, 0, in TEST_F()
2169 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(mExecution, 0, nullptr, memory, 0, 0), in TEST_F()
2445 ANeuralNetworksExecution_setInput(mExecution, 0, &operandType, buffer, sizeof(buffer)), in TEST_F()
2448 ANeuralNetworksExecution_setOutput(mExecution, 0, &operandType, buffer, sizeof(buffer)), in TEST_F()
2496 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, &inputType, inputData.data(), in TEST_F()
2499 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 1, &inputType, inputData.data(), in TEST_F()
2502 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 2, &biasType, inputData.data(), in TEST_F()
2505 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, nullptr, outputData.data(), in TEST_F()
2510 EXPECT_NE(ANeuralNetworksExecution_compute(mExecution), ANEURALNETWORKS_NO_ERROR); in TEST_F()
2514 EXPECT_EQ(ANeuralNetworksExecution_burstCompute(mExecution, nullptr), in TEST_F()
2557 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, nullptr, inputA0, sizeof(inputA0)), in TEST_F()
2559 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 1, nullptr, inputA1, sizeof(inputA1)), in TEST_F()
2561 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 2, nullptr, inputA2, sizeof(inputA2)), in TEST_F()
2564 ANeuralNetworksExecution_setOutput(mExecution, 0, nullptr, outputA0, sizeof(outputA0)), in TEST_F()
2587 return ANeuralNetworksExecution_burstCompute(mExecution, mBurst); in TEST_F()