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 2018/10/11 19:59:22 UTC

[GitHub] zhanghang1989 opened a new pull request #12803: Fix Extremely Unbalanced Issue in split_and_load

zhanghang1989 opened a new pull request #12803: Fix Extremely Unbalanced Issue in split_and_load
URL: https://github.com/apache/incubator-mxnet/pull/12803
 
 
   ## Description ##
   Existing implementation:
   ```python
   import mxnet as mx
   x = mx.nd.ones((38, 3, 4, 4))
   ctx = [mx.gpu(i) for i in range(8)]
   xs = mx.gluon.utils.split_and_load(x, ctx, even_split=False)
   
   for xi in xs:
       print(xi.shape[0])
   ```
   The output is:
   ```bash
   4
   4
   4
   4
   4
   4
   4
   10
   ```
   

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


With regards,
Apache Git Services