tff.program.FilteringReleaseManager

Stay organized with collections Save and categorize content based on your preferences.

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.

Methods

release

View source

Releases value from a federated program.

Args
value A materialized value, a value reference, or a structure of release.
type_signature The tff.Type of value.
key An optional value used to reference the released value.