---
title: numberOfFeatureChannels()
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: metalperformanceshaders/mpscnnbatchnormalizationdatasource/numberoffeaturechannels()
---

# numberOfFeatureChannels()

## Declaration

```swift
func numberOfFeatureChannels() -> Int
```
