Contents

restoreTrainingSession(sessionParameters:)

Creates an asynchronous training session for a style transfer model by restoring an existing training session’s state from its parameters.

Declaration

static func restoreTrainingSession(sessionParameters: MLTrainingSessionParameters) throws -> MLTrainingSession<MLStyleTransfer>

Parameters

Return Value

An MLTrainingSession that represents the style transfer model-training session.

See Also

Training a style transfer model asynchronously