<p>Schedules evaluation of the execution. Once the model has been
applied and the outputs are ready to be consumed, the returned event will be
signaled. Use {@link ANeuralNetworksEvent_wait} to wait for that event.
</p>
Multiple executions can be scheduled and evaluated concurrently. The
runtime makes no guarantee on the ordering of completion of
executions. If it's important to the application, the application
should enforce the ordering by using
{@link ANeuralNetworksEvent_wait}.
ANeuralNetworksEvent_wait must be called to recuperate the resources used
by the execution.
See {@link ANeuralNetworksExecution} for information on multithreaded usage.
Available since API level 27.
@param execution The execution to be scheduled and executed.
@param event The event that will be signaled on completion. event is set to
NULL if there's an error.
Schedule evaluation of the execution.
<p>Schedules evaluation of the execution. Once the model has been applied and the outputs are ready to be consumed, the returned event will be signaled. Use {@link ANeuralNetworksEvent_wait} to wait for that event. </p>
Multiple executions can be scheduled and evaluated concurrently. The runtime makes no guarantee on the ordering of completion of executions. If it's important to the application, the application should enforce the ordering by using {@link ANeuralNetworksEvent_wait}.
ANeuralNetworksEvent_wait must be called to recuperate the resources used by the execution.
See {@link ANeuralNetworksExecution} for information on multithreaded usage.
Available since API level 27.
@param execution The execution to be scheduled and executed. @param event The event that will be signaled on completion. event is set to NULL if there's an error.
@return ANEURALNETWORKS_NO_ERROR if successful.