MediaPipeTasksDecision Framework Reference

Enumerations

The following declarations are available globally.

  • Hardware delegate selection for running MediaPipe Decision inference on Apple platforms.

    Declaration

    Swift

    enum DecisionMakerDelegate: Sendable, Equatable, Hashable, RawRepresentable
  • Errors thrown by the MediaPipe Decision Swift SDK.

    Declaration

    Swift

    enum DecisionMakerError: Error, Equatable, Sendable, LocalizedError, CustomNSError
  • Mutually exclusive source for the .task, .tflite, or .litertlm model asset.

    Declaration

    Swift

    enum ModelSource: Sendable, Equatable
  • Multi-token log-probability scoring mode for ChoiceQuestion.

    Declaration

    Swift

    enum ScoringMode: Sendable, Equatable, Hashable, RawRepresentable