|View source on GitHub|
tff.program.ReleaseManager that releases values to TensorBoard.
tff.program.TensorBoardReleaseManager( summary_dir: Union[str, os.PathLike[str]] )
tff.program.TensorBoardReleaseManager is a utility for releasing values
from a federated program to TensorBoard and is used to release values from
platform storage to customer storage in a federated program.
Values are released as summary data using
tf.summary. When the value is
released, if the value is a value reference or a structure containing value
references, each value reference is materialized. The value is then flattened
and released as summary data. The structure of the value is used as the name
of the summary data. Scalar values are released using
non-scalar values are released using
See https://www.tensorflow.org/api_docs/python/tf/summary for more information about summary data and how to visualize summary data using TensorBoard.
||A path on the file system to save release values. If this path does not exist it will be created.|
release( value: Any, key ) -> Any
value from a federated program.
||A materialized value, a value reference, or a structure of materialized values and value references representing the value to release.|
A integer used to reference the released