Skip to content

Commit

Permalink
Merge pull request apache#19 from MultiLi/master
Browse files Browse the repository at this point in the history
Get rid of annoying parameters of BatchNorm layer
  • Loading branch information
GrassSunFlower committed Jul 14, 2017
2 parents 45801ef + 02cb2ad commit b90b9b5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/mxnet/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,14 @@ def looks_like_weight(name):
return True
if name.endswith("_bias"):
return True
if name.endswith("_var"):
return True
if name.endswith("_beta"):
return True
if name.endswith("_gamma"):
return True
if name.endswith("_mean"):
return True
return False

# make nodes
Expand Down

0 comments on commit b90b9b5

Please sign in to comment.