---
title: "decodeWithOptimizer(from:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/temporaltransformertoupdatableestimatoradaptor/decodewithoptimizer(from:)"
---

# decodeWithOptimizer(from:)

Returns the pre-defined transformer.

## Declaration

```swift
func decodeWithOptimizer(from decoder: inout any EstimatorDecoder) throws -> Transformer
```

## See Also

### Encoding and decoding

- [encode(_:to:)](createmlcomponents/temporaltransformertoupdatableestimatoradaptor/encode(_:to:).md)
- [decode(from:)](createmlcomponents/temporaltransformertoupdatableestimatoradaptor/decode(from:).md)
- [encodeWithOptimizer(_:to:)](createmlcomponents/temporaltransformertoupdatableestimatoradaptor/encodewithoptimizer(_:to:).md)
