Skip to content

Commit

Permalink
add activation information for mxnet.gluon.nn._Conv (apache#12354)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkcn authored and anirudh2290 committed Sep 19, 2018
1 parent 420d222 commit 7946c39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/mxnet/gluon/nn/conv_layers.py
Expand Up @@ -153,6 +153,8 @@ def __repr__(self):
s += ', groups={num_group}'
if self.bias is None:
s += ', bias=False'
if self.act:
s += ', {}'.format(self.act)
s += ')'
shape = self.weight.shape
return s.format(name=self.__class__.__name__,
Expand Down

0 comments on commit 7946c39

Please sign in to comment.