/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/ |
H A D | executor.h | 47 virtual OH_NN_ReturnCode SetOnRunDone(NN_OnRunDone onRunDone) = 0;
|
H A D | neural_network_core.cpp | 1578 NNRT_API OH_NN_ReturnCode OH_NNExecutor_SetOnRunDone(OH_NNExecutor *executor, NN_OnRunDone onRunDon… in OH_NNExecutor_SetOnRunDone()
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/ |
H A D | neural_network_core.h | 975 OH_NN_ReturnCode OH_NNExecutor_SetOnRunDone(OH_NNExecutor *executor, NN_OnRunDone onRunDone);
|
H A D | neural_network_runtime_type.h | 215 typedef void (*NN_OnRunDone)(void *userData, OH_NN_ReturnCode errCode, void *outputTensor[], int32_… typedef
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | nnexecutor.h | 46 OH_NN_ReturnCode SetOnRunDone(NN_OnRunDone onRunDone) override;
|
H A D | nnexecutor.cpp | 228 OH_NN_ReturnCode NNExecutor::SetOnRunDone(NN_OnRunDone onRunDone) in SetOnRunDone()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | _neural_network_runtime.md | 46 | typedef void(\* [NN_OnRunDone](#nn_onrundone)) (void \*userData, [OH_NN_ReturnCode](#oh_nn_return… 122 …nexecutor_setonrundone) ([OH_NNExecutor](#oh_nnexecutor) \*executor, [NN_OnRunDone](#nn_onrundone)… 159 ### NN_OnRunDone subsection 162 typedef void(* NN_OnRunDone) (void *userData, OH_NN_ReturnCode errCode, void *outputTensor[], int32… 1807 该接口是非阻塞式的,调用后会立刻返回,而推理结果、执行返回状态可以通过回调函数[NN_OnRunDone](#nn_onrundone)来获取。 如果设备驱动服务在执行过程中异常终止,可以通过回调函… 1809 …_NNExecutor_SetOnServiceDied](#oh_nnexecutor_setonservicedied)设置回调函数 [NN_OnRunDone](#nn_onrundone)… 1811 如果推理时长超过了**timeout**,会立刻终止推理,回调函数[NN_OnRunDone](#nn_onrundone)的**errCode**参数会返回OH_NN_TIMEOUT错误。 1931 OH_NN_ReturnCode OH_NNExecutor_SetOnRunDone (OH_NNExecutor *executor, NN_OnRunDone onRunDone ) 1938 回调函数的定义详见[NN_OnRunDone](#nn_onrundone)。 1947 | onRunDone | 回调函数句柄[NN_OnRunDone](#nn_onrundone)。 |
|
H A D | _neural_nework_runtime.md | 46 | typedef void(\* [NN_OnRunDone](#nn_onrundone)) (void \*userData, [OH_NN_ReturnCode](#oh_nn_return… 122 …nexecutor_setonrundone) ([OH_NNExecutor](#oh_nnexecutor) \*executor, [NN_OnRunDone](#nn_onrundone)… 159 ### NN_OnRunDone subsection 162 typedef void(* NN_OnRunDone) (void *userData, OH_NN_ReturnCode errCode, void *outputTensor[], int32… 1807 该接口是非阻塞式的,调用后会立刻返回,而推理结果、执行返回状态可以通过回调函数[NN_OnRunDone](#nn_onrundone)来获取。 如果设备驱动服务在执行过程中异常终止,可以通过回调函… 1809 …_NNExecutor_SetOnServiceDied](#oh_nnexecutor_setonservicedied)设置回调函数 [NN_OnRunDone](#nn_onrundone)… 1811 如果推理时长超过了**timeout**,会立刻终止推理,回调函数[NN_OnRunDone](#nn_onrundone)的**errCode**参数会返回OH_NN_TIMEOUT错误。 1931 OH_NN_ReturnCode OH_NNExecutor_SetOnRunDone (OH_NNExecutor *executor, NN_OnRunDone onRunDone ) 1938 回调函数的定义详见[NN_OnRunDone](#nn_onrundone)。 1947 | onRunDone | 回调函数句柄[NN_OnRunDone](#nn_onrundone)。 |
|
H A D | neural__network__runtime__type_8h.md | 45 | typedef void(\* [NN_OnRunDone](_neural_network_runtime.md#nn_onrundone)) (void \*userData, [OH_NN…
|
H A D | neural__network__core_8h.md | 71 …OH_NNExecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, [NN_OnRunDone](_neural_networ…
|
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime__type_8h.md | 45 | typedef void(\* [NN_OnRunDone](_neural_network_runtime.md#nn_onrundone)) (void \*userData, [OH_NN…
|
H A D | neural__network__core_8h.md | 71 …OH_NNExecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, [NN_OnRunDone](_neural_networ…
|
H A D | _neural_network_runtime.md | 46 | typedef void(\* [NN_OnRunDone](#nn_onrundone)) (void \*userData, [OH_NN_ReturnCode](#oh_nn_return… 122 …nexecutor_setonrundone) ([OH_NNExecutor](#oh_nnexecutor) \*executor, [NN_OnRunDone](#nn_onrundone)… 159 ### NN_OnRunDone subsection 162 typedef void(* NN_OnRunDone) (void *userData, OH_NN_ReturnCode errCode, void *outputTensor[], int32… 1807 … obtain the inference result and execution return status through the [NN_OnRunDone](#nn_onrundone)… 1809 You can set the [NN_OnRunDone](#nn_onrundone) and [NN_OnServiceDied](#nn_onservicedied) callbacks b… 1811 …diately and the error code **OH_NN_TIMEOUT** is returned through the [NN_OnRunDone](#nn_onrundone)… 1931 OH_NN_ReturnCode OH_NNExecutor_SetOnRunDone (OH_NNExecutor *executor, NN_OnRunDone onRunDone ) 1938 For the definition of the callback function, see [NN_OnRunDone](#nn_onrundone). 1947 | onRunDone | Handle of the callback function [NN_OnRunDone](#nn_onrundone)|
|
/ohos5.0/foundation/ai/neural_network_runtime/ |
H A D | neural-network-runtime-guidelines.md | 134 | OH_NN_ReturnCode OH_NNExecutor_SetOnRunDone(OH_NNExecutor *executor, NN_OnRunDone onRunDone) | 设置…
|
/ohos5.0/docs/zh-cn/application-dev/ai/nnrt/ |
H A D | neural-network-runtime-guidelines.md | 134 | OH_NN_ReturnCode OH_NNExecutor_SetOnRunDone(OH_NNExecutor *executor, NN_OnRunDone onRunDone) | 设置…
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/ |
H A D | neural_network_core_test.cpp | 1943 NN_OnRunDone rundone = nullptr; 1964 NN_OnRunDone rundone = nullptr;
|
/ohos5.0/docs/en/application-dev/ai/nnrt/ |
H A D | neural-network-runtime-guidelines.md | 134 | OH_NN_ReturnCode OH_NNExecutor_SetOnRunDone(OH_NNExecutor *executor, NN_OnRunDone onRunDone) | Se…
|