edc5cf0c0e22b02d52de1b2e3ab89daceaa70c97,tensorlayer/layers.py,BiRNNLayer,__init__,#BiRNNLayer#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,3509

Before Change


                    self.bw_cell = MultiRNNCell_fn([self.bw_cell] * n_layer,
                                                          state_is_tuple=True)
                except:
                    self.fw_cell = MultiRNNCell_fn([self.fw_cell] * n_layer)
                    self.bw_cell = MultiRNNCell_fn([self.bw_cell] * n_layer)

            // Initial state of RNN
            if fw_initial_state is None:

After Change



                try:
                    self.fw_cell = MultiRNNCell_fn([cell_creator() for _ in range(n_layer)], state_is_tuple=True)
                    self.bw_cell = MultiRNNCell_fn([cell_creator() for _ in range(n_layer)], state_is_tuple=True)
                except:
                    self.fw_cell = MultiRNNCell_fn([cell_creator() for _ in range(n_layer)])
                    self.bw_cell = MultiRNNCell_fn([cell_creator() for _ in range(n_layer)])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 5

Instances


Project Name: tensorlayer/srgan
Commit Name: edc5cf0c0e22b02d52de1b2e3ab89daceaa70c97
Time: 2017-06-06
Author: dhsig552@163.com
File Name: tensorlayer/layers.py
Class Name: BiRNNLayer
Method Name: __init__


Project Name: tensorlayer/tensorlayer
Commit Name: dcef47168e1d630fe02634f6a542df0c3571228d
Time: 2017-05-15
Author: chentao904@163.com
File Name: tensorlayer/layers.py
Class Name: BiDynamicRNNLayer
Method Name: __init__


Project Name: tensorlayer/tensorlayer
Commit Name: dcef47168e1d630fe02634f6a542df0c3571228d
Time: 2017-05-15
Author: chentao904@163.com
File Name: tensorlayer/layers.py
Class Name: BiRNNLayer
Method Name: __init__


Project Name: tensorlayer/srgan
Commit Name: edc5cf0c0e22b02d52de1b2e3ab89daceaa70c97
Time: 2017-06-06
Author: dhsig552@163.com
File Name: tensorlayer/layers.py
Class Name: BiDynamicRNNLayer
Method Name: __init__


Project Name: tensorlayer/srgan
Commit Name: edc5cf0c0e22b02d52de1b2e3ab89daceaa70c97
Time: 2017-06-06
Author: dhsig552@163.com
File Name: tensorlayer/layers.py
Class Name: DynamicRNNLayer
Method Name: __init__


Project Name: tensorlayer/tensorlayer
Commit Name: dcef47168e1d630fe02634f6a542df0c3571228d
Time: 2017-05-15
Author: chentao904@163.com
File Name: tensorlayer/layers.py
Class Name: DynamicRNNLayer
Method Name: __init__