如何在 tensorflow 存储库中找到 "tf.nn.dynamic_rnn" 的代码?
How do I finde the Code of "tf.nn.dynamic_rnn" in the tensorflow repository?
我正在尝试了解 tensorflow 的结构和编码。在浏览本教程“https://danijar.com/introduction-to-recurrent-networks-in-tensorflow/”时,我搜索了函数中使用的代码。
例如行
cell = GRUCell(num_neurons) # Or LSTMCell(num_neurons)
使用函数 GRUCell,我可以在 tensorflow 存储库的文件 "rnn_cell.py" 中找到它。此外,GRUCell 由一个名为 "tf.nn.dynamic_rnn" 的函数包装,如下所示:
output, state = tf.nn.dynamic_rnn(cell, data, dtype=tf.float32)
很遗憾,我找不到此功能的代码。我在哪里可以找到它?我找到的所有内容都是此文档:
感谢您的帮助!
我正在尝试了解 tensorflow 的结构和编码。在浏览本教程“https://danijar.com/introduction-to-recurrent-networks-in-tensorflow/”时,我搜索了函数中使用的代码。 例如行
cell = GRUCell(num_neurons) # Or LSTMCell(num_neurons)
使用函数 GRUCell,我可以在 tensorflow 存储库的文件 "rnn_cell.py" 中找到它。此外,GRUCell 由一个名为 "tf.nn.dynamic_rnn" 的函数包装,如下所示:
output, state = tf.nn.dynamic_rnn(cell, data, dtype=tf.float32)
很遗憾,我找不到此功能的代码。我在哪里可以找到它?我找到的所有内容都是此文档:
感谢您的帮助!