---
title: "updateMeanAndVariance(with:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpscnnbatchnormalizationdatasource/updatemeanandvariance(with:)"
---

# updateMeanAndVariance(with:)

## Declaration

```swift
optional func updateMeanAndVariance(with batchNormalizationState: MPSCNNBatchNormalizationState) -> Bool
```
