lupesko commented on a change in pull request #13534: add cpp example inception 
to nightly test
URL: https://github.com/apache/incubator-mxnet/pull/13534#discussion_r238942500
 
 

 ##########
 File path: cpp-package/example/mlp.cpp
 ##########
 @@ -144,7 +144,7 @@ void MLP() {
                                grad_req_type, aux_states);
 
   std::cout << "Training" << std::endl;
-  int max_iters = 20000;
+  int max_iters = 10;
 
 Review comment:
   You are reducing max_iters to 10, but you did not change line 152 which has 
an `if (iter % 100 == 0)`
   If you want to run for 10 epochs only I think you can remove the if 
condition on line 152.
   I also suggest to rename `iter` to `epochNum` for readability.

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