tff.learning.programs.ProgramState
Stay organized with collections
Save and categorize content based on your preferences.
A structure representing the program state.
tff.learning.programs.ProgramState(
state, round_number, next_evaluation_timestamp_seconds, data_iterator
)
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 used for
training.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-20 UTC.
[null,null,["Last updated 2024-09-20 UTC."],[],[],null,["# tff.learning.programs.ProgramState\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [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) |\n\nA structure representing the program state. \n\n tff.learning.programs.ProgramState(\n state, round_number, next_evaluation_timestamp_seconds, data_iterator\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|-------------------------------------|----------------------------------------------------------------------------------------------------------------------|\n| `state` | The state of the training process. |\n| `round_number` | The current round number. |\n| `next_evaluation_timestamp_seconds` | The timestamp of the next evaluation in seconds. |\n| `data_iterator` | The [`tff.program.FederatedDataSourceIterator`](../../../tff/program/FederatedDataSourceIterator) used for training. |\n\n\u003cbr /\u003e"]]