|View source on GitHub|
tff.program.ReleaseManager that releases values to memory.
tff.program.MemoryReleaseManager is a utility for releasing values from a
federated program to memory and is used to release values from platform
storage to customer storage in a federated program.
Values are released to memory as Python objects. When the value is released, if the value is a value reference or a structure containing value references, each value reference is materialized.
release( value, type_signature, key )
value from a federated program.
A hashable value used to reference the released
values() -> collections.OrderedDict[Hashable, tuple[release_manager.ReleasableStructure, computation_types.Type]]
collections.OrderedDict of all keys and released values and types.