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


With regards,
Apache Git Services

Reply via email to