ANeuralNetworksModel_free

Function ANeuralNetworksModel_free 

Source
pub unsafe extern "C" fn ANeuralNetworksModel_free(
    model: *mut ANeuralNetworksModel,
)
Expand description

Destroy a model.

The model need not have been finished by a call to {@link ANeuralNetworksModel_finish}.

See {@link ANeuralNetworksModel} for information on multithreaded usage.

Available since API level 27.

@param model The model to be destroyed. Passing NULL is acceptable and results in no operation.