KellenSunderland commented on a change in pull request #9671: Exp backoff for 
downloads.
URL: https://github.com/apache/incubator-mxnet/pull/9671#discussion_r165642736
 
 

 ##########
 File path: python/mxnet/gluon/utils.py
 ##########
 @@ -61,13 +52,13 @@ def split_data(data, num_slice, batch_axis=0, 
even_split=True):
     size = data.shape[batch_axis]
     if size < num_slice:
         raise ValueError(
-            "Too many slices for data with shape %s. Arguments are " \
-            "num_slice=%d and batch_axis=%d."%(str(data.shape), num_slice, 
batch_axis))
+            "Too many slices for data with shape %s. Arguments are "
 
 Review comment:
   I think triplequotes would be the equiv of
   
   ```python
   "Too many slices for data with shape %s. Arguments are \n" \
   "num_slice=%d and batch_axis=%d."%(str(data.shape), num_slice, batch_axis))
   ```
   
   but I'll try a few options.

----------------------------------------------------------------
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