TensorFlow Federated 0.18.0
Pre-release
Pre-release
Release 0.18.0
Major Features and Improvements
- Extended the
tff.simulationpackage to add many new tools for running
simulations (checkpoints and metrics managers, client sampling functions). - Extended the
tff.aggregatorspackage with a number of new aggregation
factories. - Added the
tff.structureAPI to expose theStructclass and related
functions. - Added the
tff.profilerAPI to expose useful profiling related functions. - Added the
tff.backends.testpackage to expose backends that focused on
testing specifically a way to test a computation with a
federated_secure_sumintrinsic. - Added the
tff.experimentalpackage to expose less stable API.
Breaking Changes
- Replaced the
tff.aggregators.AggregationProcessFactoryabstract base class
with thetff.aggregators.UnweightedAggregationFactoryand the
tff.aggregators.WeightedAggregationFactoryclasses. - Replaced the
tff.aggregators.ZeroingFactoryclass with a
tff.aggregators.zeroing_factoryfunction with the same input arguments. - Replaced the
tff.aggregators.ClippingFactoryclass with a
tff.aggregators.clipping_factoryfunction with the same input arguments. - Updated
tensorflowpackage dependency to2.4.0. - Updated
absl-pypackage dependency to0.10. - Updated
grpciopackage dependency to1.32.0. - Added a
jaxlibpackage dependency at0.1.55. - Updated
numpypackage dependency to1.19.2. - Updated
tensorflow-addonspackage dependency to0.12.0. - Updated
tensorflow-model-optimizationpackage dependency to0.5.0.
Bug Fixes
- Fixed issue with the
sequence_reduceintrinsic handling federated types.