Searched refs:nnExecutor (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_executor/ |
H A D | nn_executor_test.cpp | 163 EXPECT_NE(nullptr, nnExecutor); 178 delete nnExecutor; 591 size_t ret = nnExecutor->GetInputNum(); 612 size_t ret = nnExecutor->GetOutputNum(); 1189 size_t ret = nnExecutor->GetBackendID(); 2120 nnExecutor->SetOutput(m_index, buffer, length); 2121 OH_NN_ReturnCode ret = nnExecutor->Run(); 2155 nnExecutor->SetOutput(m_index, buffer, length); 2156 OH_NN_ReturnCode ret = nnExecutor->Run(); 2192 nnExecutor->SetOutput(m_index, buffer, length); [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 1416 OH_NNExecutor* nnExecutor = nullptr; variable 1447 OH_NNExecutor* nnExecutor = nullptr; variable 1525 OH_NNExecutor* nnExecutor = nullptr; variable 1606 OH_NNExecutor* nnExecutor = nullptr; variable 1614 EXPECT_EQ(nullptr, nnExecutor); 1711 OH_NNExecutor* nnExecutor = nullptr; variable 1718 EXPECT_EQ(nullptr, nnExecutor); 1815 OH_NNExecutor* nnExecutor = nullptr; variable 1909 OH_NNExecutor* nnExecutor = nullptr; variable 1979 OH_NNExecutor* nnExecutor = nullptr; variable [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 1569 OH_NNExecutor* nnExecutor = nullptr; variable 1671 OH_NNExecutor* nnExecutor = nullptr; variable 1728 OH_NNExecutor* nnExecutor = nullptr; variable 1908 OH_NNExecutor* nnExecutor = nullptr; variable 2090 OH_NNExecutor* nnExecutor = nullptr; variable 2098 EXPECT_EQ(nullptr, nnExecutor); 2193 OH_NNExecutor* nnExecutor = nullptr; variable 2200 EXPECT_EQ(nullptr, nnExecutor); 2325 OH_NNExecutor* nnExecutor = nullptr; variable 2440 OH_NNExecutor* nnExecutor = nullptr; variable [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/ |
H A D | neural_network_core_test.cpp | 1756 OH_NNExecutor* nnExecutor = reinterpret_cast<OH_NNExecutor*>(&executor); variable 1794 OH_NNExecutor* nnExecutor = reinterpret_cast<OH_NNExecutor*>(&executor); variable 1830 OH_NNExecutor* nnExecutor = reinterpret_cast<OH_NNExecutor*>(&executor); variable 1899 OH_NNExecutor* nnExecutor = reinterpret_cast<OH_NNExecutor*>(&executor); variable 1900 OH_NN_ReturnCode ret = OH_NNExecutor_GetInputDimRange(nnExecutor, index, 1927 OH_NNExecutor* nnExecutor = reinterpret_cast<OH_NNExecutor*>(&executor); variable 1928 OH_NN_ReturnCode ret = OH_NNExecutor_GetInputDimRange(nnExecutor, index, 1965 OH_NN_ReturnCode ret = OH_NNExecutor_SetOnRunDone(nnExecutor, rundone); 2402 OH_NNExecutor* nnExecutor = nullptr; variable 2403 OH_NNExecutor_Destroy(&nnExecutor); [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | nnbackend.cpp | 163 NNExecutor* nnExecutor = nnCompiler->CreateExecutor(); in CreateExecutor() local 164 if (nnExecutor == nullptr) { in CreateExecutor() 169 return reinterpret_cast<Executor*>(nnExecutor); in CreateExecutor()
|
H A D | nncompiler.cpp | 770 NNExecutor* nnExecutor = new (std::nothrow) NNExecutor( in CreateExecutor() local 772 if (nnExecutor == nullptr) { in CreateExecutor() 777 return nnExecutor; in CreateExecutor()
|