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","."]
code: def generate_samples(self, data_dir, tmp_dir, dataset_split):
      del data_dir
  
      # Download the data, if it doesn't already exist.
      downloaded_filepath = self.maybe_download_dataset(
          tmp_dir, dataset_split
      )
  
      # Decompress the file and iterate through it.
      with gzip.open(downloaded_filepath, "rb") as data_fp:
          for line in data_fp:
              yield self._parse_json_to_dict(line.strip())
  
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 6 for calling the ProgramSearchAlgolisp obj's underlying member method code with example usage: obj.generate_samples(data_dir, tmp_dir, dataset_split) without return types