Contents

applied(to:eventHandler:)

Performs a transformation on a single input.

Declaration

func applied(to input: MLShapedArray<Scalar>, eventHandler: EventHandler? = nil) async throws -> MLShapedArray<Scalar>

Parameters

  • input:

    The input.

  • eventHandler:

    An event handler.

Return Value

The transformed input.