diff options
author | Justine Tunney <jart@google.com> | 2017-12-01 15:48:30 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-12-01 15:52:16 -0800 |
commit | de1ee126c094c840668d5e794e347159be66b23c (patch) | |
tree | db08e88ab5f2272afef936f2c22457d9282c59dc /third_party/examples | |
parent | ab0c520c7f58386e0141a3c515acea19033410a6 (diff) |
Rename create_summary_file_writer to create_file_writer
PiperOrigin-RevId: 177651937
Diffstat (limited to 'third_party/examples')
-rw-r--r-- | third_party/examples/eager/spinn/spinn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/examples/eager/spinn/spinn.py b/third_party/examples/eager/spinn/spinn.py index 963ac0e65b..a2fa18eeb1 100644 --- a/third_party/examples/eager/spinn/spinn.py +++ b/third_party/examples/eager/spinn/spinn.py @@ -567,7 +567,7 @@ def train_spinn(embed, train_data, dev_data, test_data, config): "{:>6.0f} {:>5.0f} {:>9.0f} {:>5.0f}/{:<5.0f} {:>7.0f}% {:>8.6f} " "{:8.6f} {:12.4f} {:12.4f}") - summary_writer = tf.contrib.summary.create_summary_file_writer( + summary_writer = tf.contrib.summary.create_file_writer( config.logdir, flush_millis=10000) train_len = train_data.num_batches(config.batch_size) with tf.device(device), \ |