nswamy 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_r215327762
##########
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:
@apeforest i'll fix the alignment.
with regards to making it a standard for log messages, all the cpp examples
need to be revisited, I have created an issue for it
https://github.com/apache/incubator-mxnet/issues/11901, I would prefer to do it
separately for all CPP Examples.
----------------------------------------------------------------
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