diff options
author | Anna R <annarev@google.com> | 2018-03-14 13:11:57 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-03-14 13:18:38 -0700 |
commit | 15d97a4bb76fd613b5c8f8eb3178396c66f0529e (patch) | |
tree | 98d13b2de3c3899ffdd3447b1044f27b4b46e851 /tensorflow/python/summary | |
parent | 6db713c99b2f5f929f94a86997c0462a2c7a5486 (diff) |
Removing underscore prefix from _scalar_summary and _histogram_summary.
PiperOrigin-RevId: 189073787
Diffstat (limited to 'tensorflow/python/summary')
-rw-r--r-- | tensorflow/python/summary/summary.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tensorflow/python/summary/summary.py b/tensorflow/python/summary/summary.py index 2a3918b9b4..f1b2be0a1a 100644 --- a/tensorflow/python/summary/summary.py +++ b/tensorflow/python/summary/summary.py @@ -98,8 +98,7 @@ def scalar(name, tensor, collections=None, family=None): """ with _summary_op_util.summary_scope( name, family, values=[tensor]) as (tag, scope): - # pylint: disable=protected-access - val = _gen_logging_ops._scalar_summary(tags=tag, values=tensor, name=scope) + val = _gen_logging_ops.scalar_summary(tags=tag, values=tensor, name=scope) _summary_op_util.collect(val, collections, [_ops.GraphKeys.SUMMARIES]) return val @@ -191,8 +190,7 @@ def histogram(name, values, collections=None, family=None): with _summary_op_util.summary_scope( name, family, values=[values], default_name='HistogramSummary') as (tag, scope): - # pylint: disable=protected-access - val = _gen_logging_ops._histogram_summary( + val = _gen_logging_ops.histogram_summary( tag=tag, values=values, name=scope) _summary_op_util.collect(val, collections, [_ops.GraphKeys.SUMMARIES]) return val |