prediction(from:)
Performs a prediction on a single input.
Declaration
func prediction<S, Label>(from input: S) async throws -> Self.OutputSequence where S : TemporalSequence, Label : Hashable, Self.Input == S.Feature, Self.Output == ClassificationDistribution<Label>Parameters
- input:
The input feature.
Return Value
A classification array.