You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/08/05 01:15:17 UTC

[GitHub] eric-haibin-lin opened a new issue #7346: [OP] Input gamma mutated in Batch Norm

eric-haibin-lin opened a new issue #7346: [OP] Input gamma mutated in Batch Norm
URL: https://github.com/apache/incubator-mxnet/issues/7346
 
 
   In BatchNorm operator, gamma is not listed as `aux_data` in backend, but actually mutated when `fix_gamma` is True. For sparse storage fallback, when a dense executors see a mutable sparse input, it will generate a dense copy, execute fcompute, and convert the mutated dense copy back to source NDArray. For BatchNorm gamma is not listed as mutable inputs, so storage fallback will not convert this input back to sparse NDArray and fail.
   
   We should use temp storage when `fix_gamma == True` instead of changing input. Need to fix it for #7082 
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services