access2rohit commented on a change in pull request #19382:
URL: https://github.com/apache/incubator-mxnet/pull/19382#discussion_r533710938
##########
File path: src/operator/numpy/np_init_op.cc
##########
@@ -47,11 +47,13 @@ inline bool NumpyIndicesShape(const nnvm::NodeAttrs& attrs,
<< "_npi_indices dimensions the number of dim must not be less than 0";
mxnet::TShape param_dim = param.dimensions;
if (!shape_is_known(param_dim)) return false;
+ CHECK_LT(param_dim.Size(), INT32_MAX) << "ValueError: np.indices does not
support large"
Review comment:
can you change the message to “does not support input(s) containing
elements >=2^31”
----------------------------------------------------------------
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:
[email protected]