Thanks for tuning in to Google I/O. View all sessions on demandWatch on demand


A tff.program.ReleaseManager that filters values before releasing them.

Inherits From: ReleaseManager

A tff.program.FilteringReleaseManager is a utility for filtering values before releasing the values and is used to release values from platform storage to customer storage in a federated program.

Values are filtered and released using the given release_manager.

release_manager A tff.program.ReleaseManager used to release values to.
filter_fn A Callable used to filter values before they are released, this function has a single parameter path and returns a bool.



View source

Releases value from a federated program.

value A tff.program.ReleasableStructure to release.
type_signature The tff.Type of value.
key A value used to reference the released value.