This project is mirrored from https://github.com/tensorflow/federated.
Pull mirroring failed .
Last successful update .
Last successful update .
- 19 Aug, 2021 3 commits
-
-
Jakub Konecny authored
Logarithm of timestamp will return 35 for next many years thus not suitable for random seed generation :| PiperOrigin-RevId: 391689896
-
Zachary Garrett authored
This resolves a bug where the C++ will fail if a `tff.Computation` is returning multiple variant tensors from the same node (e.g. a `PartitionedCall` op). PiperOrigin-RevId: 391638014
-
Zachary Garrett authored
This triggers a bug in the C++ runtime that fails to uniquely name the DatasetToGraphV2 JIT nodes. PiperOrigin-RevId: 391626904
-
- 18 Aug, 2021 1 commit
-
-
Zheng Xu authored
Upstream tree aggregation factory to tff.aggregators. The aggregator can give us differential privacy without relying on sampling for amplification. More details see "Practical and Private (Deep) Learning without Sampling or Shuffling" (https://arxiv.org/abs/2103.00039). PiperOrigin-RevId: 391409199
-
- 17 Aug, 2021 1 commit
-
-
Zheng Xu authored
PiperOrigin-RevId: 391269837
-
- 14 Aug, 2021 3 commits
-
-
Honglin Yuan authored
Remove `@tf.function` decorator for `predict_on_batch` to workaround a tf.data performance regression. PiperOrigin-RevId: 390692772
-
Zachary Charles authored
Add a call to `tf.convert_to_tensor` within `tff.simulation.datasets.TestClientData` in order to allow passing strings to `.serializable_dataset_fn`. This change also adds tests that will fail without this conversion to tensor. PiperOrigin-RevId: 390674662
-
Taylor Cramer authored
PiperOrigin-RevId: 390627213
-
- 13 Aug, 2021 2 commits
-
-
A. Unique TensorFlower authored
Adds support for `DistributedDiscreteGaussianSumQuery` in hierarchical histogram computation to support distributed DP. PiperOrigin-RevId: 390529670
-
Zheng Xu authored
Fix the mismatch between data preprocessing and model input expectation for the tff.optimizers tutorial. PiperOrigin-RevId: 390417495
-
- 12 Aug, 2021 5 commits
-
-
A. Unique TensorFlower authored
Changes: (1) Replaces the old dp_query `CentralTreeSumQuery` with the updated one `TreeRangeSumQuery`. The updated query has several advantages: 1) It easily supports different DP mechanisms (e.g. GaussianSumQuery, DistributedDiscreteGaussianSumQuery) by taking them as inner queries; 2) `TreeRangeSumQuery` does not hard-code any clipping inside so it is composable with various clipping factories. To avoid DP error, it does norm checking inside to make sure appropriate clipping happens outside. (2) Removes the type conversion from int32 to float32 before return in `discretized_histogram_counts`. Now the function outputs int32 tensors. This change is due to the type requirement of `HistogramClippingSumFactory`. (3) Updates tff's dependency on tensorflow privacy to 0.7.0. PiperOrigin-RevId: 390277449
-
Jakub Konecny authored
PiperOrigin-RevId: 390236191
-
A. Unique TensorFlower authored
Removes the non-negative enforcement in `enforce_consistency` because sometimes it introduces high bias. PiperOrigin-RevId: 390198511
-
Keith Rush authored
Returns second argument to binary operator in create_binary_operator_with_upcast uncoerced in the case of type assignability to the first arg. This change represents a slight relaxation in (static) semantics for create_binary_operator_with_upcast. Previously a binary operator with signature like: ``` <float32[?],float32[1]> ``` could not be constructed, though TensorFlow's shape assignability allows for a graph like this. This change allows for signatures such as the above to be represented in TF computation factory. We do not, however, open the door to signatures like: ``` <float32[?],float32[1, 1]> ``` (though TF will generate graphs which represent it), since such a signature does not pass TFF's notion of assignability. PiperOrigin-RevId: 390188849
-
Keith Rush authored
PiperOrigin-RevId: 390176777
-
- 11 Aug, 2021 3 commits
-
-
Zachary Garrett authored
PiperOrigin-RevId: 389967310
-
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 2 commits
-
-
Zachary Charles authored
PiperOrigin-RevId: 387240061
-
A. Unique TensorFlower authored
PiperOrigin-RevId: 387229169
-