szha commented on a change in pull request #7938: instance norm and reflection 
padding
URL: https://github.com/apache/incubator-mxnet/pull/7938#discussion_r165799996
 
 

 ##########
 File path: python/mxnet/gluon/nn/basic_layers.py
 ##########
 @@ -555,8 +553,9 @@ def hybrid_forward(self, F, x, gamma, beta):
 
     def __repr__(self):
         s = '{name}({content}'
+        in_channels = self.gamma.shape[0]
         if hasattr(self, 'in_channels'):
 
 Review comment:
   remove condition

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to