Update canonical_form_utils and fix ReferenceExecutor type conversion
- Remove use of `tff.NamedTupleType` and use Python containers and avoid exposing AnonymousTuple. - Add handling of `tff.SequenceType` to type conversion code. - Change ReferenceExecutor to convert values unconditionally. PiperOrigin-RevId: 322232543
Showing
- tensorflow_federated/python/core/backends/mapreduce/canonical_form_utils_test.py 16 additions, 32 deletions...thon/core/backends/mapreduce/canonical_form_utils_test.py
- tensorflow_federated/python/core/backends/mapreduce/test_utils.py 21 additions, 29 deletions...ow_federated/python/core/backends/mapreduce/test_utils.py
- tensorflow_federated/python/core/impl/reference_executor.py 2 additions, 16 deletionstensorflow_federated/python/core/impl/reference_executor.py
- tensorflow_federated/python/core/impl/reference_executor_test.py 1 addition, 1 deletion...low_federated/python/core/impl/reference_executor_test.py
- tensorflow_federated/python/core/impl/types/type_conversions.py 23 additions, 11 deletions...flow_federated/python/core/impl/types/type_conversions.py
- tensorflow_federated/python/core/impl/types/type_conversions_test.py 0 additions, 13 deletions...federated/python/core/impl/types/type_conversions_test.py
Loading
Please register or sign in to comment