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 2019/06/02 04:52:15 UTC

[GitHub] [incubator-mxnet] roywei commented on a change in pull request #15097: [BUGFIX] fix unknown parameter shapes when np_shape is turned on.

roywei commented on a change in pull request #15097: [BUGFIX] fix unknown parameter shapes when np_shape is turned on.
URL: https://github.com/apache/incubator-mxnet/pull/15097#discussion_r289625980
 
 

 ##########
 File path: python/mxnet/gluon/utils.py
 ##########
 @@ -412,3 +413,17 @@ def __enter__(self):
 
     def __exit__(self, ptype, value, trace):
         self.detach()
+
+def shape_is_known(shape):
+    """Check whether a shape is completely known w/ or w/o np semantics."""
 
 Review comment:
   maybe a reference to np shape for more details.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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