---
title: "applied(to:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/augmenter/applied(to:)"
---

# applied(to:)

Applies an augmentation per input of the base sequence.

## Declaration

```swift
func applied<S, Annotation>(to base: S) -> AugmentationSequence<S, RandomTransformer, RandomNumberGenerator, Annotation> where S : Sequence, Annotation : Equatable, S.Element == AnnotatedFeature<RandomTransformer.Input, Annotation>
```

## Parameters

- `base`: A sequence of elements to augment.

## Mentioned in

Augmenting images to expand your training data

## Return Value

Return Value A sequence of augmented elements having the same number of elements as the input sequence.

## See Also

### Applying an augmentation

- [applied(to:upsampledBy:)](createmlcomponents/augmenter/applied(to:upsampledby:).md)
