tf.trainable_variables返回的是可以用来训练的变量列表 tf.all_variables返回的是所有变量的列表 转载于:https://www.cnblogs.com/baochen/p/8992770.html