Contents

encodeWithOptimizer(_:to:)

Encodes a fitted transformer with an optimizer.

Declaration

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

Parameters

  • transformer:

    A fully connected network classifier model.

  • encoder:

    An encoder for the estimator.

See Also

Encoding and decoding