Contents

write(to:metadata:)

Exports the style transfer model as a Core ML model file to a location in the file system.

Declaration

func write(to fileURL: URL, metadata: MLModelMetadata? = .init()) throws

Parameters

  • fileURL:

    The location URL in the file system where you want to save the model.

  • metadata:

    Descriptive information to include with the exported model file.

See Also

Saving a style transfer model