This directory contains general utilities used by the other directories under
research/
. Examples include utilities for saving checkpoints, and configuring
experiments via command-line flags. For examples of federated learning
experiments using these utilities, see the
research/optimization
directory.
Warning: These utilities are considered experimental, and may be removed or
changed at any time. Some of the utilties may be upstreamed to
Tensorflow Federated (TFF) to become
stable APIs. However,
like other code in this repository,
direct dependencies on utils
and attempts to use it as a package are
discouraged. The recommended usage for utils/
is to fork the necessary piece
of code for your own research projects.