Contents

load(asset:configuration:)

Construct the compute plan of a model asynchronously given the model asset.

Declaration

static func load(asset: MLModelAsset, configuration: MLModelConfiguration) async throws -> MLComputePlan

Parameters

  • asset:

    The model asset.

  • configuration:

    The model configuration.

See Also

Loading a compute plan