---
title: "init(rawValue:)"
framework: coreml
role: symbol
role_heading: Initializer
path: "coreml/mlupdateprogressevent/init(rawvalue:)"
---

# init(rawValue:)

Creates a progress event for the given integer.

## Declaration

```swift
init(rawValue: Int)
```

## Discussion

Discussion You do not use this initializer directly. Get update event types from the type properties, such as trainingBegin, miniBatchEnd, or epochEnd.
