applied(to:eventHandler:)
Performs the transformation on an input sequence.
Declaration
func applied(to input: some TemporalSequence<MLShapedArray<Scalar>>, eventHandler: EventHandler? = nil) async throws -> AnyTemporalSequence<ClassificationDistribution<Label>>Parameters
- input:
A temporal sequence of features. Each feature’s shape must be
[featureSize]. - eventHandler:
An event handler.
Return Value
An temporal sequence of predictions. Each prediction’s shape is [forecastWindowSize, annotationSize].