Open mazeltovlee opened 2 years ago
Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.
Description
mx.sym.Convolution
can still work even when the shape ofmx.sym.Variable
is incorrect.To Reproduce
Steps to reproduce
When running the above code, the symbolic model
e
can still output a reasonable result even though I have declared the shape of the weight variable to be an unreasonable value: shape=(3, 1e+10, 3, 3). It seems that mxnet will not refer to the declared shape inmx.Variable
, but intuitively speaking, setting the unreasonable variable shape while model can still run may be misleading.I am wondering if you can add some shape checks between the declared variable shape and the actual bound data shape.