diff options
author | 2016-12-01 16:05:46 -0800 | |
---|---|---|
committer | 2016-12-01 16:25:05 -0800 | |
commit | b0617ccfc95261d5f079f8982c07cd56903e6c15 (patch) | |
tree | b22c4148bf5312329fc14421be92d34ba4d88d2d /tensorflow/models/embedding/word2vec.py | |
parent | fbc8574ac64ae72f35f415baddfd25dff55163e1 (diff) |
Replace using of tf.contrib.deprecated.merge_all_summaries with tf.summary.merge_all
The implementations are identical, tf.summary.merge_all is the canonical location.
Change: 140790809
Diffstat (limited to 'tensorflow/models/embedding/word2vec.py')
-rw-r--r-- | tensorflow/models/embedding/word2vec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/models/embedding/word2vec.py b/tensorflow/models/embedding/word2vec.py index 4b36554716..e2bc70c813 100644 --- a/tensorflow/models/embedding/word2vec.py +++ b/tensorflow/models/embedding/word2vec.py @@ -396,7 +396,7 @@ class Word2Vec(object): initial_epoch, initial_words = self._session.run([self._epoch, self._words]) - summary_op = tf.contrib.deprecated.merge_all_summaries() + summary_op = tf.summary.merge_all() summary_writer = tf.summary.FileWriter(opts.save_path, self._session.graph) workers = [] for _ in xrange(opts.concurrent_steps): |