TensorFlow Federated 0.34.0
Pre-release
Pre-release
Release 0.34.0
Major Features and Improvements
- Updated to use
Bazel
version5.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.py
to explicitly fail topip install
in 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_signature
attribute 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
initialize
fromMapReduceForm
. SequenceType
now automatically casts anyStructWithPythonType
that
contains alist
to atuple
fortf.data
compatibility.- Unified the
model_fn
andmodel
parameters of
tff.learning.algorithms.build_weighted_fed_avg
. MapReduceForm
now takes atype_signature
argument in its constructor,
and no longer takes aninitialize
argument.MapReduceForm
no longer contains aninitialize
attribute.
Bug Fixes
- Relaxed overly strict type equivalence check to assignability in TFF-TF code
generation.