yzhliu commented on a change in pull request #18251:
URL: https://github.com/apache/incubator-mxnet/pull/18251#discussion_r426443035
##########
File path: src/api/operator/numpy/np_init_op.cc
##########
@@ -216,7 +217,7 @@ MXNET_REGISTER_API("_npi.arange")
param.repeat = 1;
param.infer_range = false;
if (args[3].type_code() == kNull) {
- param.dtype = mshadow::kFloat32;
+ param.dtype = mxnet::common::GetDefaultDtype();
Review comment:
The example @sxjscience listed looks reasonable to me. I guess we should
do int64 then.
----------------------------------------------------------------
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]