---
title: batchSize
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mlhandposeclassifier/modelparameters-swift.struct/batchsize
---

# batchSize

The number of images the model training session uses for each training iteration.

## Declaration

```swift
var batchSize: Int
```

## See Also

### Accessing hand pose training parameters

- [maximumIterations](createml/mlhandposeclassifier/modelparameters-swift.struct/maximumiterations.md)
- [algorithm](createml/mlhandposeclassifier/modelparameters-swift.struct/algorithm.md)
- [augmentationOptions](createml/mlhandposeclassifier/modelparameters-swift.struct/augmentationoptions.md)
- [validation](createml/mlhandposeclassifier/modelparameters-swift.struct/validation.md)
