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

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -