chrishkchris edited a comment on issue #14: rearrange contents in dist-train.md
URL: https://github.com/apache/singa-doc/pull/14#issuecomment-609005136
 
 
   > @chrishkchris pls review and test.
   > 
   > In addition, the some APIs can be improved
   > 
   > 1. 
[backward_and_spars_update](https://github.com/apache/singa/blob/master/python/singa/opt.py#L458)
  --> `backward_and_sparse_update`
   > 2. 
[train_mnist_cnn()](https://github.com/apache/singa/blob/master/examples/autograd/mnist_cnn.py#L138)
 -->
   > 
   > ```python
   > train_mnist_cnn( gpu_num=1, gpu_per_node=1, nccl_id=None):
   > ```
   > 
   > all other variables can be created and set inside `train_mnist_cnn` to 
make the API simple to call.
   
   @nudles 
   I have reduced the number of arguments in train_mnist_cnn in 
https://github.com/apache/singa/pull/651 and I have tested 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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