leezu commented on issue #11938: l2_normalization for fp16 got 0.0 when data is 
very large
URL: 
https://github.com/apache/incubator-mxnet/issues/11938#issuecomment-409442402
 
 
   @TccccD your contribution to fix the L2Norm Op would be very welcome. 
Instead of trying to find a suitable scale a-priori (by e.g. looking for the 
max element) we can also use the scaled sum of squares algorithm added here 
https://github.com/apache/incubator-mxnet/pull/11573/files#diff-c8275a550b65b889051bd88c27d1e1b7R880
 I'm not sure if we can easily use the Reducer interface in legacy-ops though

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to