---
title: TemporalTransformerToEstimatorAdaptor
framework: createmlcomponents
role: symbol
role_heading: Structure
path: createmlcomponents/temporaltransformertoestimatoradaptor
---

# TemporalTransformerToEstimatorAdaptor

A temporal estimator that always returns a predefined temporal transformer.

## Declaration

```swift
struct TemporalTransformerToEstimatorAdaptor<Transformer> where Transformer : TemporalTransformer
```

## Topics

### Creating an estimator

- [init(_:)](createmlcomponents/temporaltransformertoestimatoradaptor/init(_:).md)

### Getting the transformer

- [transformer](createmlcomponents/temporaltransformertoestimatoradaptor/transformer.md)

### Encoding and decoding

- [encode(_:to:)](createmlcomponents/temporaltransformertoestimatoradaptor/encode(_:to:).md)
- [decode(from:)](createmlcomponents/temporaltransformertoestimatoradaptor/decode(from:).md)

### Fitting

- [fitted(to:eventHandler:)](createmlcomponents/temporaltransformertoestimatoradaptor/fitted(to:eventhandler:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [TemporalEstimator](createmlcomponents/temporalestimator.md)

## See Also

### Temporal adaptors

- [TemporalAdaptor](createmlcomponents/temporaladaptor.md)
- [TemporalEstimatorToSupervisedAdaptor](createmlcomponents/temporalestimatortosupervisedadaptor.md)
- [TemporalTransformerToUpdatableEstimatorAdaptor](createmlcomponents/temporaltransformertoupdatableestimatoradaptor.md)
