piiswrong commented on a change in pull request #9877: Better even_split=False
support in gluon.split_data()
URL: https://github.com/apache/incubator-mxnet/pull/9877#discussion_r171044039
##########
File path: python/mxnet/gluon/utils.py
##########
@@ -56,13 +56,10 @@ def split_data(data, num_slice, batch_axis=0,
even_split=True):
Returns
-------
list of NDArray
- Return value is a list even if `num_slice` is 1.
+ Return value is a list even if `num_slice` is 1. When `even_split`
+ is `False` this may be shorter than `num_slice`.
Review comment:
It's better to use the discard or rollover option for DataLoader
----------------------------------------------------------------
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