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
-
- 08 Oct, 2020 1 commit
-
-
Taylor Cramer authored
This allows TestCase to become our "uber testcase" and pick up methods that depend on other behavior in api/, such as type equivalence checks. PiperOrigin-RevId: 335919774
-
- 02 Oct, 2020 1 commit
-
-
Michael Reneer authored
This module is being excluded from the Python package based on its name, but it should not be. By default `setuptools` is configured so that file ending in "test.py" are tests and tests are excluded from the Python package. PiperOrigin-RevId: 334625499
-
- 29 Sep, 2020 1 commit
-
-
Zachary Garrett authored
This should be the last piece of migrating all code to the `tff.templates.MeasuredProcess` replacement. PiperOrigin-RevId: 334231096
-
- 04 Sep, 2020 2 commits
-
-
Zachary Garrett authored
Otherwise writers can potentially chose key lookup (e.g. OrderedDict) or attribute lookup (attr.s, namedtuple) objects that both adhere to the TFF type specification but must be handled different by library writers. PiperOrigin-RevId: 329962347
-
Galen Andrew authored
Rename potentially confusing arg 'expected_num_clients' to 'expected_clients_per_round' in build_dp_query. PiperOrigin-RevId: 329728583
-
- 25 Aug, 2020 1 commit
-
-
Taylor Cramer authored
This change's primary function is to add the names of decorated function arguments to the type signatures of TFF computations. This is designed to increase debugability, improve error messages, and allow users to pass arguments by name (as is typically allowed in vanilla python). PiperOrigin-RevId: 327897439
-
- 18 Aug, 2020 1 commit
-
-
Galen Andrew authored
Bump `tensorflow-privacy` version from `0.4.0` to `0.5.0`. PiperOrigin-RevId: 327108682
-
- 04 Aug, 2020 1 commit
-
-
Taylor Cramer authored
Previously, the default context included a local execution stack, but did not include the compiler built to optimize for this native backend. This meant that users of TFF were not getting the advantages of compilation-for-native unless they explicitly set `set_local_execution_context`. Additionally, this change moves the integration tests inside `core` to use this same local execution stack, including the native compiler. These tests are designed to exercise the local execution stack, and shouldn't be testing against a different environment than the one users experience. PiperOrigin-RevId: 324705661
-
- 22 Jul, 2020 1 commit
-
-
Taylor Cramer authored
This change moves and renames `AnonymousTuple` and its `Type`-based brethren. It re-exports the new types under the old names to allow for a more gradual transition to the new API. PiperOrigin-RevId: 322477504
-
- 21 Jul, 2020 1 commit
-
-
Galen Andrew authored
PiperOrigin-RevId: 322257637
-
- 18 Jul, 2020 1 commit
-
-
Taylor Cramer authored
Previously, NamedTupleTypeWithPyContainerType was often lost and turned into a NamedTupleType without the container. This resulted in users being given AnonymousTuples when a more specific container should have been returned. This change fixes a large number of sites where container types were lost, and adjusts usage sites as appropriate, including the removal of `from_tff_result` functions. This change also makes the `__eq__` function for `NamedTupleTypeWithPyContainerType` require equivalent container types, rather than just equivalent field structure. Call sites that wished to compare only field structure are adjusted to use `Type.{is, check}_equivalent_to`. PiperOrigin-RevId: 321883012
-
- 15 Jul, 2020 1 commit
-
-
Michael Reneer authored
This change adds a compiler function to the `ExecutionContext` object. Conceptually a `Context` can be thought of as an "environment" which owns compilation and owns execution for a given computation. Additionally, this change replaces `set_default_executor` with higher level functions in order to simplify how contexts are constructed. * Added compiler function to the `ExecutionContext`. * Deprecated `set_default_executor`. * Removed all usage of `set_default_executor` internally. * Added convenience high level functions that set an execution context: * tff.backends.native.set_local_execution_context * Updated `set_default_executor` call-sites to either use the convenience high level functions or to manually construct a context and use `set_default_context`. Note that we should consider creating the following convenience high level functions: * tff.backends.native.set_remote_execution_context * tff.backends.native.set_sizing_execution_context * tff.backends.iree.set_iree_execution_context PiperOrigin-RevId: 321263709
-
- 11 Jul, 2020 2 commits
-
-
Galen Andrew authored
PiperOrigin-RevId: 320693256
-
Sean Augenstein authored
PiperOrigin-RevId: 320624398
-
- 09 Jul, 2020 1 commit
-
-
Galen Andrew authored
PiperOrigin-RevId: 320269759
-
- 09 Jun, 2020 1 commit
-
-
Zheng Xu authored
PiperOrigin-RevId: 315408659
-
- 06 Jun, 2020 1 commit
-
-
Michael Reneer authored
* Regex search replace. * Removed unused imports. * Removed BUILD deps. PiperOrigin-RevId: 314969638
-
- 28 May, 2020 1 commit
-
-
Michael Reneer authored
PiperOrigin-RevId: 313413666
-
- 16 May, 2020 1 commit
-
-
Michael Reneer authored
TF_DATASET_REPRESENTATION_TYPES infer_type type_to_tf_dtypes_and_shapes type_to_tf_tensor_specs type_to_tf_structure type_from_tensors convert_to_py_container -> type_to_py_container to_non_all_equal -> type_to_non_all_equal Note: The "type" prefix is retained here to make the public API a little clearer. (e.g. tff.framework.type_to_tf_dtypes_and_shapes) PiperOrigin-RevId: 311838556
-
- 12 May, 2020 1 commit
-
-
Michael Reneer authored
* This is to remove a circular dependency between the functionality of `type_utils` module and functionality in the `compiler/utils` package. PiperOrigin-RevId: 311023021
-
- 19 Mar, 2020 1 commit
-
-
Michael Reneer authored
PiperOrigin-RevId: 301611125
-
- 10 Mar, 2020 1 commit
-
-
Scott Wegner authored
This is a convenience for working with the output of a federated computation, which is generally returned as a nested AnonymousTuple structure. Now, individual values can be extracted from the structure using: result = my_federated_computation() pprint(result['foo']) This was previously possible using `getattr(result, 'foo')`; this change makes the existing functionality more discoverable. PiperOrigin-RevId: 299964819
-
- 27 Feb, 2020 1 commit
-
-
Galen Andrew authored
PiperOrigin-RevId: 297384516
-
- 14 Feb, 2020 1 commit
-
-
Michael Reneer authored
* This is required for parameterized test to work because decorators are parsed before the main function is called, if there is tf code in the parameters it may be not obvious why things are failing. PiperOrigin-RevId: 294983486
-
- 30 Jan, 2020 1 commit
-
-
Galen Andrew authored
Convert record to list if it cannot be converted to dict in default type_fns for build_dp_aggregate. PiperOrigin-RevId: 292202996
-
- 21 Dec, 2019 1 commit
-
-
Brendan McMahan authored
PiperOrigin-RevId: 286616288
-
- 06 Dec, 2019 1 commit
-
-
Michael Reneer authored
PiperOrigin-RevId: 284068047
-
- 16 Nov, 2019 2 commits
-
-
A. Unique TensorFlower authored
PiperOrigin-RevId: 280784907
-
Michael Reneer authored
PiperOrigin-RevId: 280767713
-
- 17 Oct, 2019 1 commit
-
-
Steve Chien authored
PiperOrigin-RevId: 275079302
-
- 16 Oct, 2019 1 commit
-
-
Steve Chien authored
PiperOrigin-RevId: 274674077
-
- 10 Oct, 2019 1 commit
-
-
Galen Andrew authored
Adds utility function to core/utils/differential_privacy for creating DPQuery with adaptive clipping and/or per-vector clipping. Also cleans up research/baselines/emnist/run_experiment. PiperOrigin-RevId: 273777778
-
- 20 Sep, 2019 1 commit
-
-
Peter Kairouz authored
PiperOrigin-RevId: 270161754
-