You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2017/12/19 22:04:06 UTC

[GitHub] sxjscience commented on a change in pull request #9148: raise warning when we detect Block inside nested list/dict

sxjscience commented on a change in pull request #9148: raise warning when we detect Block inside nested list/dict
URL: https://github.com/apache/incubator-mxnet/pull/9148#discussion_r157888278
 
 

 ##########
 File path: python/mxnet/gluon/block.py
 ##########
 @@ -180,6 +180,22 @@ def __repr__(self):
 
     def __setattr__(self, name, value):
         """Registers parameters."""
+        def _find_block_in_nested(data):
+            # Find whether a nested structure contains Blocks
 
 Review comment:
   There will be too many warnings if I do this. I decide to check the attributes inside collect_params

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


With regards,
Apache Git Services