class_docstr: Problem class for Program Search Algolisp task.
  
  Synthesizing programs from description and examples.
  
  Please see: https://arxiv.org/pdf/1802.04335.pdf for the full description.
class_docstr_tok: ["Problem","class","for","Program","Search","Algolisp","task",".","Synthesizing","programs","from","description","and","examples",".","Please","see",":","https",":","\/\/arxiv.org\/pdf\/1802.04335.pdf","for","the","full","description","."]
docstr: Downloads the appropriate dataset file and returns its path.
docstr_tok: ["Downloads","the","appropriate","dataset","file","and","returns","its","path","."]
code: def maybe_download_dataset(self, tmp_dir, dataset_split):
      """Downloads the appropriate dataset file and returns its path."""
      # Get the dataset url for the split requested.
      url = self.DATA_URLS.get(dataset_split, None)
  
      # Sanity check.
      if url is None:
          tf.logging.fatal(
              "Unknown dataset_split passed: {}".format(dataset_split)
          )
  
      # Download the data, if it doesn't already exist.
      return generator_utils.maybe_download(
          tmp_dir, self._extract_filename_from_url(url), url
      )
  
file_path: tensor2tensor/tensor2tensor/data_generators/program_search.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import gzip
  import json
  import os
  from tensor2tensor.data_generators import generator_utils
  from tensor2tensor.data_generators import problem
  from tensor2tensor.data_generators import text_problems
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
label_desc: Use image node_id 5 for calling the ProgramSearchAlgolisp obj's underlying member method code with example usage: obj.maybe_download_dataset(tmp_dir, dataset_split) and returns: generator_utils