I'm trying to understand the structure and the coding of tensorflow. While going through this tutorial " https://danijar.com/introduction-to-recurrent-networks-in-tensorflow/ " I have searched for the code that is used in the functions. For example the line
cell = GRUCell(num_neurons) # Or LSTMCell(num_neurons)
uses the function GRUCell, which I can find in the file "rnn_cell.py" in the tensorflow repository. Furthermore the GRUCell is wrapped by a function called "tf.nn.dynamic_rnn" as follows:
output, state = tf.nn.dynamic_rnn(cell, data, dtype=tf.float32)
Unfortunately I am not able to find the code for this function. Where do I find it? Everything I find is this documentation:
Thanks for helping!
您可以在这里找到它和其他相关操作: https : //github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/rnn.py
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.