joddiy commented on issue #700:
URL: https://github.com/apache/singa/issues/700#issuecomment-654043371


   > Hi,
   > 
   > Will work on RoiAlign. Also can GatherElements be implemented similar to 
ScatterElements?
   > 
   > Thanks and Regards,
   > Shashank Nigam
   
   Thanks @Shashankwer . I guess you can implement the ScatterElements firstly, 
it's easy to follow the formula:
   ```
     output[indices[i][j]][j] = updates[i][j] if axis = 0, 
     output[i][indices[i][j]] = updates[i][j] if axis = 1,
   ```
   
   For more information, please check this link: 
https://github.com/onnx/onnx/blob/master/docs/Operators.md#scatterelements
   
   It's ok to implement this operator on NumPy array and then convert it to 
SINGA Tensor.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to