Contents

encodeWithOptimizer(_:to:)

Encodes the transformer and optimizer to an encoder.

Declaration

func encodeWithOptimizer(_ transformer: UpdatableEstimatorToTemporalAdaptor<Base>.Transformer, to encoder: inout any EstimatorEncoder) throws

Parameters

  • transformer:

    A transformer created by this estimator.

  • encoder:

    An encoder.

See Also

Encoding and decoding