Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
add activation information for mxnet.gluon.nn._Conv (#12354)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkcn authored and szha committed Aug 25, 2018
1 parent ad34e05 commit 54d5777
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/mxnet/gluon/nn/conv_layers.py
Original file line number Diff line number Diff line change
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 54d5777

Please sign in to comment.