Indicate that we have finished modifying a compilation. Required before calling {@link ANeuralNetworksExecution_create}.
An application is responsible to make sure that no other thread uses the compilation at the same time.
This function must only be called once for a given compilation.
See {@link ANeuralNetworksCompilation} for information on multithreaded usage.
Available since API level 27.
@param compilation The compilation to be finished.
@return ANEURALNETWORKS_NO_ERROR if successful.
See Implementation
Indicate that we have finished modifying a compilation. Required before calling {@link ANeuralNetworksExecution_create}.
An application is responsible to make sure that no other thread uses the compilation at the same time.
This function must only be called once for a given compilation.
See {@link ANeuralNetworksCompilation} for information on multithreaded usage.
Available since API level 27.
@param compilation The compilation to be finished.
@return ANEURALNETWORKS_NO_ERROR if successful.