Skip to content
Snippets Groups Projects
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 .
  1. Jul 17, 2020
  2. Jun 06, 2020
  3. May 28, 2020
  4. May 09, 2020
  5. May 08, 2020
  6. Apr 17, 2020
  7. Apr 02, 2020
  8. Mar 26, 2020
  9. Feb 28, 2020
  10. Feb 19, 2020
    • Zachary Garrett's avatar
      Remove tf.learning.from_compiled_keras_model(). · d878ef91
      Zachary Garrett authored
      -   Removes `tff.learning.from_compiled_keras_model()` from API.
      -   Removes unused `tff.learning._TrainableKerasModel`.
      -   Removes usage of `tf.keras.Model.output_names` and
          `tf.keras.Model.loss_functions` in `tff.learning._KerasModel` to be
          compliant with upcoming Keras refactoring.
      
      As a side-effect of this change, TFF will no longer supported (though no known
      usages):
      
      1.   Specifying multiple loss functions or loss weights via dictionaries
      keyed by model output name. Instead, using ordered sequences of
      functions mapping to outputs is still possible.
      2.   Sublcassed `tf.keras.Model` instances cannot be used in TFF.
      
      PiperOrigin-RevId: 295824509
      d878ef91
  11. Feb 14, 2020
  12. Feb 01, 2020
    • Zachary Garrett's avatar
      Deprecated `tff.learning.from_compiled_keras_model`, point users to... · 4620b2d1
      Zachary Garrett authored
      Deprecated `tff.learning.from_compiled_keras_model`, point users to `tff.learning.from_keras_model`.
      
      This is a small step into moving towards (only) using custom client training loops, rather than relying on Keras. This will also allow us to introspect Keras less, and give TFF libraries and users more flexibility and composibility.
      
      PiperOrigin-RevId: 292603966
      4620b2d1
  13. Jan 31, 2020
  14. Dec 17, 2019
  15. Dec 12, 2019
    • A. Unique TensorFlower's avatar
      Automated rollback of commit 13c5a443 · 0fb8880a
      A. Unique TensorFlower authored
      PiperOrigin-RevId: 285116495
      0fb8880a
    • Zachary Garrett's avatar
      Don't rely on variable names for type signatures, as TF may invoke some · 13c5a443
      Zachary Garrett authored
      de-duplication strategy in non-eager mode.
      
      TF, under certain circumstances, prepends `_#` numbers to variables with the
      same name. This appears to happen in non-eager mode and in some occasions with
      Keras. TFF previously used these names for the type signature, which would
      cause problems when the same model was created more than once in the same graph
      context.
      
      Instead, rely on the ordering of the sequence of variables contained in the
      model and use the unnamed structure for types.
      
      PiperOrigin-RevId: 285032395
      13c5a443
  16. Dec 07, 2019
  17. Dec 06, 2019
  18. Nov 28, 2019
  19. Nov 20, 2019
  20. Nov 16, 2019
  21. Nov 14, 2019
    • Zachary Garrett's avatar
      Correctly compute the number of examples when Keras is using multiple inputs. · d5ba7547
      Zachary Garrett authored
      Previously tried calling shape on a nested structure of tensors, which will not
      work. Instead flatten the structre and call shape on the first tensor (all
      input tensors are expected to have the same first dimension size, the batch
      size).
      
      Updated example models and tests, ensured the test failed under the current
      code and passes after this change.
      
      Fixes #785
      
      PiperOrigin-RevId: 280221692
      d5ba7547
  22. Nov 13, 2019
    • Zachary Garrett's avatar
      Add an example model using Keras + feature columns and a lookup table. · f0d87dbd
      Zachary Garrett authored
      The unittest adding the example to FedAvg tests currently does not run because
      TFF doesn't have its hands on the lookup table initializer (see
      #783). This test is disabled by
      default (since it won't pass) and any fix should enable and ensure it passes.
      
      Switch to the local executor for tests to make them faster, and decrease the
      size to 'medium' to reflect this improvement.
      
      PiperOrigin-RevId: 280083440
      f0d87dbd
  23. Aug 30, 2019
  24. Aug 21, 2019
  25. Aug 14, 2019
  26. Jun 04, 2019
  27. Jun 01, 2019
  28. May 30, 2019
  29. May 25, 2019
  30. May 24, 2019
  31. May 16, 2019
  32. May 04, 2019
  33. May 02, 2019
Loading