code: def backward(self, indexes, grad_outputs):
      (gy,) = grad_outputs
  
      ret = []
      if 0 in indexes:
          ret.append(gy)
      if 1 in indexes:
          ret.append(gy[self.slices])
  
      return ret
  
file_path: chainer/chainer/functions/array/scatter_add.py
imports: import numpy
  import chainer
  from chainer import backend
  from chainer.backends import cuda
  from chainer import function_node
  from chainer.utils import type_check
  import chainerx
label_desc: Use image node_id 4 for calling the ScatterAdd obj's underlying member method code with example usage: obj.backward(indexes, grad_outputs) and returns: ret