ModelPerformance
public struct ModelPerformance : Comparable
Structure representing performance setting for tasks related to specific ML model. It’s defined as a combination of mode and rate.
-
Performance Mode.
Declaration
Swift
public let mode: ModelPerformanceMode
-
Performance Rate.
Declaration
Swift
public let rate: ModelPerformanceRate
-
Creates an instance of model performance with mode and rate.
Declaration
Swift
public init(mode: ModelPerformanceMode, rate: ModelPerformanceRate)