---
title: kernelSize
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpscnncrosschannelnormalization/kernelsize
---

# kernelSize

The size of the square kernel window.

## Declaration

```swift
var kernelSize: Int { get }
```

## Discussion

Discussion The default value is 5.

## See Also

### Instance Properties

- [alpha](metalperformanceshaders/mpscnncrosschannelnormalization/alpha.md)
- [beta](metalperformanceshaders/mpscnncrosschannelnormalization/beta.md)
- [delta](metalperformanceshaders/mpscnncrosschannelnormalization/delta.md)
