tensorboard - Stopping Gradients for a subset of a tensor in tensorflow -


i have tensorflow graph set, input variable (x = tf.variable() ) , resulting error term (err). able update on subset of elements in x.

one way using tf.stop_gradient(), require rebuilding graph again scratch apply stop gradient operator. way without having go through rebuilding graph.

if can't rebuild graph, solution save values of x prior update, , later tf.assign values elements of x want preserve.


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -