Instance Property


The configuration of the model set during initialization.


var configuration: MLModelConfiguration { get }

See Also

Inspecting a Model

var modelDescription: MLModelDescription

Model information you use at runtime during development, which Xcode also displays in its Core ML model editor view.

class MLModelDescription

Information about a model, primarily the input and output format for each feature the model expects, and optional metadata.

func parameterValue(for: MLParameterKey) -> Any

Returns a model parameter value for a key.

class MLParameterKey

The keys for the parameter dictionary in a model configuration or a model update context.

class MLKey

An abstract base class for machine learning key types.