docs: def make_dataset_from_selfplay(data_extracts):
      """
      Returns an iterable of tf.Examples.
      Args:
          data_extracts: An iterable of (position, pi, result) tuples
      """
      tf_examples = (make_tf_example(features_lib.extract_features(pos), pi, result)
                     for pos, pi, result in data_extracts)
      return tf_examples