class_docstr: MNIST.
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(self, dl_manager):
      """Returns SplitGenerators."""
      # Download the full MNIST Database
      filenames = {
          "train_data": _MNIST_TRAIN_DATA_FILENAME,
          "train_labels": _MNIST_TRAIN_LABELS_FILENAME,
          "test_data": _MNIST_TEST_DATA_FILENAME,
          "test_labels": _MNIST_TEST_LABELS_FILENAME,
      }
      mnist_files = dl_manager.download_and_extract(
          {
              k: urllib.parse.urljoin(self.URL, v)
              for k, v in filenames.items()
          }
      )
  
      # MNIST provides TRAIN and TEST splits, not a VALIDATION split, so we only
      # write the TRAIN and TEST splits to disk.
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs=dict(
                  num_examples=_TRAIN_EXAMPLES,
                  data_path=mnist_files["train_data"],
                  label_path=mnist_files["train_labels"],
              ),
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.TEST,
              gen_kwargs=dict(
                  num_examples=_TEST_EXAMPLES,
                  data_path=mnist_files["test_data"],
                  label_path=mnist_files["test_labels"],
              ),
          ),
      ]
  
imports: import os
  import numpy
  from six.moves import urllib
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 2 for calling the MNIST obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list