Use python containers instead of `tff.NamedTupleType` for type specifications.
This will preserve the returned container value, making it usable with utilities such as `tf.nest`. PiperOrigin-RevId: 322236441
Showing
- tensorflow_federated/python/research/utils/datasets/stackoverflow_dataset.py 12 additions, 13 deletions...d/python/research/utils/datasets/stackoverflow_dataset.py
- tensorflow_federated/python/research/utils/datasets/stackoverflow_dataset_test.py 14 additions, 16 deletions...hon/research/utils/datasets/stackoverflow_dataset_test.py
Please register or sign in to comment