Compiles a model on the device to update the model in your app.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
- Core ML
The local file path to your downloaded
The local file path to the compiled model (the
.mlmodel file must be on the device. Pass the compiled model to
model to initialize an
Compiling can be time consuming and shouldn't be done on the main thread.
See Downloading and Compiling a Model on the User's Device for more details.