Skip to content

Commit

Permalink
added moving avg
Browse files Browse the repository at this point in the history
  • Loading branch information
BinRoot committed Apr 17, 2016
1 parent 4625448 commit 841b26d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch02_basics/moving_avg.py
Expand Up @@ -12,7 +12,7 @@
prev_avg = tf.Variable(0.)
update_avg = alpha * curr_value + (1 - alpha) * prev_avg

avg_hist = tf.scalar_summary("averages", update_avg)
avg_hist = tf.scalar_summary("running average", update_avg)
value_hist = tf.scalar_summary("incoming values", curr_value)
merged = tf.merge_all_summaries()
writer = tf.train.SummaryWriter("./logs")
Expand Down

0 comments on commit 841b26d

Please sign in to comment.