MediaPipeTasksDecision Framework Reference

DecisionMakerOptions.ModelSource

enum ModelSource: Sendable, Equatable

Mutually exclusive source for the .task, .tflite, or .litertlm model asset.

  • In-memory model Data buffer.

    Declaration

    Swift

    case data(Data)
  • Absolute filesystem path to the model bundle on disk.

    Declaration

    Swift

    case filePath(String)