Contents

MLModelAsset

An abstraction of a compiled Core ML model asset.

Declaration

class MLModelAsset

Overview

MLModelAsset provides a unified interface by abstracting the compiled model representations for .mlmodelc files and in-memory representations.

To use an in-memory model, create an MLModelAsset with an in-memory model specification, then call load(_:configuration:completionHandler:).

Topics

Creating a model asset

Getting function names

Getting the model description

Initializers

See Also

Model inputs and outputs