apeforest commented on a change in pull request #11903: Update CPP Lenet
Example to remove additional 3 layers
URL: https://github.com/apache/incubator-mxnet/pull/11903#discussion_r205962076
##########
File path: cpp-package/example/lenet.cpp
##########
@@ -169,7 +161,9 @@ class Lenet {
}
}
- LG << "Iter " << ITER
+ auto e_end = std::chrono::high_resolution_clock::now();
+ auto time_taken = std::chrono::duration<double, std::milli> (e_end -
e_start).count()/1000L;
+ LG << "Epoch [" << ITER << "] Time cost :" << time_taken
Review comment:
nit: move the space between "cost" and ":".
"Time cost :" ---> "Time cost: " to be consistent format with "accuracy: "
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services