You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/07/18 23:04:38 UTC

[GitHub] [incubator-mxnet] apeforest commented on a change in pull request #15593: [WIP]Large Index Support

apeforest commented on a change in pull request #15593: [WIP]Large Index Support 
URL: https://github.com/apache/incubator-mxnet/pull/15593#discussion_r305148005
 
 

 ##########
 File path: python/mxnet/ndarray/ndarray.py
 ##########
 @@ -130,10 +130,11 @@ def _new_alloc_handle(shape, ctx, delay_alloc, dtype=mx_real_t):
     handle
         A new empty `NDArray` handle.
     """
+    print("shape={}".format(shape))
     hdl = NDArrayHandle()
     check_call(_LIB.MXNDArrayCreateEx(
-        c_array_buf(mx_uint, native_array('I', shape)),
-        mx_uint(len(shape)),
+        c_array_buf(mx_int64, native_array('q', shape)),
 
 Review comment:
   need to check python version if 'q' is supported

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services