Contents

encodeWithOptimizer(_:to:)

Encodes a fitted transformer with an optimizer.

Declaration

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

Parameters

  • transformer:

    A fully-connected network multi-label classifier model.

  • encoder:

    An encoder for the estimator.