singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa-doc] chrishkchris commented on a change in pull request #16: Add more details in the explanation of dist-train.md
Date Mon, 06 Apr 2020 03:32:04 GMT
chrishkchris commented on a change in pull request #16: Add more details in the explanation
of dist-train.md
URL: https://github.com/apache/singa-doc/pull/16#discussion_r403812369
 
 

 ##########
 File path: docs-site/docs/dist-train.md
 ##########
 @@ -75,12 +75,30 @@ sgd = opt.DistOpt(sgd)
 dev = device.create_cuda_gpu_on(sgd.rank_in_local)
 ```
 
-`dev` represents the `Device` instance, where to load data and run the CNN
+Here are some explanations concerning some variables in the code:
+
+(i) `dev` 
+
+dev represents the `Device` instance, where to load data and run the CNN
 model.
 
+(ii)`rank_in_local` 
 
 Review comment:
   yes, we use <local_rank, global_rank, world size> everywhere

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


With regards,
Apache Git Services

Mime
View raw message