---
title: "init(from:)"
framework: evaluations
role: symbol
role_heading: Initializer
path: "evaluations/aggregationoperation/init(from:)"
---

# init(from:)

Decodes an operation from a keyed container, reconstructing the metric from its name.

## Declaration

```swift
init(from decoder: any Decoder) throws
```
