def METHOD_NAME(h):
  remote_iterator = iterator_ops.Iterator.from_string_handle(
      h, dataset_ops.get_legacy_output_types(dataset_3),
      dataset_ops.get_legacy_output_shapes(dataset_3))
  return remote_iterator.get_next()