---
title: "decode(from:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/fullyconnectednetworkclassifier/decode(from:)"
---

# decode(from:)

Decodes the estimator.

## Declaration

```swift
func decode(from decoder: inout any EstimatorDecoder) throws -> FullyConnectedNetworkClassifierModel<Scalar, Label>
```

## Parameters

- `decoder`: A decoder for the estimator.

## Return Value

Return Value A fully connected network classifier model.

## See Also

### Encoding and decoding

- [encodeWithOptimizer(_:to:)](createmlcomponents/fullyconnectednetworkclassifier/encodewithoptimizer(_:to:).md)
