traveller59 opened a new issue #7981: Python: When pass None to mx.sym.var's shape and infer, python stop working URL: https://github.com/apache/incubator-mxnet/issues/7981 ## Environment info Operating System: Windows 10 64bit Package used (Python/R/Scala/Julia):Python MXNet version: 0.11 ## Error Message: mxnet should raise a exception instead of stop working when user pass a None(tensorflow style) shape to mx.sym.var Code: ```python x = mx.sym.var('x', shape=(None, 100)) y = mx.sym.var('y', shape=(None, 100)) z = x + y t = x** 2 + z / y t.infer_shape() ``` Error: ``` [19:40:57] D:\Program Files (x86)\Jenkins\workspace\mxnet\mxnet\src\executor\infer_graph_attr_pass.cc:139: Check failed: is >> rshape[out_ent_id] Invalid attribute ``` ---------------------------------------------------------------- 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