title: How to do scatter and gather operations in numpy?
body: <p>I want to implement scatter and gather operations of Tensorflow or PyTorch in Numpy. I have been scratching my head for a while. Any pointers are greatly appreciated! </p>
  
  <ul>
  <li><p><a href="http://pytorch.org/docs/master/tensors.html#torch.Tensor.scatter_" rel="noreferrer">PyTorch Scatter</a></p></li>
  <li><p><a href="http://pytorch.org/docs/master/torch.html#torch.gather" rel="noreferrer">PyTorch Gather</a></p></li>
  </ul>