code: def next(self):
      self.cur_iter += 1
      if self.cur_iter <= self.max_iter:
          return DataBatch(
              data=(self.data,),
              label=(self.label,),
              pad=0,
              index=None,
              provide_data=self.provide_data,
              provide_label=self.provide_label,
          )
      else:
          raise StopIteration
  
file_path: byteps/example/mxnet/common/data_byteps.py
imports: import mxnet
  import random
  from mxnet.io import DataBatch, DataIter
  import numpy
label_desc: Use image node_id 5 for calling the SyntheticDataIter obj's underlying member method code with example usage: obj.next() and returns: DataBatch