code: def __iter__(self):
      if isinstance(self.x, tf.data.Dataset):
          for batch in self.x.batch(1):
              yield tensors_to_numpy(batch, self.dtype)
      else:
          for x, y in zip(self.x, self.y):
              x, y = tensors_to_numpy((x, y), self.dtype)
              yield np.expand_dims(x, axis=0), np.expand_dims(y, axis=0)
  
file_path: BigDL/python/nano/src/bigdl/nano/deps/neural_compressor/onnx/tensorflow/quantization.py
imports: import numpy
  import tensorflow
  from bigdl.nano.utils.tf import tensors_to_numpy
  from bigdl.nano.deps.onnxruntime.tensorflow.model import KerasONNXRuntimeModel
  from ..quantization import BaseONNXRuntimeQuantization
  from .metric import KerasONNXRuntimeINCMetic
label_desc: Use image node_id 3 for calling the KerasNumpyDataset obj's underlying member method code with example usage: obj.__iter__() without return types