Tensor 种类 constant 常量 值不能改变的tensor tf.constant Variable 变量 var = tf.Variable(3) placeholder 占位符 先占定一个位置,后面再添加值的一种Tensor tf.placeholder SparseTensor 稀疏张量 一种稀疏的 Tensor, 类似于线性代数稀疏矩阵的概念 tf.SparseTensor