encodeWithOptimizer(_:to:)
Encodes a fitted transformer with an optimizer.
Declaration
func encodeWithOptimizer(_ transformer: FullyConnectedNetworkClassifier<Scalar, Label>.Transformer, to encoder: inout any EstimatorEncoder) throwsParameters
- transformer:
A fully connected network classifier model.
- encoder:
An encoder for the estimator.