---
title: "applied(_:eventHandler:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/reshaper/applied(_:eventhandler:)"
---

# applied(_:eventHandler:)

Reshapes a sequence of inputs.

## Declaration

```swift
func applied<S>(_ input: S, eventHandler: EventHandler? = nil) throws -> [MLShapedArray<Scalar>] where S : Sequence, S.Element == MLShapedArray<Scalar>
```

## Parameters

- `input`: A sequence of input shaped arrays.
- `eventHandler`: An event handler.

## Return Value

Return Value An array of shaped arrays.

## See Also

### Performing the transformation

- [applied(to:eventHandler:)](createmlcomponents/reshaper/applied(to:eventhandler:).md)
