class_docstr: Wrapper for tf.data.Dataset to permit extensions.
class_docstr_tok: ["Wrapper","for","tf.data.Dataset","to","permit","extensions","."]
code: def parse(self, para_parse: int = 2):
      if not self.parse_fn:
          return self
      if self.image_shape:
          return self.map(
              lambda x: self.parse_fn(x, self.image_shape), para_parse
          )
      return self.map(self.parse_fn, para_parse)
  
file_path: privacy/research/mi_lira_2021/dataset.py
imports: from typing import Callable, Optional, Tuple, List
  import numpy
  import tensorflow
label_desc: Use image node_id 10 for calling the DataSet obj's underlying member method code with example usage: obj.parse(para_parse) and returns: self, self, self