Structure

MLModelMetadata

Information about a model that’s stored in a Core ML model file.

Declaration

struct MLModelMetadata

Overview

Create a metadata instance and store it as part of your model when you export a Core ML model. You can examine this metadata in Xcode when you import the model into your app.

Topics

Creating Metadata

Accessing Metadata

var author: String

The author of the model.

var shortDescription: String

A short text description of the model.

var license: String?

The license governing the use of the model.

var version: String

The model version.

var additional: [String : String]?

A dictionary that encodes key value pairs to hold additional information about the model.