class_docstr: Wrapper for tf.data.Dataset to permit extensions.
class_docstr_tok: ["Wrapper","for","tf.data.Dataset","to","permit","extensions","."]
code: def __getattr__(self, item):
      if item in self.__dict__:
          return self.__dict__[item]
  
      def call_and_update(*args, **kwargs):
          v = getattr(self.__dict__["data"], item)(*args, **kwargs)
          if isinstance(v, tf.data.Dataset):
              return self.__class__(
                  v,
                  self.image_shape,
                  augment_fn=self.augment_fn,
                  parse_fn=self.parse_fn,
              )
          return v
  
      return call_and_update
  
file_path: objax/examples/image_classification/tfdata/data.py
imports: from typing import Callable, Optional, Tuple, List
  import numpy
  import tensorflow
label_desc: Use image node_id 6 for calling the DataSet obj's underlying member method code with example usage: obj.__getattr__(item) and returns: call_and_update, self, v, self