class_docstr: Adapter that handles `torch.utils.data.DataLoader`.
class_docstr_tok: ["Adapter","that","handles","`","torch.utils.data.DataLoader","`","."]
code: def get_numpy_iterator(self):
      for batch in self._dataloader:
          # shared memory using `np.asarray`
          yield tuple(
              tree.map_structure(lambda x: np.asarray(x.cpu()), batch)
          )
  
file_path: keras/keras/trainers/data_adapters/torch_data_loader_adapter.py
imports: import numpy
  import tree
  from keras.trainers.data_adapters.data_adapter import DataAdapter
label_desc: Use image node_id 2 for calling the TorchDataLoaderAdapter obj's underlying member method code with example usage: obj.get_numpy_iterator() without return types