ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tff.program.ReleaseManager

An interface for releasing values from a federated program.

A tff.program.ReleaseManager is used to release values from platform storage to customer storage in a federated program.

Methods

release

View source

Releases value from a federated program.

An implementation of this interface should be specific about the types of value and key for this method and should document how the key will be used. This allows a federated program to understand how to create at key for the 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 a key type of int.

Args
value The value to release, the specific structure of key is left up to the implementation of tff.program.ReleaseManager.
key An optional value to use to reference the released value, the specific structure of key and how key is used is left up to the implementation of tff.program.ReleaseManager.