tensorflow_federated/python/core/impl/executors/executor_serialization.py [447:468]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  which_value = sequence_value_proto.WhichOneof('value')
  if which_value == 'zipped_saved_model':
    warnings.warn(
        'Deserializng a sequence value that was encoded as a zipped SavedModel.'
        ' This is a deprecated path, please update the binary that is '
        'serializing the sequences.', DeprecationWarning)
    ds = _deserialize_dataset_from_zipped_saved_model(
        sequence_value_proto.zipped_saved_model)
    ds = tensorflow_utils.coerce_dataset_elements_to_tff_type_spec(
        ds, element_type)
  elif which_value == 'serialized_graph_def':
    ds = _deserialize_dataset_from_graph_def(
        sequence_value_proto.serialized_graph_def, element_type)
  else:
    raise NotImplementedError(
        'Deserializing Sequences enocded as {!s} has not been implemented'
        .format(which_value))
  return ds, computation_types.SequenceType(element=element_type)


@tracing.trace
def _deserialize_struct_value(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



tensorflow_federated/python/core/impl/executors/value_serialization.py [471:492]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  which_value = sequence_value_proto.WhichOneof('value')
  if which_value == 'zipped_saved_model':
    warnings.warn(
        'Deserializng a sequence value that was encoded as a zipped SavedModel.'
        ' This is a deprecated path, please update the binary that is '
        'serializing the sequences.', DeprecationWarning)
    ds = _deserialize_dataset_from_zipped_saved_model(
        sequence_value_proto.zipped_saved_model)
    ds = tensorflow_utils.coerce_dataset_elements_to_tff_type_spec(
        ds, element_type)
  elif which_value == 'serialized_graph_def':
    ds = _deserialize_dataset_from_graph_def(
        sequence_value_proto.serialized_graph_def, element_type)
  else:
    raise NotImplementedError(
        'Deserializing Sequences enocded as {!s} has not been implemented'
        .format(which_value))
  return ds, computation_types.SequenceType(element=element_type)


@tracing.trace
def _deserialize_struct_value(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



