Contents

load()

The instance method that loads the embedding model.

Declaration

func load() throws

Discussion

The method fails if the necessary assets aren’t on device for the model you specify. Use hasAvailableAssets and requestAssets(completionHandler:) to manage the assets.

See Also

Loading and unloading assets