pub unsafe extern "C" fn ANeuralNetworksExecution_free(
execution: *mut ANeuralNetworksExecution,
)Expand description
Destroy an execution.
The execution need not have been scheduled by a call to {@link ANeuralNetworksExecution_burstCompute}, {@link ANeuralNetworksExecution_compute}, {@link ANeuralNetworksExecution_startCompute} or {@link ANeuralNetworksExecution_startComputeWithDependencies}; but if it has been scheduled, then the application must not call {@link ANeuralNetworksExecution_free} until the execution has completed (i.e., {@link ANeuralNetworksExecution_burstCompute}, {@link ANeuralNetworksExecution_compute}, or {@link ANeuralNetworksEvent_wait} has returned).
See {@link ANeuralNetworksExecution} for information on multithreaded usage.
Available since API level 27.
@param execution The execution to be destroyed. Passing NULL is acceptable and results in no operation.