---
title: regularizationType
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsnnoptimizerdescriptor/regularizationtype
---

# regularizationType

## Declaration

```swift
var regularizationType: MPSNNRegularizationType { get set }
```
