TensorFlow Federated 0.45.0
Pre-release
Pre-release
Release 0.45.0
Major Features and Improvements
- Integrated the
CppToPythonExecutorBridgeinto theCPPExecutorFactory. - Changed Python Remote Executor to decompose and stream structures in Compute
and CreateValue when _stream_structs is true. Added a bool parameter
stream_structsto
tff.backends.native.set_localhost_cpp_execution_context()API.
Breaking Changes
- Renamed
tff.backends.native.set_localhost_cpp_execution_context()to
backends.native.set_sync_local_cpp_execution_context(). - Renamed
tff.framework.ExecutionContextto
tff.framework.SyncExecutionContextto be consistent with
tff.framework.AsyncExecutionContext. - Removed the
SyncSerializeAndExecuteCPPContextand
AsyncSerializeAndExecuteCPPContextclasses.
Bug Fixes
- Fixed usage of
typing.Genericin the learning package. - Enabled pytype analysis for some modules.
- Fixed lint and formatting issues for some modules.