/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/common/ |
H A D | nnrt_test.h | 65 virtual OH_NN_ReturnCode SetInputFromMemory(uint32_t index,
|
H A D | nnrt_test.cpp | 151 OH_NN_ReturnCode NNRtTest::SetInputFromMemory(uint32_t index, in SetInputFromMemory() function in OHOS::NeuralNetworkRuntime::SystemTest::NNRtTest
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/executor/ |
H A D | executor_test.cpp | 271 EXPECT_EQ(OH_NN_SUCCESS, executorTest.SetInputFromMemory(m_index, tensor, memory)); 348 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); 370 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); 398 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); 419 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); 440 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory);
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/executor/ |
H A D | executor_test.cpp | 271 EXPECT_EQ(OH_NN_SUCCESS, executorTest.SetInputFromMemory(m_index, tensor, memory)); 348 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); 370 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); 398 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); 419 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); 440 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory);
|
/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/ |
H A D | end_to_end_test.cpp | 215 …SetInputFromMemory(0, {3, 2, 2}, (void*)firstAddendValue.data(), ADDEND_DATA_LENGTH, &firstAddendM… 221 …SetInputFromMemory(1, {3, 2, 2}, (void*)secondAddendValue.data(), ADDEND_DATA_LENGTH, &secondAdden… 476 …SetInputFromMemory(1, {3, 2, 2}, (void*)secondAddendValue.data(), ADDEND_DATA_LENGTH, &secondAdden…
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | neural_network_runtime_compat.cpp | 211 return executorImpl->SetInputFromMemory(inputIndex, *tensor, *memory); in OH_NNExecutor_SetInputWithMemory()
|
H A D | nnexecutor.h | 65 …OH_NN_ReturnCode SetInputFromMemory(uint32_t index, const OH_NN_Tensor& nnTensor, const OH_NN_Memo…
|
H A D | nnexecutor.cpp | 643 OH_NN_ReturnCode NNExecutor::SetInputFromMemory( in SetInputFromMemory() function in OHOS::NeuralNetworkRuntime::NNExecutor
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_executor/ |
H A D | nn_executor_test.cpp | 1318 OH_NN_ReturnCode ret = nnExecutor->SetInputFromMemory(m_index, tensor, memory); 1351 OH_NN_ReturnCode ret = nnExecutor->SetInputFromMemory(m_index, tensor, memory); 1391 OH_NN_ReturnCode ret = nnExecutor->SetInputFromMemory(m_index, tensor, memory);
|