This project is mirrored from https://github.com/tensorflow/federated.
Pull mirroring failed .
Last successful update .
Last successful update .
- 24 Nov, 2020 1 commit
-
-
Shanshan Wu authored
Change `max_num_samples` to `max_num_clients` in `tff.learning.build_personalization_eval`, and update the docstring. No change in the API or functionality. PiperOrigin-RevId: 343883721
-
- 21 Nov, 2020 2 commits
-
-
Galen Andrew authored
PiperOrigin-RevId: 343602626
-
Galen Andrew authored
Adds function for creating useful compositions of aggregators to perform zeroing (for robustness) and clipping or differential privacy. PiperOrigin-RevId: 343510697
-
- 20 Nov, 2020 2 commits
-
-
Michael Reneer authored
PiperOrigin-RevId: 343404565
-
Galen Andrew authored
Remove clipping_compositions.py. These were intended to be a "mid-level" API linking the low level aggregators with useful high-level compositions, but it is cleaner to skip this step. PiperOrigin-RevId: 343392858
-
- 19 Nov, 2020 1 commit
-
-
Michael Reneer authored
PiperOrigin-RevId: 343151873
-
- 17 Nov, 2020 2 commits
-
-
Keith Rush authored
PiperOrigin-RevId: 342863095
-
Michael Reneer authored
PiperOrigin-RevId: 342687652
-
- 16 Nov, 2020 1 commit
-
-
Scott Wegner authored
Inferring TFF types from attr.s classes is deprecated as it has shown usability issues. This change upgrades the deprecation warning to an error and removes the functionality. PiperOrigin-RevId: 342627042
-
- 13 Nov, 2020 2 commits
-
-
Michael Reneer authored
PiperOrigin-RevId: 342128507
-
Galen Andrew authored
PiperOrigin-RevId: 342064680
-
- 12 Nov, 2020 4 commits
-
-
Jakub Konecny authored
New classes `WeightedAggregationFactory` and `NonWeightedAggregationFactory` replace the previous `AggregationProcessFactory` in the API This change makes explicit difference between ways to create `tff.templates.AggreagationProcess` objects with input type signatures of its `next` function `<state, value>` and `<state, value, weight>`. Also updates `ClippingFactory` and `ZeroingFactory` to implement both newly created classes. `MeanFactory` now only implements `WeightedAggregationFactory` class. PiperOrigin-RevId: 341988708
-
Taylor Cramer authored
Previously, `check_returns_type` only displayed the stringified format of mismatched types, which does not include container types. This CL changes `check_returns_type` to reuse the type diff formatting from computation_types which will fall back to printing the `repr` of the types in this case. PiperOrigin-RevId: 341896484
-
Zachary Charles authored
PiperOrigin-RevId: 341870083
-
Jakub Konecny authored
This removes the context manager which temporarily replaced the reference `federated_secure_sum` with `federated_sum` while executors did not support this in tests. This has been addresses, thus no need for the workaround. PiperOrigin-RevId: 341866125
-
- 11 Nov, 2020 3 commits
-
-
Scott Wegner authored
This was added recent to signal the future deprecation of converting `attr.s` classes to TFF types. However it was added to the wrong block. The intent is to deprecate conversion from a `attr.s` class *type*, but not a class *instance*. PiperOrigin-RevId: 341702845
-
Zachary Garrett authored
Secure Sum extends the request bitwidth by log2(# of clients) participating in the sum, and masks the integers coming out of the clients to the extended bitwidth number of bits (the actual size of values transferred across the wire). PiperOrigin-RevId: 341676681
-
Zheng Xu authored
PiperOrigin-RevId: 341641106
-
- 10 Nov, 2020 4 commits
-
-
Galen Andrew authored
Adds functions for building useful compositions of aggregators. Also removes ZeroingClippingFactory because it was determined that composing Zeroing and Clipping is superior (since it allows independent estimators for the norms). PiperOrigin-RevId: 341517003
-
Zachary Garrett authored
PiperOrigin-RevId: 341461479
-
Michael Reneer authored
PiperOrigin-RevId: 341461167
-
Scott Wegner authored
PiperOrigin-RevId: 341441687
-
- 07 Nov, 2020 2 commits
-
-
Keith Rush authored
PiperOrigin-RevId: 341092818
-
Zachary Garrett authored
tensors in additional to single tensors. PiperOrigin-RevId: 341063667
-
- 06 Nov, 2020 3 commits
-
-
Zachary Garrett authored
Extend the implementation to allow taking operands that have matching structures in addition to broadcast one tensor to a structure of tensors. PiperOrigin-RevId: 340950882
-
Michael Reneer authored
PiperOrigin-RevId: 340865946
-
Michael Reneer authored
PiperOrigin-RevId: 340863997
-
- 05 Nov, 2020 4 commits
-
-
Michael Reneer authored
PiperOrigin-RevId: 340749260
-
Zachary Garrett authored
outside the range of tf.int32. Additionally, raise an error if the Python integer is outisde the range of tf.int64. This is more inline with `tf.convert_to_tensor` behavior, without being quite as expensive. PiperOrigin-RevId: 340745753
-
Zheng Xu authored
PiperOrigin-RevId: 340692208
-
Michael Reneer authored
Do not use or import the ABCs from `collections`, this is deprecated since Python 3.3, and in 3.9 it will stop working. These ABCs have moved to 'collections.abc' and should be used from this package. PiperOrigin-RevId: 340678321
-
- 04 Nov, 2020 2 commits
-
-
Galen Andrew authored
PiperOrigin-RevId: 340538528
-
Zachary Garrett authored
TF-nightly (2.5.0) PiperOrigin-RevId: 340451437
-
- 03 Nov, 2020 2 commits
-
-
Zheng Xu authored
PiperOrigin-RevId: 340276637
-
Brendan McMahan authored
Fixes #914. The issue was caused by multiple conflicting imports of tensorboard, which are resolved by pip uninstalling tensorboard before bringing in tensorflow_federated. PiperOrigin-RevId: 340242994
-
- 31 Oct, 2020 2 commits
-
-
Keith Rush authored
PiperOrigin-RevId: 339961597
-
Galen Andrew authored
For now measurements are aggregated by SumFactory, but we will add support in the future for private measurements aggregation. Also: 1. Change state to OrderedDict (from tuple). 2. Change default zeroing norm order from np.inf to 2 for ease of transition between ZeroingFactory and ZeroingClippingFactory (which must use 2-norm), and use tf.linalg.global_norm if norm order is 2, for efficiency. PiperOrigin-RevId: 339908232
-
- 30 Oct, 2020 3 commits
-
-
Michael Reneer authored
PiperOrigin-RevId: 339805559
-
Keith Rush authored
PiperOrigin-RevId: 339804460
-
Keith Rush authored
PiperOrigin-RevId: 339801656
-