TristonC edited a comment on issue #18751:
URL: 
https://github.com/apache/incubator-mxnet/issues/18751#issuecomment-661442792


   In case anyone want to do a PyTorch comparison for CPU version:
   ```python
   import torch
   import torch.nn as nn
   bn = nn.BatchNorm2d(3)
   for _ in range(3):
       x = torch.ones(8, 3, 32, 32)
       out = bn(x)
       print(bn.running_mean, bn.running_var)


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to