TensorFlow Federated 0.34.0
Pre-release
Pre-release
Release 0.34.0
Major Features and Improvements
- Updated to use
Bazelversion5.3.0. - Updated the conventions used to specify the version of a Python dependency,
see https://github.com/tensorflow/federated/blob/main/requirements.txt for
more information. - Updated the
setup.pyto explicitly fail topip installin Python 3.10.
This has always been failing at runtime, but now explicitly fails to install
usingpip. - Refreshed loading_remote_data notebook content and added content for
FederatedDataSource. - Added a TFF
type_signatureattribute to objects of typeMapReduceForm. - Added a series of slides to the GitHub repo (so not part of the PIP package) which detail a technical
deep dive into TFF.
Breaking Changes
- Bumped tf-privacy version to
0.8.4. - Bumped tf-model-optimization version to
0.8.3. - Removed
initializefromMapReduceForm. SequenceTypenow automatically casts anyStructWithPythonTypethat
contains alistto atuplefortf.datacompatibility.- Unified the
model_fnandmodelparameters of
tff.learning.algorithms.build_weighted_fed_avg. MapReduceFormnow takes atype_signatureargument in its constructor,
and no longer takes aninitializeargument.MapReduceFormno longer contains aninitializeattribute.
Bug Fixes
- Relaxed overly strict type equivalence check to assignability in TFF-TF code
generation.