adaptedAsAnnotatedPredictionTransformer(annotationType:)
Returns an annotated-prediction transformer that transforms the predictions using this transformer while leaving the annotations unchanged.
Declaration
func adaptedAsAnnotatedPredictionTransformer<Annotation>(annotationType: Annotation.Type = Annotation.self) -> some Transformer<AnnotatedPrediction<Self.Input, Annotation>, AnnotatedPrediction<Self.Output, Annotation>>