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
Post a Comment