neural network - How to obtain the gradients of the RNN variables connected to the input sequence (in TensorFlow) -


i monitor (and possible manually modify) gradients of recurrent cells such lstm or gru. in addition, interested in gradients of variables directly connected input sequencex.

obtaining gradients of graph pretty straightforward -optimizer.compute_gradients(loss).

so question "how can filter variables connected x?" universal solution might not exist, hence happy kind of manual hacking of variable names. thanks


Comments

Popular posts from this blog

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -

php - Autoloader issue not returning Class -