class_docstr: BuilderConfig for Div2k.
docstr: Constructs a Div2kConfig.
code: def __init__(self, name, **kwargs):
      """Constructs a Div2kConfig."""
      if name not in _DATA_OPTIONS:
          raise ValueError("data must be one of %s" % _DATA_OPTIONS)
  
      description = kwargs.get("description", "Uses %s data." % name)
      kwargs["description"] = description
  
      super(Div2kConfig, self).__init__(name=name, **kwargs)
      self.data = name
      self.download_urls = {
          "train_lr_url": _DL_URLS["train_" + self.data],
          "valid_lr_url": _DL_URLS["valid_" + self.data],
          "train_hr_url": _DL_URLS["train_hr"],
          "valid_hr_url": _DL_URLS["valid_hr"],
      }
  
file_path: datasets/tensorflow_datasets/datasets/div2k/div2k_dataset_builder.py
imports: import os.path
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 to create a new Div2kConfig object from inherited base classes: tfds.core with example: obj = Div2kConfig(name)