diff options
author | Eugene Brevdo <ebrevdo@google.com> | 2016-10-06 16:08:04 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-10-06 17:18:08 -0700 |
commit | 752c24070f890519729e1c8f4c562dd25b9e98bd (patch) | |
tree | 1629770a728a7d9f2b7036445586555ceebb28c8 /tensorflow/contrib/util | |
parent | 12167ee7a192fcfe0e9f468af88ebcced2bc4a2e (diff) |
Allow writing the MetaGraphDef to an event summary.
Supervisor and graph_actions now do this by default if saving a graph is requested.
TensorBoard can now fall back to using the MetaGraphDef if the GraphDef is not
available in the Event.
Other changes include:
* factor out metagraph code from training.saver to framework.meta_graph
* update the summary writer, session hooks, and supervisor to support these new summaries
Change: 135424442
Diffstat (limited to 'tensorflow/contrib/util')
-rw-r--r-- | tensorflow/contrib/util/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/contrib/util/__init__.py b/tensorflow/contrib/util/__init__.py index c160774a53..cdaafef1f7 100644 --- a/tensorflow/contrib/util/__init__.py +++ b/tensorflow/contrib/util/__init__.py @@ -30,11 +30,11 @@ from __future__ import division from __future__ import print_function # pylint: disable=unused-import +from tensorflow.python.framework.meta_graph import ops_used_by_graph_def +from tensorflow.python.framework.meta_graph import stripped_op_list_for_graph from tensorflow.python.framework.tensor_util import constant_value from tensorflow.python.framework.tensor_util import make_tensor_proto from tensorflow.python.framework.tensor_util import MakeNdarray as make_ndarray -from tensorflow.python.training.saver import ops_used_by_graph_def -from tensorflow.python.training.saver import stripped_op_list_for_graph from tensorflow.python.util.all_util import make_all |