---
title: "init(rawValue:)"
framework: ML Compute
role: symbol
role_heading: Initializer
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 12.0+, tvOS 15.0+]
path: "mlcompute/mlcgradientclippingtype/init(rawvalue:)"
---

# init(rawValue:)

## Declaration

```swift
init?(rawValue: Int32)
```
