---
title: MLCRegularizationType.l2
framework: ML Compute
role: symbol
role_heading: Case
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcregularizationtype/l2
---

# MLCRegularizationType.l2

## Declaration

```swift
case l2
```

## See Also

### Enumeration Cases

- [MLCRegularizationType.none](mlcompute/mlcregularizationtype/none.md)
- [MLCRegularizationType.l1](mlcompute/mlcregularizationtype/l1.md)
