applied(to:eventHandler:)
Reshapes the input.
Declaration
func applied(to input: MLShapedArray<Scalar>, eventHandler: EventHandler? = nil) throws -> MLShapedArray<Scalar>Parameters
- input:
A shaped array.
- eventHandler:
An event handler.
Return Value
A shaped array with the target shape.