Structure

MLModelMetadataKey

Keys for the metadata dictionary used by the model.

Declaration

struct MLModelMetadataKey

Topics

Metadata Keys

static let author: MLModelMetadataKey

Key for the author of the model.

static let description: MLModelMetadataKey

Key for the overall description of the model.

static let license: MLModelMetadataKey

Key for the license of the model.

static let versionString: MLModelMetadataKey

Key for the version of the model.

static let creatorDefinedKey: MLModelMetadataKey

Key for the model creator’s custom metadata.

Creating Metadata

Relationships

See Also

Accessing Metadata

var metadata: [MLModelMetadataKey : Any]

Metadata object that has information related to the model, as defined by the keys in the MLModelMetadataKey.