code: def configure(self, minibatch_size, lod=0):
      lod = int(np.floor(lod))
      assert minibatch_size >= 1 and lod in self._tf_datasets
      if self._cur_minibatch != minibatch_size or self._cur_lod != lod:
          self._tf_init_ops[lod].run(
              {self._tf_minibatch_in: minibatch_size}
          )
          self._cur_minibatch = minibatch_size
          self._cur_lod = lod
  
file_path: insightface/reconstruction/ostec/external/stylegan2/training/dataset.py
imports: import os
  import glob
  import numpy
  import tensorflow
  import dnnlib
  import dnnlib.tflib
label_desc: Use image node_id 3 for calling the TFRecordDataset obj's underlying member method code with example usage: obj.configure(minibatch_size, lod) without return types