# tff.learning.templates.LearningAlgorithmState

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |

A structure representing the state of a learning process.

    tff.learning.templates.LearningAlgorithmState(
        global_model_weights, distributor, client_work, aggregator, finalizer
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `global_model_weights` | A structure representing the model weights of the global model being trained. |
| `distributor` | State of the distributor component. |
| `client_work` | State of the client work component. |
| `aggregator` | State of the aggregator component. |
| `finalizer` | State of the finalizer component. |

<br />