encodeWithOptimizer(_:to:)

Encodes the model and optimizer to an encoder.

Declaration

func encodeWithOptimizer(_ model: LinearTimeSeriesForecaster<Scalar>.Transformer, to encoder: inout any EstimatorEncoder) throws