singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa-doc] nudles commented on a change in pull request #16: Add more details in the explanation of dist-train.md
Date Mon, 06 Apr 2020 03:27:42 GMT
nudles 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_r403811468
 
 

 ##########
 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:
   local_rank
   global_rank

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