Contents

init(contentsOf:)

Creates a new natural language model based on a compiled Core ML model at the given URL.

Declaration

convenience init(contentsOf url: URL) throws

Parameters

  • url:

    The location of the compiled Core ML model file in the file system (ending with .mlmodelc) that’s the basis for this natural language model.

See Also

Creating a model