|View source on GitHub
tff.program.ReleaseManager that releases values at regular intervals.
release_manager: ReleaseManager[ReleasableStructure, Key],
periodicity: Union[int, datetime.timedelta]
tff.program.PeriodicReleaseManager is a utility for releasing values at
regular intervals and is used to release values from platform storage to
customer storage in a federated program.
The interval can be controlled at construction time by setting the
periodicity can be a positive integer or
3 means that every third value is
released to the
release_manager, and invoking
release ten times will
release the third, sixth, and ninth values. A
datetime.timedelta(hours=3) means that three hours after the previously
released value the next value is released to the
tff.program.ReleaseManager used to release values to.
The interval to release values. Must be a positive integer or
periodicity is not a positive integer or
value from a federated program.
tff.program.ReleasableStructure to release.
A value used to reference the released