pub unsafe extern "C" fn ANeuralNetworksModel_create(
model: *mut *mut ANeuralNetworksModel,
) -> c_intExpand description
Create an empty {@link ANeuralNetworksModel}.
This only creates the object. Computation is performed once {@link ANeuralNetworksExecution_burstCompute}, {@link ANeuralNetworksExecution_compute}, {@link ANeuralNetworksExecution_startCompute} or {@link ANeuralNetworksExecution_startComputeWithDependencies} is invoked.
The model should be constructed with calls to {@link ANeuralNetworksModel_addOperation} and {@link ANeuralNetworksModel_addOperand}
{@link ANeuralNetworksModel_finish} should be called once the model has been fully constructed.
{@link ANeuralNetworksModel_free} should be called once the model is no longer needed.
Available since API level 27.
@param model The {@link ANeuralNetworksModel} to be created. Set to NULL if unsuccessful.
@return ANEURALNETWORKS_NO_ERROR if successful.