---
title: "encode(_:to:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/tabulartransformertoestimatoradaptor/encode(_:to:)"
---

# encode(_:to:)

Does nothing since this tabular estimator uses a pre-defined tabular transformer.

## Declaration

```swift
func encode(_ transformer: Transformer, to encoder: inout any EstimatorEncoder) throws
```

## See Also

### Encoding and decoding

- [decode(from:)](createmlcomponents/tabulartransformertoestimatoradaptor/decode(from:).md)
