This project is mirrored from https://github.com/tensorflow/federated.
Pull mirroring failed .
Last successful update .
Last successful update .
- 13 Nov, 2020 1 commit
-
-
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 4 commits
-
-
Michael Reneer authored
PiperOrigin-RevId: 339805559
-
Keith Rush authored
PiperOrigin-RevId: 339804460
-
Keith Rush authored
PiperOrigin-RevId: 339801656
-
Jakub Konecny authored
PiperOrigin-RevId: 339684912
-
- 29 Oct, 2020 2 commits
-
-
Michael Reneer authored
This backend is a good place to construct contexts that can be used for testing. * Added a test backend. * Added an `execution_context` which can execute `federated_secure_sum` intrinsics. PiperOrigin-RevId: 339579125
-
Keith Rush authored
PiperOrigin-RevId: 339523983
-
- 28 Oct, 2020 6 commits
-
-
Keith Rush authored
PiperOrigin-RevId: 339382611
-
Zheng Xu authored
PiperOrigin-RevId: 339340854
-
Keith Rush authored
Certain TensorFlow APIs (e.g. C++ callable API) fail if feeds and fetches are identical. TFF introduces identity graphs in order to reason about invariants in its compilation to TensorFlow, and indeed passes them through directly in the case of compiling (x -> x) to TensorFlow. This change prevents feeds and fetches from being identical in these graphs. PiperOrigin-RevId: 339320146
-
Zachary Garrett authored
The API changed to request the factory, rather than the executor. PiperOrigin-RevId: 339291526
-
Zachary Garrett authored
PiperOrigin-RevId: 339278080
-
Keith Rush authored
PiperOrigin-RevId: 339271404
-
- 27 Oct, 2020 1 commit
-
-
Jakub Konecny authored
PiperOrigin-RevId: 339245271
-