You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/01/19 04:01:42 UTC

[GitHub] tornadomeet commented on a change in pull request #9487: fix hidden node for batch norm in gluon api[visualization.py]

tornadomeet commented on a change in pull request #9487: fix hidden node for batch norm in gluon api[visualization.py]
URL: https://github.com/apache/incubator-mxnet/pull/9487#discussion_r162533676
 
 

 ##########
 File path: python/mxnet/visualization.py
 ##########
 @@ -266,7 +266,8 @@ def looks_like_weight(name):
         if name.endswith("_bias"):
             return True
         if name.endswith("_beta") or name.endswith("_gamma") or \
-	   name.endswith("_moving_var") or name.endswith("_moving_mean"):
+          name.endswith("_moving_var") or name.endswith("_moving_mean") or \
+          name.endswith("_running_var") or name.endswith("_running_mean"):
             return True
         return False
 
 Review comment:
   @szha  great! done.

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