00cbeecf6c345b5e4964c4d212ed9463126a0492,keras/backend/theano_backend.py,,reshape,#Any#Any#,566

Before Change




def reshape(x, shape):
    return T.reshape(x, shape)


def permute_dimensions(x, pattern):
    """Transpose dimensions.

After Change




def reshape(x, shape):
    y = T.reshape(x, shape)
    if is_explicit_shape(shape):
        y._keras_shape = shape
    return y


def permute_dimensions(x, pattern):
    """Transpose dimensions.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: keras-team/keras
Commit Name: 00cbeecf6c345b5e4964c4d212ed9463126a0492
Time: 2016-12-28
Author: francois.chollet@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: reshape


Project Name: keras-team/keras
Commit Name: 4fc583691b9ebf59c0bbea09fc1f5c7e5ee9c68b
Time: 2017-08-01
Author: souptc@gmail.com
File Name: keras/backend/cntk_backend.py
Class Name:
Method Name: expand_dims


Project Name: keras-team/keras
Commit Name: e99eac292db998960b9c384cb1106998a8489b02
Time: 2017-03-06
Author: abhai.dilip@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: squeeze