From 9514a703d3c670fa48ffec6c856f1459813eb02c Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 30 Aug 2017 21:31:18 -0700 Subject: Update profiler doc. PiperOrigin-RevId: 167092704 --- tensorflow/core/profiler/README.md | 11 ++++++++++- tensorflow/core/profiler/g3doc/profiler_ui.jpg | Bin 0 -> 220483 bytes 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 tensorflow/core/profiler/g3doc/profiler_ui.jpg (limited to 'tensorflow') 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) Detail Tutorials @@ -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 Binary files /dev/null and b/tensorflow/core/profiler/g3doc/profiler_ui.jpg differ -- cgit v1.2.3