code: def __init__(self, communicator, rank_master):
      super(_MultiNodeIteratorSlave, self).__init__()
      self.communicator = communicator
      self.rank_master = rank_master
  
      # Compatibility to Chainer iterators.
      self.epoch = 0
      self.current_position = 0
      self.is_new_epoch = False
  
      # TODO(tsutsumi): potential deadlock?
      _size = self.communicator.bcast(None, root=self.rank_master)
      self.dataset_size = int(_size)
      self._order = self.communicator.bcast(None, root=self.rank_master)
      self._order = self._order.astype(numpy.int64)
      if self._order[0] == -1:
          self._order = None
  
imports: import chainer
  import numpy
label_desc: Use image node_id 1 to create a new _MultiNodeIteratorSlave object from inherited base classes: chainer.dataset.iterator with example: obj = _MultiNodeIteratorSlave(communicator, rank_master)