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. Oct 16, 2019
  2. Oct 15, 2019
    • Scott Wegner's avatar
      Extend tff.to_type() to support attr.s classes with type annotations. · bb82c024
      Scott Wegner authored
      Previously, to_type only supported passing attr.s class instances with type information embedded into the instance fields (i.e. tff.to_type(MyAttrsClass(my_field=tf.int32))). This change extends support to also accept attr.s class type objects when the field types have been defined, i.e:
      
        @attr.s
        class MyAttrsClass(object):
          my_field = attr.ib(type=tf.int32)
      
        tff.to_type(MyAttrsClass)
      
      PiperOrigin-RevId: 274598038
      bb82c024
  3. Oct 12, 2019
  4. Oct 11, 2019
  5. Oct 10, 2019
  6. Oct 09, 2019
  7. Oct 08, 2019
  8. Oct 07, 2019
  9. Oct 05, 2019
  10. Oct 04, 2019
Loading