---
title: MLCGradientClippingType.byValue
framework: ML Compute
role: symbol
role_heading: Case
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 12.0+, tvOS 15.0+]
path: mlcompute/mlcgradientclippingtype/byvalue
---

# MLCGradientClippingType.byValue

An option that clips by value.

## Declaration

```swift
case byValue
```

## See Also

### Gradient Clipping Types

- [MLCGradientClippingType.byNorm](mlcompute/mlcgradientclippingtype/bynorm.md)
- [MLCGradientClippingType.byGlobalNorm](mlcompute/mlcgradientclippingtype/byglobalnorm.md)
- [debugDescription](mlcompute/mlcgradientclippingtype/debugdescription.md)
