This project is mirrored from https://github.com/tensorflow/federated. Pull mirroring failed .
Last successful update .
  1. 24 Nov, 2021 3 commits
    • Zachary Charles's avatar
      Update the README of tff.learning. · 0f2d1f21
      Zachary Charles authored
      PiperOrigin-RevId: 411837027
      0f2d1f21
    • Taylor Cramer's avatar
      Clarify error message following failed value serialization · 09b14dc9
      Taylor Cramer authored
      Previously, we relied on numpy to provide helpful error messages in the case where the provided value did not match the required dtype. However, this resulted in somewhat unfriendly error messages such as the following (in the case where an int64 tensor was expected but a tf.data.Dataset was provided):
      
      TypeError: Cannot cast scalar from dtype('O') to dtype('int64') according to the rule 'same_kind'
      
      The additional context provided by this error message (the value being serialized, the Python type of the value being serialized, and the desired TFF TensorType) should help users find and correct errors more easily.
      
      PiperOrigin-RevId: 411833481
      09b14dc9
    • Zachary Charles's avatar
      De-flake end-to-end learning tests involving aggregator randomness. · 0fd36cab
      Zachary Charles authored
      PiperOrigin-RevId: 411828023
      0fd36cab
  2. 23 Nov, 2021 3 commits
  3. 20 Nov, 2021 5 commits
  4. 19 Nov, 2021 3 commits
    • Michael Reneer's avatar
      Tag the CC tests related to the remote executor with `nomacos`. · a65256cf
      Michael Reneer authored
      This change should enable the MacOS presubmit to succeed.
      
      PiperOrigin-RevId: 410926931
      a65256cf
    • Michael Reneer's avatar
      Cleanup usage of various `flatten` functions. · dcbf78d0
      Michael Reneer authored
      In the tff.program library, there is usage of various `flatten` functions:
      
      * `tf.nest.flatten`
      * `tree.flatten`
      * `structure_utils.flatten`, which is a wrapper around `tree.flatten_with_path`
      
      This change does two things:
      
      1. Consolidates usage of various `flatten` functions to the `tree` package, `tree` is used over `tf.nest` because it has more functionality.
      2. Renames `structure_utils.flatten` to `structure_utils.flatten_with_name` to disambiguate this functionality.
      
      PiperOrigin-RevId: 410910920
      dcbf78d0
    • Michael Reneer's avatar
      Fix broken link. · 67425029
      Michael Reneer authored
      PiperOrigin-RevId: 410894245
      67425029
  5. 18 Nov, 2021 5 commits
  6. 17 Nov, 2021 8 commits
  7. 13 Nov, 2021 3 commits
  8. 12 Nov, 2021 2 commits
  9. 11 Nov, 2021 2 commits
  10. 10 Nov, 2021 6 commits