Reputation: 53
I want to change the value of the variables manually in each iteration in Tensorflow, but i don't want to change the gradient computation. How to do it?
Upvotes: 2
Views: 388
Reputation: 1893
sess.run(variable.assign(value))
Upvotes: 1