View source on GitHub |
A tff.program.ReleaseManager
that releases values to other release managers.
Inherits From: ReleaseManager
tff.program.GroupingReleaseManager(
release_managers: Sequence[ReleaseManager[ReleasableStructure, Key]]
)
A tff.program.GroupingReleaseManager
is a utility for release values from a
federated program to a collection of other release managers and is used to
release values from platform storage to customer storage in a federated
program.
Values are released using each of the tff.program.ReleaseManager
s in the
given release_managers
.
Args | |
---|---|
release_managers
|
A sequence of tff.program.ReleaseManager used to
release values to.
|
Raises | |
---|---|
ValueError
|
If release_managers is empty.
|
Methods
release
release(
value, key
)
Releases value
from a federated program.
Args | |
---|---|
value
|
A tff.program.ReleasableStructure to release.
|
key
|
A value used to reference the released value .
|