---
title: "decodeWithOptimizer(from:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/fullyconnectednetworkmultilabelclassifier/decodewithoptimizer(from:)"
---

# decodeWithOptimizer(from:)

Decodes a previously fitted transformer with an optimizer.

## Declaration

```swift
func decodeWithOptimizer(from decoder: inout any EstimatorDecoder) throws -> FullyConnectedNetworkMultiLabelClassifier<Scalar, Label>.Transformer
```

## Parameters

- `decoder`: A decoder for the estimator.

## Return Value

Return Value A fully-connected network multi-label classifier model.
