import tensorflow as tf with tf.variable_scope("data"): x = tf.random_normal([100, 1], mean=1.70, stddev=0.50, name='x_data') y = tf.matmul(x, [[0.7]]) + 0.9 作用 使得tensorboard观察模型代码时更加清晰。