-
Notifications
You must be signed in to change notification settings - Fork 74.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Including timestamp with tf.Print? #2076
Comments
That won't work, I'm afraid: It might be useful to add a timestamp to all log entries, but that would be a fairly invasive change. Alternatively, one could add some ops (perhaps in I'll mark this one contributions welcome. |
@eriophora you can use a placeholder, no need to add code
|
blocked by #5682 |
Are we ready to proceed on this? |
drpngx@ should be merged soon. |
One second granularity is a bit too coarse for benchmarking, it would be nice to get microsecond granularity in LOG statements , ie, using
|
Before: I tensorflow/core/kernels/logging_ops.cc:79] [3] I tensorflow/core/kernels/logging_ops.cc:79] [4] After: 2016-11-15 21:01:25: I tensorflow/core/kernels/logging_ops.cc:79] [3] 2016-11-15 21:01:25: I tensorflow/core/kernels/logging_ops.cc:79] [4] Fix for tensorflow#2076 Change: 145150413
…upstream-55-updates ROCM 5.5 updates
I'm trying to implement a batched version of the Inception example for TensorFlow Serving, and I'd like to benchmark the performance.
Is it possible to have
tf.Print
emit a timestamp along with the logging information? Particularly if the op is bundled viatensorflow_serving.session_bundle.exporter
?I think it's possible to do with:
x = tf.Print(x, [x], "(%s) Obtained: " % asctime())
although I'm not sure if this will work appropriately when exported.
The text was updated successfully, but these errors were encountered: