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 17, 2019
  2. Oct 16, 2019
  3. 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
  4. Oct 12, 2019
  5. Oct 11, 2019
  6. Oct 10, 2019
  7. Oct 09, 2019
  8. Oct 08, 2019
Loading