access2rohit commented on a change in pull request #19302:
URL: https://github.com/apache/incubator-mxnet/pull/19302#discussion_r500636767



##########
File path: src/api/operator/numpy/np_matrix_op.cc
##########
@@ -580,7 +583,10 @@ MXNET_REGISTER_API("_npi.diagonal")
   const nnvm::Op* op = Op::Get("_npi_diagonal");
   nnvm::NodeAttrs attrs;
   op::NumpyDiagonalParam param;
-  param.offset = args[1].operator int();
+  if (features::is_enabled(features::INT64_TENSOR_SIZE))

Review comment:
       same as above




----------------------------------------------------------------
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]


Reply via email to