Searched refs:OH_NNExecutor_Run (Results 1 – 13 of 13) sorted by relevance
/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/ |
H A D | end_to_end_test.cpp | 169 ASSERT_EQ(OH_NN_SUCCESS, OH_NNExecutor_Run(m_executor)); 228 ASSERT_EQ(OH_NN_SUCCESS, OH_NNExecutor_Run(m_executor)); 293 ASSERT_EQ(OH_NN_SUCCESS, OH_NNExecutor_Run(m_executor)); 348 ASSERT_EQ(OH_NN_SUCCESS, OH_NNExecutor_Run(m_executor)); 420 ASSERT_EQ(OH_NN_SUCCESS, OH_NNExecutor_Run(m_executor)); 483 ASSERT_EQ(OH_NN_SUCCESS, OH_NNExecutor_Run(m_executor)); 545 ASSERT_EQ(OH_NN_SUCCESS, OH_NNExecutor_Run(m_executor)); 608 ASSERT_EQ(OH_NN_SUCCESS, OH_NNExecutor_Run(m_executor));
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/ |
H A D | neural_network_runtime.h | 479 OH_NN_ReturnCode OH_NNExecutor_Run(OH_NNExecutor *executor);
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/ |
H A D | nnrt_implementation.cpp | 87 LoadFunction(libNeuralNetworks, "OH_NNExecutor_Run", &nnrt.OH_NNExecutor_Run); in LoadNnrt()
|
H A D | nnrt_implementation.h | 69 OH_NN_ReturnCode (*OH_NNExecutor_Run)(OH_NNExecutor* executor); member
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | neural_network_runtime_compat.cpp | 89 NNRT_API OH_NN_ReturnCode OH_NNExecutor_Run(OH_NNExecutor *executor) in OH_NNExecutor_Run() function
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime_8h.md | 46 | [OH_NN_ReturnCode](_neural_network_runtime.md#oh_nn_returncode)[OH_NNExecutor_Run](_neural_networ…
|
H A D | _neural_network_runtime.md | 147 | [OH_NN_ReturnCode](#oh_nn_returncode)[OH_NNExecutor_Run](#oh_nnexecutor_run) ([OH_NNExecutor](#oh… 1505 …H_NNExecutor_SetInput](#oh_nnexecutor_setinput)设置模型输入数据, 设置输入数据后,调用[OH_NNExecutor_Run](#oh_nnexecu… 1744 调用[OH_NNExecutor_Run](#oh_nnexecutor_run)完成单次推理后,该接口获取指定输出的维度信息和维数。在动态形状输入、输出的场景中常用。 1768 ### OH_NNExecutor_Run() 1771 OH_NN_ReturnCode OH_NNExecutor_Run (OH_NNExecutor *executor) 1992 调用[OH_NNExecutor_Run](#oh_nnexecutor_run)完成单次模型推理后,Neural Network Runtime将比对dataBuffer指向的内存与 输出数据的长… 1996 - 如果内存大小小于数据长度:则[OH_NNExecutor_Run](#oh_nnexecutor_run)将返回OH_NN_INVALID_PARAMETER, 并输出日志告知内存太小的信息。
|
H A D | _neural_nework_runtime.md | 147 | [OH_NN_ReturnCode](#oh_nn_returncode)[OH_NNExecutor_Run](#oh_nnexecutor_run) ([OH_NNExecutor](#oh… 1505 …H_NNExecutor_SetInput](#oh_nnexecutor_setinput)设置模型输入数据, 设置输入数据后,调用[OH_NNExecutor_Run](#oh_nnexecu… 1744 调用[OH_NNExecutor_Run](#oh_nnexecutor_run)完成单次推理后,该接口获取指定输出的维度信息和维数。在动态形状输入、输出的场景中常用。 1768 ### OH_NNExecutor_Run() 1771 OH_NN_ReturnCode OH_NNExecutor_Run (OH_NNExecutor *executor) 1992 调用[OH_NNExecutor_Run](#oh_nnexecutor_run)完成单次模型推理后,Neural Network Runtime将比对dataBuffer指向的内存与 输出数据的长… 1996 - 如果内存大小小于数据长度:则[OH_NNExecutor_Run](#oh_nnexecutor_run)将返回OH_NN_INVALID_PARAMETER, 并输出日志告知内存太小的信息。
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | nnrt_delegate_kernel.cpp | 152 RETURN_TFLITE_ERROR_IF_NN_ERROR(m_nnrt->OH_NNExecutor_Run(pNnExecution), "running computation"); in Invoke()
|
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime_8h.md | 46 | [OH_NN_ReturnCode](_neural_network_runtime.md#oh_nn_returncode)[OH_NNExecutor_Run](_neural_networ…
|
H A D | _neural_network_runtime.md | 147 | [OH_NN_ReturnCode](#oh_nn_returncode)[OH_NNExecutor_Run](#oh_nnexecutor_run) ([OH_NNExecutor](#oh… 1505 …ut) to set the model input data. After the input data is set, call [OH_NNExecutor_Run](#oh_nnexecu… 1744 …ber of dimensions after a single inference is performed by calling [OH_NNExecutor_Run](#oh_nnexecu… 1768 ### OH_NNExecutor_Run() 1771 OH_NN_ReturnCode OH_NNExecutor_Run (OH_NNExecutor *executor) 1992 After [OH_NNExecutor_Run](#oh_nnexecutor_run) is called to complete a single model inference, NNRt …
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 1417 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNExecutor_Run(nnExecutor)); 1437 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNExecutor_Run(nnExecutor));
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 1672 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNExecutor_Run(nnExecutor)); 1691 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNExecutor_Run(nnExecutor)); 1715 OH_NN_ReturnCode ret = OH_NNExecutor_Run(nnExecutor);
|