diff options
author | 2018-03-19 20:21:45 -0700 | |
---|---|---|
committer | 2018-03-19 20:25:38 -0700 | |
commit | 88334807a5beb8b61a967d21e534ed238e7916c0 (patch) | |
tree | 54ee401854764be904d56f15d61888b4a9d7dc98 /tensorflow/python/summary | |
parent | 56555d0604c029e8b92fcd354de3bf32b63b62d8 (diff) |
Always imports the contrib summary ops when importing tensorflow.
Fixes #17802
PiperOrigin-RevId: 189684619
Diffstat (limited to 'tensorflow/python/summary')
-rw-r--r-- | tensorflow/python/summary/summary.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/python/summary/summary.py b/tensorflow/python/summary/summary.py index f1b2be0a1a..97f2ddfdfc 100644 --- a/tensorflow/python/summary/summary.py +++ b/tensorflow/python/summary/summary.py @@ -48,10 +48,12 @@ from tensorflow.core.util.event_pb2 import SessionLog from tensorflow.core.util.event_pb2 import TaggedRunMetadata # pylint: enable=unused-import + from tensorflow.python.eager import context as _context from tensorflow.python.framework import dtypes as _dtypes from tensorflow.python.framework import ops as _ops from tensorflow.python.ops import gen_logging_ops as _gen_logging_ops +from tensorflow.python.ops import gen_summary_ops as _gen_summary_ops # pylint: disable=unused-import from tensorflow.python.ops import summary_op_util as _summary_op_util # exports tensor-related summaries |