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

# batchSize

The number of videos the training session uses for each of its training iterations.

## Declaration

```swift
var batchSize: Int
```

## See Also

### Accessing the training parameters

- [maximumIterations](createml/mlactionclassifier/modelparameters-swift.struct/maximumiterations.md)
- [targetFrameRate](createml/mlactionclassifier/modelparameters-swift.struct/targetframerate.md)
- [predictionWindowSize](createml/mlactionclassifier/modelparameters-swift.struct/predictionwindowsize.md)
- [algorithm](createml/mlactionclassifier/modelparameters-swift.struct/algorithm.md)
- [augmentationOptions](createml/mlactionclassifier/modelparameters-swift.struct/augmentationoptions.md)
- [validation](createml/mlactionclassifier/modelparameters-swift.struct/validation.md)
