Skip to content

Instantly share code, notes, and snippets.

@iosdevie
Created May 26, 2021 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iosdevie/3d23028970c95141531f98b655b65ecc to your computer and use it in GitHub Desktop.
Save iosdevie/3d23028970c95141531f98b655b65ecc to your computer and use it in GitHub Desktop.
pseudo code for re-training model data on a device
let updateTask = try MLUpdateTask(forModelAt: updatableModelURL, trainingData: trainingData, configuration: model.configuration, completionHandler: { context in
}
updateTask.resume()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment