code: def _get_iterator(self, return_type="auto"):
      if return_type not in ("np", "tf", "auto"):
          raise ValueError(
              "Argument `return_type` must be one of `{'np', 'tf', 'auto'}`. "
              f"Received instead: return_type={return_type}"
          )
      if return_type == "tf":
          iterator = self.data_adapter.get_tf_dataset()
      else:
          iterator = self.data_adapter.get_numpy_iterator()
      return iterator
  
imports: import warnings
  from keras.trainers import data_adapters
label_desc: Use image node_id 2 for calling the EpochIterator obj's underlying member method code with example usage: obj._get_iterator(return_type) and returns: iterator