diff --git a/python/mxnet/gluon/nn/conv_layers.py b/python/mxnet/gluon/nn/conv_layers.py index 96ecc21c81b3..5f20d20c02ab 100644 --- a/python/mxnet/gluon/nn/conv_layers.py +++ b/python/mxnet/gluon/nn/conv_layers.py @@ -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__,