---
title: MPSCNNNormalizationGammaAndBetaState
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpscnnnormalizationgammaandbetastate
---

# MPSCNNNormalizationGammaAndBetaState

An object that stores gamma and beta terms used to apply a scale and bias in instance- or batch-normalization operations.

## Declaration

```swift
class MPSCNNNormalizationGammaAndBetaState
```

## Topics

### Initializers

- [init(gamma:beta:)](metalperformanceshaders/mpscnnnormalizationgammaandbetastate/init(gamma:beta:).md)

### Instance Properties

- [beta](metalperformanceshaders/mpscnnnormalizationgammaandbetastate/beta.md)
- [gamma](metalperformanceshaders/mpscnnnormalizationgammaandbetastate/gamma.md)

### Type Methods

- [temporaryState(with:numberOfFeatureChannels:)](metalperformanceshaders/mpscnnnormalizationgammaandbetastate/temporarystate(with:numberoffeaturechannels:).md)

## Relationships

### Inherits From

- [MPSState](metalperformanceshaders/mpsstate.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Normalization Layers

- [MPSCNNCrossChannelNormalization](metalperformanceshaders/mpscnncrosschannelnormalization.md)
- [MPSCNNCrossChannelNormalizationGradient](metalperformanceshaders/mpscnncrosschannelnormalizationgradient.md)
- [MPSCNNLocalContrastNormalization](metalperformanceshaders/mpscnnlocalcontrastnormalization.md)
- [MPSCNNLocalContrastNormalizationGradient](metalperformanceshaders/mpscnnlocalcontrastnormalizationgradient.md)
- [MPSCNNSpatialNormalization](metalperformanceshaders/mpscnnspatialnormalization.md)
- [MPSCNNSpatialNormalizationGradient](metalperformanceshaders/mpscnnspatialnormalizationgradient.md)
- [MPSCNNBatchNormalization](metalperformanceshaders/mpscnnbatchnormalization.md)
- [MPSCNNBatchNormalizationGradient](metalperformanceshaders/mpscnnbatchnormalizationgradient.md)
- [MPSCNNBatchNormalizationState](metalperformanceshaders/mpscnnbatchnormalizationstate.md)
- [MPSCNNNormalizationMeanAndVarianceState](metalperformanceshaders/mpscnnnormalizationmeanandvariancestate.md)
- [MPSCNNBatchNormalizationStatistics](metalperformanceshaders/mpscnnbatchnormalizationstatistics.md)
- [MPSCNNBatchNormalizationStatisticsGradient](metalperformanceshaders/mpscnnbatchnormalizationstatisticsgradient.md)
- [MPSCNNInstanceNormalization](metalperformanceshaders/mpscnninstancenormalization.md)
- [MPSCNNInstanceNormalizationGradient](metalperformanceshaders/mpscnninstancenormalizationgradient.md)
- [MPSCNNInstanceNormalizationGradientState](metalperformanceshaders/mpscnninstancenormalizationgradientstate.md)
