d40656e5799dfd22e96b8bab217638b2934a6894,keras/backend/theano_backend.py,,separable_conv2d,#Any#Any#Any#Any#Any#Any#Any#,2146

Before Change


    // Raises
        ValueError: if `data_format` is neither `"channels_last"` or `"channels_first"`.
    
    if data_format is None:
        data_format = image_data_format()
    if data_format not in {"channels_first", "channels_last"}:
        raise ValueError("Unknown data_format ", data_format)

    image_shape = _preprocess_conv2d_image_shape(int_shape(x), data_format)
    depthwise_kernel_shape = int_shape(depthwise_kernel)
    if depthwise_kernel_shape is None:
        depthwise_kernel_shape = depthwise_kernel.eval().shape  // in case of a shared variable

After Change


    // Raises
        ValueError: if `data_format` is neither `"channels_last"` or `"channels_first"`.
    
    data_format = normalize_data_format(data_format)

    image_shape = _preprocess_conv2d_image_shape(int_shape(x), data_format)
    depthwise_kernel_shape = int_shape(depthwise_kernel)
    if depthwise_kernel_shape is None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 11

Instances


Project Name: keras-team/keras
Commit Name: d40656e5799dfd22e96b8bab217638b2934a6894
Time: 2018-07-19
Author: gabrieldemarmiesse@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: separable_conv2d


Project Name: keras-team/keras
Commit Name: d40656e5799dfd22e96b8bab217638b2934a6894
Time: 2018-07-19
Author: gabrieldemarmiesse@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: pool3d


Project Name: keras-team/keras
Commit Name: d40656e5799dfd22e96b8bab217638b2934a6894
Time: 2018-07-19
Author: gabrieldemarmiesse@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: separable_conv2d


Project Name: keras-team/keras
Commit Name: d40656e5799dfd22e96b8bab217638b2934a6894
Time: 2018-07-19
Author: gabrieldemarmiesse@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: conv2d


Project Name: keras-team/keras
Commit Name: d40656e5799dfd22e96b8bab217638b2934a6894
Time: 2018-07-19
Author: gabrieldemarmiesse@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: separable_conv1d


Project Name: keras-team/keras
Commit Name: d40656e5799dfd22e96b8bab217638b2934a6894
Time: 2018-07-19
Author: gabrieldemarmiesse@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: conv1d


Project Name: keras-team/keras
Commit Name: d40656e5799dfd22e96b8bab217638b2934a6894
Time: 2018-07-19
Author: gabrieldemarmiesse@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: conv3d


Project Name: keras-team/keras
Commit Name: d40656e5799dfd22e96b8bab217638b2934a6894
Time: 2018-07-19
Author: gabrieldemarmiesse@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: pool2d


Project Name: keras-team/keras
Commit Name: d40656e5799dfd22e96b8bab217638b2934a6894
Time: 2018-07-19
Author: gabrieldemarmiesse@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: depthwise_conv2d