|View source on GitHub|
An interface for releasing values from a federated program.
tff.program.ReleaseManager is used to release values from platform storage
to customer storage in a federated program.
release( value: Any, key: Any = None )
value from a federated program.
An implementation of this interface should be specific about the types of
key for this method and should document how the
key will be
used. This allows a federated program to understand how to create at
value before it is released. For example, a
tff.program.ReleaseManager that releases metrics keyed by a strictly
increasing integer might specify a
value type of
Mapping[str, Any] and
key type of
The value to release, the specific structure of
An optional value to use to reference the released