How to do gradient descent for not all variables in tensorflow
To lock the ones that you don't want to train you can use tf.Variable(..., trainable=False)
In tensorflow, tf.train.GradientDescentOptimizer does gradient descent for all variables in default. Can i just do gradient descent for only a few of my variables and 'lock' the others?