TensorFlow Federated 0.21.0
Pre-release
Pre-release
Release 0.21.0
Major Features and Improvements
tff.analytics- Added new
tff.analytics.IbltFactoryaggregation factory. - Added new IBTL tensor encoder/decoder libraries and uses them in
tff.analytics.heavy_hitters.iblt.build_iblt_computation.
- Added new
tff.aggregator- Added
as_weighted_aggregatorto thetff.aggregator.FactoryAPI.
- Added
tff.learning- Improved compilation and execution performance of
tff.learning.metrics.secure_sum_then_finalizeby grouping tensors by
DType. - Added
set_model_weightsmethod and default implementation to
tff.learning.templates.LearningProcess. - Added a new
reset_metricsattribute totff.learning.Model. - Added
schedule_learning_ratetotff.learning.optimizers. - Added new
tff.learning.ddp_secure_aggregatorfor Distributed
Differential Privacy.
- Improved compilation and execution performance of
tff.simulation- Added an option to distort train images in the CIFAR-100 baseline task.
- Changed the default sequence length for the Shakespeare baseline task to
a more reasonable value.
- Core
- Switched runtime to create new RemoteExecutors with different
cardinalities, rather than resetting the cardinality in the remote
service.
- Switched runtime to create new RemoteExecutors with different
Breaking Changes
- Removed support for Python 3.7 and 3.8, TFF supports 3.9 and later.
- Removed deprecated attributes
report_local_outputsand
federated_output_computationfromtff.learning.Model - Removed the
ingestmethod fromtff.Context
Bug Fixes
- Multiple typos in tests, code comments, and pydoc.
Known Bugs
- Sequences (datasets) of SparseTensors don't work on the C++ runtime.
- Computations when
CLIENTScardinality is zero doesn't work on the Python
runtime. - Assigning variables to a Keras model after construction inside a
model_fn
results in a non-deterministic graph.