ReadModelProvider

@available(OSX 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
@objc(FritzReadModelProvider)
public protocol ReadModelProvider

Manages an MLModel instance

  • A read model

    Declaration

    Swift

    var model: MLModel { get }
  • The url of the compiled model url in the bundle.

    Declaration

    Swift

    @objc(urlOfModelInThisBundle)
    optional static var urlOfModelInThisBundle: URL { get }