一、生成指定维度数据 tf.random_normal(shape=(2, 3)) 按照正态分布的方式, 生成了shape=(2, 3)的数据。 二、生成指定数字 tf.ones([5]) 生成指定shape的Tensor # [1, 1, 1, 1, 1]