Compile a model on device to install or update the model over the air.
- iOS 11.0+Beta
- macOS 10.13+Beta
- tvOS 11.0+Beta
- Core ML
The file path to your downloaded
The file path to the compiled model (the
Use this method to compile a model for your app. The model is compiled to a temporary location. To maintain access to the file move it to a more permanent location, such as your app's document directory. To create the new model, pass the compiled model to the
Compiling can be time consuming and shouldn't be done on the main thread.