aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/profiler
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-01-09 17:05:15 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-01-09 17:13:03 -0800
commit118495de6165237a7027f5d8b77db833ac7210f2 (patch)
tree187b32bd553da19278096af2f210741d621a1b84 /tensorflow/python/profiler
parentcf3fb6bc1dfe5862bf03af2a38d0a52463edd77a (diff)
profiler C++ API.
PiperOrigin-RevId: 181397308
Diffstat (limited to 'tensorflow/python/profiler')
-rw-r--r--tensorflow/python/profiler/model_analyzer.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tensorflow/python/profiler/model_analyzer.py b/tensorflow/python/profiler/model_analyzer.py
index 72422f11e9..f5caeba518 100644
--- a/tensorflow/python/profiler/model_analyzer.py
+++ b/tensorflow/python/profiler/model_analyzer.py
@@ -177,8 +177,9 @@ class Profiler(object):
"""Add statistics of a step.
Args:
- step: int, A step used to identify the RunMetadata. Must be different
- across different AddStep() calls.
+ step: int, An id used to group one or more different `run_meta` together.
+ When profiling with the profile_xxx APIs, user can use the `step`
+ id in the `options` to profile these `run_meta` together.
run_meta: RunMetadata proto that contains statistics of a session run.
"""
# pylint: disable=protected-access