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

php - Autoloader issue not returning Class -

java - How to put two numbers separated by a space into two different arrays -

python - matplotlib equivalent for Ubuntu servers with no GUI? -