Skip to content

Instantly share code, notes, and snippets.

@chadrick-kwag
Created September 9, 2018 08:07
Show Gist options
  • Save chadrick-kwag/b54dfbe56b862b53397a92dd0d3f4883 to your computer and use it in GitHub Desktop.
Save chadrick-kwag/b54dfbe56b862b53397a92dd0d3f4883 to your computer and use it in GitHub Desktop.
lazy_acc_score_ph = tf.placeholder(tf.float32, [1])
lazy_acc_score_ts = tf.reduce_sum(lazy_acc_score_ph)
#...
# summary op for recording externally calculated metric(acc_score)
acc_summary_op = tf.summary.scalar("metric/acc", lazy_acc_score_ts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment