load(contentsOf:configuration:)
Construct the compute plan of a model asynchronously given the location of its on-disk representation.
Declaration
static func load(contentsOf url: URL, configuration: MLModelConfiguration) async throws -> MLComputePlanParameters
- url:
The on-disk location of the compiled model (.mlmodelc directory).
- configuration:
The model configuration.