mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-mxnet] roywei commented on a change in pull request #15097: [BUGFIX] fix unknown parameter shapes when np_shape is turned on.
Date Sun, 02 Jun 2019 04:52:15 GMT
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

Mime
View raw message