aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/profiler
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-08-30 21:31:18 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-08-30 21:34:59 -0700
commit9514a703d3c670fa48ffec6c856f1459813eb02c (patch)
treec4ab156f0f6b43cc5b48e760ce08ff83343a5cd9 /tensorflow/core/profiler
parent6523d8303c4df74cca1d914d4d5d4c126292b019 (diff)
Update profiler doc.
PiperOrigin-RevId: 167092704
Diffstat (limited to 'tensorflow/core/profiler')
-rw-r--r--tensorflow/core/profiler/README.md11
-rw-r--r--tensorflow/core/profiler/g3doc/profiler_ui.jpgbin0 -> 220483 bytes
2 files changed, 10 insertions, 1 deletions
diff --git a/tensorflow/core/profiler/README.md b/tensorflow/core/profiler/README.md
index 5c50a86c88..f0d4dafd3e 100644
--- a/tensorflow/core/profiler/README.md
+++ b/tensorflow/core/profiler/README.md
@@ -56,7 +56,7 @@ with tf.contrib.tfprof.ProfileContext() as pctx:
```shell
# Profiling from Python API is not interactive.
-# Dump the profiles to files and profile with interactive command line.
+# Dump the profiles to files and profile with interactive command line or web UI.
with tf.contrib.tfprof.ProfileContext() as pctx:
pctx.add_auto_profile_dump('/tmp/profiles', [100])
train_loop()
@@ -66,7 +66,15 @@ bazel-bin/tensorflow/core/profiler/profiler \
--run_meta_path=/tmp/profiles/run_meta \
--op_log_path=/tmp/profiles/tfprof_log \
tfprof> op -select micros,bytes,occurrence -order_by micros
+
+
+# To be open sourced...
+bazel-bin/third_party/tensorflow/python/profiler/profiler_ui \
+ --graph_path=/tmp/profiles/graph.pbtxt \
+ --run_meta_path=/tmp/profiles/run_meta \
+ --op_log_path=/tmp/profiles/tfprof_log \
```
+![ProfilerUI](g3doc/profiler_ui.jpg)
<b>Detail Tutorials</b>
@@ -239,5 +247,6 @@ bug fix. `OpLogProto` is a good plus if it is used.
#### Teams
* Xin Pan (xpan@google.com, github: panyx0718)
+* Chris Antaki
* Yao Zhang
* Jon Shlens
diff --git a/tensorflow/core/profiler/g3doc/profiler_ui.jpg b/tensorflow/core/profiler/g3doc/profiler_ui.jpg
new file mode 100644
index 0000000000..36aa94502a
--- /dev/null
+++ b/tensorflow/core/profiler/g3doc/profiler_ui.jpg
Binary files differ