TFDS: drop key if any in dataset_builder when not needed (_prepare_split_legacy). Issue #737.
TFDS: drop key if any in dataset_builder when not needed (_prepare_split_legacy). Issue #737.

PiperOrigin-RevId: 262312250

tensorflow/datasets,tensorflow/datasets,tensorflow/datasets,tensorflow/datasets,tensorflow/datasets