code: def __next__(self):
      if self._role == "arbiter":
          for batch_id in range(self._batch_num):
              yield BatchEncoding(batch_id=batch_id)
          return
  
      for batch in self._batch_splits:
          yield batch
  
imports: import random
label_desc: Use image node_id 3 for calling the FullBatchDataLoader obj's underlying member method code with example usage: obj.__next__() without return types