---
title: flip
framework: createml
role: symbol
role_heading: Type Property
path: createml/mlimageclassifier/imageaugmentationoptions/flip
---

# flip

An option for augmenting training data by flipping each image along the horizontal and vertical axes.

## Declaration

```swift
static let flip: MLImageClassifier.ImageAugmentationOptions
```

## Discussion

Discussion Use this option to tell the image classifier to augment your training data set by flipping the original images.

The classifier creates three new images by flipping the original horizontally, vertically, and both horizontally and vertically.

## See Also

### Selecting augmentation options

- [crop](createml/mlimageclassifier/imageaugmentationoptions/crop.md)
- [rotation](createml/mlimageclassifier/imageaugmentationoptions/rotation.md)
- [blur](createml/mlimageclassifier/imageaugmentationoptions/blur.md)
- [exposure](createml/mlimageclassifier/imageaugmentationoptions/exposure.md)
- [noise](createml/mlimageclassifier/imageaugmentationoptions/noise.md)
