class_docstr: Collective scatter communication.
class_docstr_tok: ["Collective","scatter","communication","."]
code: def forward(self, inputs):
      input_dtype = inputs[0].dtype
      if self.comm.rank == self.root:
          # convert to float32 for communication
          if numpy.float16 == input_dtype:
              inputs = tuple(
                  [item.astype(numpy.float32) for item in inputs]
              )
          y = self.comm.scatter(inputs, self.root)
      else:
          y = self.comm.scatter(None, self.root)
  
      # convert back
      if numpy.float16 == input_dtype:
          y = y.astype(input_dtype)
  
      return (y,)
  
imports: import chainer
  from chainer import backend
  import numpy
label_desc: Use image node_id 3 for calling the Scatter obj's underlying member method code with example usage: obj.forward(inputs) and returns: y