2a3d4722c21d99d882b2cbc2da451108147fe1c4,keras/layers/recurrent.py,GRU,preprocess_input,#GRU#Any#,532

Before Change



    def preprocess_input(self, x):
        if self.consume_less == "cpu":
            input_shape = self.input_spec[0].shape
            input_dim = input_shape[2]
            timesteps = input_shape[1]

            x_z = time_distributed_dense(x, self.W_z, self.b_z, self.dropout_W,

After Change



    def preprocess_input(self, x):
        if self.consume_less == "cpu":
            input_shape = K.int_shape(x)
            input_dim = input_shape[2]
            timesteps = input_shape[1]

            x_z = time_distributed_dense(x, self.W_z, self.b_z, self.dropout_W,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 9

Non-data size: 6

Instances


Project Name: keras-team/keras
Commit Name: 2a3d4722c21d99d882b2cbc2da451108147fe1c4
Time: 2016-12-19
Author: francois.chollet@gmail.com
File Name: keras/layers/recurrent.py
Class Name: GRU
Method Name: preprocess_input


Project Name: keras-team/keras
Commit Name: 2a3d4722c21d99d882b2cbc2da451108147fe1c4
Time: 2016-12-19
Author: francois.chollet@gmail.com
File Name: keras/layers/recurrent.py
Class Name: SimpleRNN
Method Name: get_constants


Project Name: keras-team/keras
Commit Name: 2a3d4722c21d99d882b2cbc2da451108147fe1c4
Time: 2016-12-19
Author: francois.chollet@gmail.com
File Name: keras/layers/wrappers.py
Class Name: TimeDistributed
Method Name: call


Project Name: keras-team/keras
Commit Name: 2a3d4722c21d99d882b2cbc2da451108147fe1c4
Time: 2016-12-19
Author: francois.chollet@gmail.com
File Name: keras/layers/recurrent.py
Class Name: LSTM
Method Name: get_constants


Project Name: keras-team/keras
Commit Name: 2a3d4722c21d99d882b2cbc2da451108147fe1c4
Time: 2016-12-19
Author: francois.chollet@gmail.com
File Name: keras/layers/recurrent.py
Class Name: Recurrent
Method Name: call


Project Name: keras-team/keras
Commit Name: 2a3d4722c21d99d882b2cbc2da451108147fe1c4
Time: 2016-12-19
Author: francois.chollet@gmail.com
File Name: keras/layers/recurrent.py
Class Name: GRU
Method Name: get_constants


Project Name: keras-team/keras
Commit Name: 2a3d4722c21d99d882b2cbc2da451108147fe1c4
Time: 2016-12-19
Author: francois.chollet@gmail.com
File Name: keras/layers/normalization.py
Class Name: BatchNormalization
Method Name: call


Project Name: keras-team/keras
Commit Name: 2a3d4722c21d99d882b2cbc2da451108147fe1c4
Time: 2016-12-19
Author: francois.chollet@gmail.com
File Name: keras/layers/recurrent.py
Class Name: LSTM
Method Name: preprocess_input


Project Name: keras-team/keras
Commit Name: 2a3d4722c21d99d882b2cbc2da451108147fe1c4
Time: 2016-12-19
Author: francois.chollet@gmail.com
File Name: keras/layers/recurrent.py
Class Name: SimpleRNN
Method Name: preprocess_input