From 043f89e5fcc7758bfa134aacbae89055cf5ebdf1 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 5 Sep 2017 19:45:21 +0900 Subject: [PATCH] FIx typo & clarify argument type in comment --- tensorflow/python/profiler/model_analyzer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/python/profiler/model_analyzer.py b/tensorflow/python/profiler/model_analyzer.py index 53459496646..a1fe47982f0 100644 --- a/tensorflow/python/profiler/model_analyzer.py +++ b/tensorflow/python/profiler/model_analyzer.py @@ -117,7 +117,7 @@ class Profiler(object): ```python Typical use case: # Currently we are only allowed to create 1 profiler per process. - profiler = Profile(sess.graph) + profiler = Profiler(sess.graph) for i in xrange(total_steps): if i % 10000 == 0: @@ -174,7 +174,7 @@ class Profiler(object): """Add statistics of a step. Args: - step: A step uint64 used to identify the RunMetadata. Must be different + step: int, A step used to identify the RunMetadata. Must be different across different AddStep() calls. run_meta: RunMetadata proto that contains statistics of a session run. """