wkcn edited a comment on issue #18475:
URL: 
https://github.com/apache/incubator-mxnet/issues/18475#issuecomment-639377361


   I try to test the batch norm with `fix_gamma=True`.
   The result on CPU is right, but that on GPU is wrong when `fix_gamma=True, 
axis = 1 and cudnn_off=False`. The `bn_beta` is the only wrong value.
   
   Here are the failure cases when `fix_gamma=True`.
   operator|shape|axis|cudnn_off|output_mean_var
   --|--|--|--|--
   BatchNorm|(24, 2)|1|False|False
   BatchNorm|(24, 2)|1|False|True
   BatchNorm|(24, 3, 4)|1|False|False
   BatchNorm|(24, 3, 4)|1|False|True
   BatchNorm|(24, 4, 4, 4)|1|False|False
   BatchNorm|(24, 4, 4, 4)|1|False|True
   BatchNorm|(24, 8, 4, 4)|1|False|False
   BatchNorm|(24, 8, 4, 4)|1|False|True
   BatchNorm|(24, 5, 6, 4, 4)|1|False|False
   BatchNorm|(24, 5, 6, 4, 4)|1|False|True
   


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