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_r206018735
##########
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:
This message seems to be generic to any model training. It would be nice to
make the message in a standard format such as a Log message header template
across different models and languages.
----------------------------------------------------------------
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