This project is mirrored from https://github.com/tensorflow/federated.
Pull mirroring failed .
Last successful update .
Last successful update .
- 11 Aug, 2021 2 commits
-
-
A. Unique TensorFlower authored
(1) 'sub-sampling': Sub-samples at most `max_records_per_user` records from a multi-set specified by a histogram and returns the histogram on the sub-sampled records. (2) 'distinct': Sub-samples at most `max_records_per_user` **distinct** records from a multi-set specified by a histogram and returns the histogram on the sub-sampled records. PiperOrigin-RevId: 389966143
-
A. Unique TensorFlower authored
Adds `ModularClippingSumFactory`. `ModularClippingSumFactory` is an UnweightedAggregationFactory that operates on integer records. It takes two integer values specifying the clip range min and max, and does per-element modular clipping for both the aggregand and the aggregated values. Right now the clip range is the same before and after aggregation (which can be SecAgg by the `SecureSumFactory`). PiperOrigin-RevId: 389936842
-
- 10 Aug, 2021 1 commit
-
-
A. Unique TensorFlower authored
PiperOrigin-RevId: 389806420
-
- 07 Aug, 2021 2 commits
-
-
Zheng Xu authored
PiperOrigin-RevId: 389263827
-
Taylor Cramer authored
This CL adds the new secure aggregation intrinsics to `MapReduceForm`, and adds support for compiling them from iterative processes. In order to test this new functionality, support is also added to the reference context. PiperOrigin-RevId: 389215311
-
- 05 Aug, 2021 2 commits
-
-
Michael Reneer authored
PiperOrigin-RevId: 388824085
-
Keith Rush authored
PiperOrigin-RevId: 388752613
-
- 04 Aug, 2021 2 commits
-
-
Galen Andrew authored
PiperOrigin-RevId: 388490972
-
Galen Andrew authored
PiperOrigin-RevId: 388483415
-
- 03 Aug, 2021 3 commits
-
-
Keith Rush authored
Clarifies the relationship between the batch_argument argument to predict_on_batch and forward_pass, and the property input_spec. PiperOrigin-RevId: 388318403
-
Chunxiang (Jake) Zheng authored
PiperOrigin-RevId: 388268647
-
Zachary Garrett authored
This implements new `tff.learning.models.save` and `tff.learning.models.load` APIs that use TensorFlow's SavedModel format for serializing models for portability. This has a side-effect of also making the models easily convertible for TFLite flatbuffers for inference deployments. PiperOrigin-RevId: 388250327
-
- 02 Aug, 2021 1 commit
-
-
Taylor Cramer authored
The `select_output_from_lambda` function previously had surprisingly different semantics on outer-tuples from nested tuples: outermost tuples or lists indicated a structure of results, while inner tuples or lists indicated paths to elements. No distinction was made between tuples and lists. This CL changes to use tuples for multi-index selection paths and lists for selecting multiple different values. This simplifies some call sites. Includes test cleanup to remove outdated references to "Federated" and to test the new selection abilities. PiperOrigin-RevId: 388160914
-
- 31 Jul, 2021 3 commits
-
-
Michael Reneer authored
PiperOrigin-RevId: 387933152
-
Michael Reneer authored
PiperOrigin-RevId: 387923093
-
Michael Reneer authored
PiperOrigin-RevId: 387831186
-
- 30 Jul, 2021 3 commits
-
-
Michael Reneer authored
PiperOrigin-RevId: 387815431
-
Michael Reneer authored
It is still a good idea to signal that these targets intentionally do not support Python 2. PiperOrigin-RevId: 387673807
-
Michael Reneer authored
PiperOrigin-RevId: 387633452
-
- 29 Jul, 2021 3 commits
-
-
Keith Rush authored
PiperOrigin-RevId: 387466843
-
Taylor Cramer authored
These value indices were fragile and would all require replacement upon the addition of new intrinsics to MapReduceForm. This change provides more descriptive names and stablilizes the selection of values to be resilient to new intrinsic additions. This change is designed to make it eaiser to add MapReduceForm support for federated_secure_sum and federated_secure_modular_sum. PiperOrigin-RevId: 387458471
-
Galen Andrew authored
PiperOrigin-RevId: 387380625
-
- 28 Jul, 2021 5 commits
-
-
Zachary Charles authored
PiperOrigin-RevId: 387240061
-
A. Unique TensorFlower authored
PiperOrigin-RevId: 387229169
-
Keith Rush authored
PiperOrigin-RevId: 387222252
-
Zheng Xu authored
PiperOrigin-RevId: 387209652
-
Zheng Xu authored
Minor fix of mismatch in code and description of `building_your_own_federated_leanring_algorithm` tutorial. PiperOrigin-RevId: 387203200
-
- 27 Jul, 2021 2 commits
-
-
Jakub Konecny authored
Previously, the tensor specs provided to the optimizer were for the entire model weights, while the expectation is that it shuold manipulate only trainable model weights. This also restructures the code to make sure optimizer does not work with lists but tuples instead, as if the optimizer state contains list of tensors, the "for _ in data:" pattern will try to stack all of the tensors, raising error if the tensors to not have the same rank - e.g. when they include bias and kernel of a layer being optimzied. PiperOrigin-RevId: 387019484
-
Suxin Guo authored
PiperOrigin-RevId: 386911399
-
- 26 Jul, 2021 1 commit
-
-
Taylor Cramer authored
PiperOrigin-RevId: 386870506
-
- 25 Jul, 2021 1 commit
-
-
A. Unique TensorFlower authored
PiperOrigin-RevId: 386647579
-
- 24 Jul, 2021 9 commits
-
-
Zheng Xu authored
Add helper function to compare TFF and Keras optimizer in optimizer tests. Modify SGD to accept `momentum=0` to be easily used in parameterized tests. PiperOrigin-RevId: 386586370
-
Keith Rush authored
PiperOrigin-RevId: 386573163
-
Wennan Zhu authored
PiperOrigin-RevId: 386557393
-
Michael Reneer authored
Regex used: "u?int[0123456789]+[^_] " PiperOrigin-RevId: 386550153
-
Michael Reneer authored
PiperOrigin-RevId: 386548020
-
Michael Reneer authored
PiperOrigin-RevId: 386546510
-
Taylor Cramer authored
After some discussion internal to the team, we decided that the value of this function and the checks it adds is not worth the extra maintenance burden as we modify MapReduceForm to support new intrinsics (including `federated_secure_sum` with `min_input`, `federated_secure_modular_sum`, and other primitive federated aggregations). PiperOrigin-RevId: 386544630
-
Michael Reneer authored
PiperOrigin-RevId: 386533240
-
Michael Reneer authored
PiperOrigin-RevId: 386503038
-