tf.summary.scalar使用方法

import tensorflow as tf a = tf.placeholder(tf.float32, shape=[]) b = tf.constant(1, dtype=tf.int32) tf.summary.scalar("a", a) tf.summary.scalar("b", b) sess = tf.Session() init_op = tf.global_var
相关文章
相关标签/搜索