60bb3aa4b32751ba7b8ee3a8e79b360626c80855,tensorlayer/layers/recurrent.py,BiRNNLayer,__init__,#BiRNNLayer#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,301
Before Change
// 3D Tensor [n_example/n_steps, n_steps, n_hidden]
try: // TF1.0
self.outputs = tf.reshape(tf.concat(outputs, 1), [-1, n_steps, n_hidden * 2])
except Exception: // TF0.12
self.outputs = tf.reshape(tf.concat(1, outputs), [-1, n_steps, n_hidden * 2])
self.fw_final_state = fw_state
After Change
try: // TF1.0
self.outputs = tf.reshape(tf.concat(outputs, 1), [-1, n_hidden * 2])
except Exception: // TF0.12
self.outputs = tf.reshape(tf.concat(1, outputs), [-1, n_hidden * 2])
else:
// <akara>: stack more RNN layer after that
// 3D Tensor [n_example/n_steps, n_steps, n_hidden]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: tensorlayer/tensorlayer
Commit Name: 60bb3aa4b32751ba7b8ee3a8e79b360626c80855
Time: 2018-03-14
Author: dhsig552@163.com
File Name: tensorlayer/layers/recurrent.py
Class Name: BiRNNLayer
Method Name: __init__
Project Name: tensorlayer/tensorlayer
Commit Name: 60bb3aa4b32751ba7b8ee3a8e79b360626c80855
Time: 2018-03-14
Author: dhsig552@163.com
File Name: tensorlayer/layers/recurrent.py
Class Name: DynamicRNNLayer
Method Name: __init__
Project Name: tensorlayer/tensorlayer
Commit Name: 60bb3aa4b32751ba7b8ee3a8e79b360626c80855
Time: 2018-03-14
Author: dhsig552@163.com
File Name: tensorlayer/layers/recurrent.py
Class Name: RNNLayer
Method Name: __init__