When converting values back to Python containers, leave `tf.data.Dataset` values untouched.
`tf.data.Dataset` cannot yield `AnonymousTuple`, so it must have been constructed by TFF with an appropriate Python container already, so we don't need to do anything. PiperOrigin-RevId: 322402388
Showing
- tensorflow_federated/python/core/impl/types/type_conversions.py 5 additions, 2 deletions...flow_federated/python/core/impl/types/type_conversions.py
- tensorflow_federated/python/core/impl/types/type_conversions_test.py 25 additions, 6 deletions...federated/python/core/impl/types/type_conversions_test.py
Loading
Please register or sign in to comment