# tff.learning.programs.ProgramState

<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 program state.

    tff.learning.programs.ProgramState(
        state, round_number, next_evaluation_timestamp_seconds, data_iterator
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `state` | The state of the training process. |
| `round_number` | The current round number. |
| `next_evaluation_timestamp_seconds` | The timestamp of the next evaluation in seconds. |
| `data_iterator` | The [`tff.program.FederatedDataSourceIterator`](https://www.tensorflow.org/federated/api_docs/python/tff/program/FederatedDataSourceIterator) used for training. |

<br />