---
title: "temporaryState(with:numberOfFeatureChannels:)"
framework: metalperformanceshaders
role: symbol
role_heading: Type Method
path: "metalperformanceshaders/mpscnnnormalizationmeanandvariancestate/temporarystate(with:numberoffeaturechannels:)"
---

# temporaryState(with:numberOfFeatureChannels:)

## Declaration

```swift
class func temporaryState(with commandBuffer: any MTLCommandBuffer, numberOfFeatureChannels: Int) -> Self
```
