class_docstr: Adapter for `keras.utils.PyDataset` instances.
code: def get_numpy_iterator(self):
      gen_fn = self._make_multiprocessed_generator_fn()
      for i, batch in enumerate(gen_fn()):
          batch = self._standardize_batch(batch)
          yield batch
          if i >= len(self.py_dataset) - 1 and self.enqueuer:
              self.enqueuer.stop()
  
imports: import multiprocessing.dummy
  import queue
  import random
  import threading
  import time
  import warnings
  import weakref
  from contextlib import closing
  import numpy
  import tree
  from keras.api_export import keras_export
  from keras.trainers.data_adapters import data_adapter_utils
  from keras.trainers.data_adapters.data_adapter import DataAdapter
label_desc: Use image node_id 5 for calling the PyDatasetAdapter obj's underlying member method code with example usage: obj.get_numpy_iterator() without return types