---
title: MPSCNNBatchNormalizationFlags
framework: metalperformanceshaders
role: symbol
role_heading: Structure
path: metalperformanceshaders/mpscnnbatchnormalizationflags
---

# MPSCNNBatchNormalizationFlags

Options that define how statistics are calculated during batch normalization.

## Declaration

```swift
struct MPSCNNBatchNormalizationFlags
```

## Topics

### Initializers

- [init(rawValue:)](metalperformanceshaders/mpscnnbatchnormalizationflags/init(rawvalue:).md)

### Type Properties

- [CalculateStatisticsAutomatic](metalperformanceshaders/mpscnnbatchnormalizationflags/calculatestatisticsautomatic.md)
- [Default](metalperformanceshaders/mpscnnbatchnormalizationflags/default.md)
- [calculateStatisticsAlways](metalperformanceshaders/mpscnnbatchnormalizationflags/calculatestatisticsalways.md)
- [calculateStatisticsMask](metalperformanceshaders/mpscnnbatchnormalizationflags/calculatestatisticsmask.md)
- [calculateStatisticsNever](metalperformanceshaders/mpscnnbatchnormalizationflags/calculatestatisticsnever.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)
