Instance Property

model

The Core ML model on which the request is based, wrapped in a VNCoreMLModel.

Declaration

var model: VNCoreMLModel { get }

See Also

Initializing with a Core ML Model

init(model: VNCoreMLModel)

Creates a model container to be used with VNCoreMLRequest based on a Core ML model.

init(model: VNCoreMLModel, completionHandler: VNRequestCompletionHandler?)

Creates a model container to be used with VNCoreMLRequest based on a Core ML model, with an optional completion handler.

class VNCoreMLModel

A container for a Core ML model used with Vision requests.