This project is mirrored from https://github.com/tensorflow/federated.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- Sep 21, 2019
-
-
Scott Wegner authored
* Add space between sentences * Improve wording around how may fields may be shown PiperOrigin-RevId: 270372166
-
- Sep 12, 2019
-
-
Keith Rush authored
Generates the elements of the tuple in sequence instead of pulling the entire thing into a list. Also replaces any instances of immediate iteration over the elements with iterating over the generator instead. PiperOrigin-RevId: 268550273
-
- Sep 07, 2019
-
-
Keith Rush authored
Previously, equality was checked by equality of name_to_index dict (IE equality as dicts, as unordered sets of key-value pairs), while hash was generated by iterating over the dict (where order matters). Since dicts are unordered, it is an implementation detail of the underlying Python whether equality as AnonymousTuples then implies equality of hashes. This is not quite in line with the python spec of hash, which states that objects which compare as equal *must* return the same hash value. PiperOrigin-RevId: 267644204
-
- Sep 06, 2019
-
-
Keith Rush authored
Previously this had to be constructed every time to_elements was called; now attached to the anonymous tuple itself, and without adding extra iteration over the element array. PiperOrigin-RevId: 267480998
-
- Aug 29, 2019
-
-
Michael Reneer authored
* Updated `__eq__` implementation. * Added more tests. PiperOrigin-RevId: 266080001
-
- Aug 23, 2019
-
-
A. Unique TensorFlower authored
PiperOrigin-RevId: 264872454
-
- Aug 20, 2019
-
-
Michael Reneer authored
PiperOrigin-RevId: 264257508
-
- Aug 16, 2019
-
-
Michael Reneer authored
* Removed explicit calls to `str`. * Updated to use `''.format()`. PiperOrigin-RevId: 263601586
-
- Aug 02, 2019
-
-
Brendan McMahan authored
Adds a utility to recursively convert AnonymousTuples to an arbitrary container type, and uses this to add a recursive kwarg to AnonymousTuple._asdict for returning a nested structure of OrderedDicts. PiperOrigin-RevId: 260811226
-
- May 24, 2019
-
-
Zachary Garrett authored
PiperOrigin-RevId: 249692405
-
- May 16, 2019
-
-
Michael Reneer authored
* Added `name_required` to allow for `None` names. * Added `value_type` to allow testing for value types. PiperOrigin-RevId: 248394238
-
- May 15, 2019
-
-
Zachary Garrett authored
PiperOrigin-RevId: 248151454
-
- May 14, 2019
-
-
Zachary Garrett authored
PiperOrigin-RevId: 247959670
-
- May 13, 2019
-
-
Zachary Garrett authored
PiperOrigin-RevId: 247944470
-
- May 11, 2019
-
-
Brendan McMahan authored
Add an _asdict method to AnonymousTuple. This should allow us to avoid importing anonymous_tuple in places where we need to convert the result of a federated comutation back into a standard Python container. PiperOrigin-RevId: 247674260
-
- May 10, 2019
-
-
Zachary Garrett authored
PiperOrigin-RevId: 247478369
-
- May 02, 2019
-
-
Zachary Garrett authored
PiperOrigin-RevId: 246164724
-
- Apr 19, 2019
-
-
Zachary Garrett authored
PiperOrigin-RevId: 244269098
-
- Apr 16, 2019
-
-
Michael Reneer authored
PiperOrigin-RevId: 243722036
-
- Apr 10, 2019
-
-
Michael Reneer authored
PiperOrigin-RevId: 242750562
-
- Feb 16, 2019
-
-
mcmahan authored
Preserve the order of variable lists and provide ModelWeights.keras_weights, and add methods to convert (keras model weights) <--> (tff model state). This lets us get back from a ModelWeights structure to a list that can be used with keras_model.set_weights(). Fixes a bug where anonymous_tuple.flatten was used together with nest.pack_sequence_as, which happened to work before but didn't after the other changes in this CL. Consolidates all the TFF-specific code in optimizer_utils.py to a single function. Raise a ValueError if someone tries to construct an AnonymousTuple with duplicated names, and also check to this when construct OrderedDicts of variables. PiperOrigin-RevId: 234265469
-
ostrowski authored
Implements federated evaluation (also adds recursive conversion to anonymous tuples from containers, and picks up a few changes to api_docs on rebuild). PiperOrigin-RevId: 234161245
-
- Feb 08, 2019
-
-
zachgarrett authored
- compute hash lazily, but store the computation - change field name mapping to use dict type - add __slots__ for the three instance attributes to prevent unused __dict__ attribute PiperOrigin-RevId: 232987042
-
- Feb 02, 2019
-
-
krush authored
PiperOrigin-RevId: 232061201
-
- Jan 29, 2019
-
-
zachgarrett authored
PiperOrigin-RevId: 231251168
-
- Jan 24, 2019
-
-
michaelreneer authored
PiperOrigin-RevId: 230655244
-
michaelreneer authored
PiperOrigin-RevId: 230591634
-
- Jan 23, 2019
-
-
ostrowski authored
Adds an interface for ingesting arguments to allow sequences and federated types Adds an interface for ingesting arguments to allow sequences or federated types to be passed as arguments into the reference executor as plain Python lists and unplaced Python values. PiperOrigin-RevId: 230423042
-
- Jan 18, 2019
-
-
Zachary Garrett authored
PiperOrigin-RevId: 229849102
-
- Jan 16, 2019
-
-
Zachary Garrett authored
Implement a map_structure() method for AnonymousTuple. Changes flatten() to delegate to tf.contrib.framework.nest.flatten() when type is not an AnonymousTuple. PiperOrigin-RevId: 229474271
-
- Dec 21, 2018
-
-
Krzysztof Ostrowski authored
Beginnings of a minimalistic implementation of the first piece of a reference executor for simple unit tests. PiperOrigin-RevId: 226347599
-
- Dec 18, 2018
-
-
Michael Reneer authored
* Run modernize. * Updated the py_test to set default_python_version to PY3. * Updated the Dockerfile to use python3 by default. * Added imports to `six.moves` functions. PiperOrigin-RevId: 225912518
-
- Dec 12, 2018
-
-
Michael Reneer authored
PiperOrigin-RevId: 225085865
-
Michael Reneer authored
PiperOrigin-RevId: 225061102
-
Keith Rush authored
type_signature is types.NamedTuple. PiperOrigin-RevId: 225033206
-
- Dec 08, 2018
-
-
Michael Reneer authored
PiperOrigin-RevId: 224577355
-
- Dec 07, 2018
-
-
Krzysztof Ostrowski authored
PiperOrigin-RevId: 224371592
-
- Dec 06, 2018
-
-
Michael Reneer authored
* Fixed incorrectly formatted docstrings. * Fixed use of generic asserts. * Changed to use absltest to be able to use more specific assert variants. PiperOrigin-RevId: 224189879
-
- Dec 05, 2018
-
-
Zachary Garrett authored
Make source be python 2 and 3 compattble: - xrange -> six.moves.range - __builtin__ -> six.moves.builtins - dict.iteritems() -> six.iteritems(dict) - Iterate over dict.values() views to avoid indexing - str -> six.b(str) to wrap strings in bytes - raise ValueError -> raise AttributeError when accessing a property that does not exist on the object - hoist variable declaration out of try/catch block PiperOrigin-RevId: 224019632
-
- Nov 10, 2018
-
-
Krzysztof Ostrowski authored
PiperOrigin-RevId: 220845390
-