tp = []
fp = []
total = len(fp)
writer = tf.train.SummaryWriter('/tmp/tensorboard_roc')
for idx in range(total):
    summt = tf.Summary()
summt.value.add(tag='roc', simple_value=tp[idx])
writer.add_summary(summt, tp[idx] * 100)
writer.flush()
How to plot a ROC curve with Tensorflow and scikit-learn?