sxjscience edited a comment on issue #11061:
URL: 
https://github.com/apache/incubator-mxnet/issues/11061#issuecomment-701513454


   I think we should try to remove the usage of 
https://github.com/apache/incubator-mxnet/blob/9de2a48fabf1b8a60eb539640dea4c0637b5522b/src/operator/numpy/np_broadcast_reduce_op.h#L472
 and reuse the 
   `ReduceAxesComputeImpl` 
https://github.com/apache/incubator-mxnet/blob/9268f89080d84d37aadb295f918515fd6d43436e/src/operator/tensor/broadcast_reduce_op.h#L621-L650
   
   For `argmax`, we can write a customized reducer that returns both the `max` 
value and its location.


----------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to