|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, type_signature, key=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 a
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
A materialized value, a value reference, or a structure of
materialized values and value references representing the value to
release. The exact structure of
An optional value used to reference the released