reminisce commented on issue #9772: ndarray indexing issues
URL: 
https://github.com/apache/incubator-mxnet/issues/9772#issuecomment-365808285
 
 
   The problem is that in MXNet, `integer_types` are defined as native python 
integer types: `int` and `long`, while `np.int32` and `np.int64` are different 
classes. That's why `isinstance` check failed. This happens for both python2 
and python3.
   
   @piiswrong Is there any concern of adding `np.int32` and `np.int64` to the 
definition of `integer_types` here?
   
https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/base.py#L40

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to