FirebaseMLModelDownloader Framework Reference

CustomModel

public struct CustomModel : Hashable

A custom model that is stored remotely on the server and downloaded to the device.

  • Name of the model.

    Declaration

    Swift

    public let name: String
  • Size of the custom model, provided by the server.

    Declaration

    Swift

    public let size: Int
  • Path where the model is stored on device.

    Declaration

    Swift

    public let path: String
  • Hash for the model, used for model verification.

    Declaration

    Swift

    public let hash: String