---
title: "updateGammaAndBeta(with:instanceNormalizationStateBatch:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpscnninstancenormalizationdatasource/updategammaandbeta(with:instancenormalizationstatebatch:)"
---

# updateGammaAndBeta(with:instanceNormalizationStateBatch:)

## Declaration

```swift
optional func updateGammaAndBeta(with commandBuffer: any MTLCommandBuffer, instanceNormalizationStateBatch: [MPSCNNInstanceNormalizationGradientState]) -> MPSCNNNormalizationGammaAndBetaState?
```
