applied(to:eventHandler:)
Performs a classification on a shaped array.
Declaration
func applied(to input: MLShapedArray<Scalar>, eventHandler: EventHandler? = nil) async throws -> ClassificationDistribution<Label>Parameters
- input:
The classifier input.
- eventHandler:
An event handler.
Return Value
A classification distribution.