<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateMLComponents",
  "identifier" : "/documentation/CreateMLComponents/AugmentationBuilder",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Create ML Components"
    ],
    "preciseIdentifier" : "s:18CreateMLComponents19AugmentationBuilderV"
  },
  "title" : "AugmentationBuilder"
}
-->

# AugmentationBuilder

A series of augmentations.

```
@resultBuilder struct AugmentationBuilder<Element>
```

## Topics

### Building augmentations

[`static buildPartialBlock(accumulated:next:)`](/documentation/CreateMLComponents/AugmentationBuilder/buildPartialBlock(accumulated:next:))

Builds a partial result by combining an accumulated random transformer and a new random transformer.

[`static buildPartialBlock(first:)`](/documentation/CreateMLComponents/AugmentationBuilder/buildPartialBlock(first:))

Builds a partial result random transformer from the first random transformer.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)