---
title: epochIndex
framework: coreml
role: symbol
role_heading: Type Property
path: coreml/mlmetrickey/epochindex
---

# epochIndex

The key you use to access the epoch index (an Int64 value).

## Declaration

```swift
class var epochIndex: MLMetricKey { get }
```

## Discussion

Discussion Use this key to fetch the epoch index value in the metrics dictionary.

## See Also

### Getting the keys

- [lossValue](coreml/mlmetrickey/lossvalue.md)
- [miniBatchIndex](coreml/mlmetrickey/minibatchindex.md)
