wkcn edited a comment on issue #13036: fix operators to support large arrays.
URL: 
https://github.com/apache/incubator-mxnet/issues/13036#issuecomment-435316387
 
 
   Hi, I modified `src/operator/mxnet_op.h` to support `int32_t` and `int64_t` 
as the type of iterator. It may be helpful.
   
   And I wrote a 
[script](https://gist.github.com/wkcn/59f6867a217e1a4f68c83ab3d845bba5) to 
replace the type of interator to `IndexType`.
   
   Usage:
   * 1. Install  `the_silver_searcher`
   * 2. Input the command: `ag "MSHADOW_XINLINE static void Map" > map.txt`
   * 3. `python replace_index.py`
   
   However, there was some bug in the script. :-(

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to