encodeWithOptimizer(_:to:)

Encodes the model and optimizer to an encoder.

Declaration

func encodeWithOptimizer(_ transformer: TimeSeriesClassifier<Scalar, Label>.Transformer, to encoder: inout any EstimatorEncoder) throws