Structure

MLUpdateProgressEvent

A type of event during a model update task.

Declaration

struct MLUpdateProgressEvent

Topics

Getting Progress Event Types

static var trainingBegin: MLUpdateProgressEvent

An event that represents the start of training.

static var miniBatchEnd: MLUpdateProgressEvent

An event that represents the end of a mini-batch within a training epoch.

static var epochEnd: MLUpdateProgressEvent

An event that represents the end of training epoch.

Creating a Progress Event

init(rawValue: Int)

Creates a progress event for the given integer.

Relationships

Conforms To

See Also

Getting the Update Context

var event: MLUpdateProgressEvent

The event type that triggered an update task to notify your app’s completion and update progress handlers.

var task: MLUpdateTask

The update task that generated the update context.

var parameters: [MLParameterKey : Any]

The parameters for the update task.

class MLParameterKey

A key for model and update parameter dictionaries.