ad99af7be7a97407954d00a76fb9d46ce0932dfb,keras/layers/recurrent.py,BaseRecurrent,get_padded_shuffled_mask,#BaseRecurrent#Any#Any#Any#,19

Before Change


        if pad > 0:
            // left-pad in time with 0
            padding = alloc_zeros_matrix(pad, mask.shape[1], 1).astype("uint8")
            return T.concatenate([padding, mask], axis=0)
        return mask


class SimpleRNN(BaseRecurrent):

After Change


        if pad > 0:
            // left-pad in time with 0
            padding = alloc_zeros_matrix(pad, mask.shape[1], 1)
            mask = T.concatenate([padding, mask], axis=0)
        return mask.astype("int8")


class SimpleRNN(BaseRecurrent):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: keras-team/keras
Commit Name: ad99af7be7a97407954d00a76fb9d46ce0932dfb
Time: 2015-06-26
Author: xavier@whirlscape.com
File Name: keras/layers/recurrent.py
Class Name: BaseRecurrent
Method Name: get_padded_shuffled_mask


Project Name: keras-team/keras
Commit Name: c7b7328cc99fd5d7c298e57c6020043451d89a61
Time: 2018-08-16
Author: ybliang8@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: concatenate


Project Name: ray-project/ray
Commit Name: 244aafdcf89ae814975c8c4e3faf0bd4995c7878
Time: 2020-09-05
Author: sven@anyscale.io
File Name: rllib/utils/exploration/tests/test_curiosity.py
Class Name: OneHotWrapper
Method Name: observation