---
title: gradientForGamma()
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: metalperformanceshaders/mpscnnbatchnormalizationstate/gradientforgamma()
---

# gradientForGamma()

## Declaration

```swift
func gradientForGamma() -> (any MTLBuffer)?
```
