ModelPerformanceConfig
public enum ModelPerformanceConfig : Equatable
Enumeration representing configuration for ML models
-
Segmentation and detection are produced by one merged model. Works more efficiently in a workflow requiring comparable performance for detection and segmentation.
Declaration
Swift
case merged(performance: ModelPerformance)
-
Segmentation and detection are produced by separate models. May perform better when segmentation and detection are required to produce output with different frequencies.
Declaration
Swift
case separate(segmentationPerformance: ModelPerformance, detectionPerformance: ModelPerformance)