Variable name typo

In the "Working example: Tracking Multiple Metrics", the variable name "name_to_updates" --> "names_to_updates"
This commit is contained in:
黄璞 2017-06-19 20:24:55 +08:00 committed by GitHub
parent 1f82b7a5bf
commit ae26477157

View File

@ -836,7 +836,7 @@ with tf.Session() as sess:
for batch_id in range(num_batches):
sess.run(names_to_updates.values())
metric_values = sess.run(name_to_values.values())
metric_values = sess.run(names_to_values.values())
for metric, value in zip(names_to_values.keys(), metric_values):
print('Metric %s has value: %f' % (metric, value))
```