class_docstr: Quickdraw bitmap dataset.
  
  This is the version of the QuickDraw data in which 28x28 grayscale images
  are generated from the raw vector information (i.e. the 'bitmap' dataset, not
  the 'raw' or 'simplified drawings' datasets).
docstr: Generate QuickDraw bitmap examples.
  
  Given a list of file paths with data for each class label, generate examples
  in a random order.
  
  Args:
    file_paths: (dict of {str: str}) the paths to files containing the data,
      indexed by label.
  
  Yields:
    The QuickDraw examples, as defined in the dataset info features.
docstr_tok: ["Generate","QuickDraw","bitmap","examples",".","Given","a","list","of","file","paths","with","data","for","each","class","label",",","generate","examples","in","a","random","order",".","Args",":","file_paths",":","(","dict","of","{","str",":","str","}",")","the","paths","to","files","containing","the","data",",","indexed","by","label",".","Yields",":","The","QuickDraw","examples",",","as","defined","in","the","dataset","info","features","."]
code: def _generate_examples(self, file_paths):
      """Generate QuickDraw bitmap examples.
  
      Given a list of file paths with data for each class label, generate examples
      in a random order.
  
      Args:
        file_paths: (dict of {str: str}) the paths to files containing the data,
          indexed by label.
  
      Yields:
        The QuickDraw examples, as defined in the dataset info features.
      """
      for label, path in sorted(file_paths.items(), key=lambda x: x[0]):
          with tf.io.gfile.GFile(path, "rb") as f:
              class_images = np.load(f)
              for i, np_image in enumerate(class_images):
                  record = {
                      "image": np_image.reshape(_QUICKDRAW_IMAGE_SHAPE),
                      "label": label,
                  }
                  yield "%s_%i" % (label, i), record
  
imports: import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Builder obj's underlying member method code with example usage: obj._generate_examples(file_paths) without return types