cb3de665d18c579fa36fe8b6b2e2c084ace0bd12,tests/keras/layers/test_convolutional.py,,test_cropping_3d,#,664

Before Change


               input_shape=input.shape)
    // correctness test
    layer = convolutional.Cropping3D(cropping=cropping, dim_ordering=dim_ordering)
    layer.set_input(K.variable(input), shape=input.shape)

    out = K.eval(layer.output)
    // compare with numpy
    if dim_ordering == "th":
        expected_out = input[:,

After Change


    // correctness test
    layer = convolutional.Cropping3D(cropping=cropping,
                                     dim_ordering=dim_ordering)
    output = layer(K.variable(input))
    np_output = K.eval(output)
    // compare with numpy
    if dim_ordering == "th":
        expected_out = input[:,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 5

Instances


Project Name: keras-team/keras
Commit Name: cb3de665d18c579fa36fe8b6b2e2c084ace0bd12
Time: 2016-11-09
Author: francois.chollet@gmail.com
File Name: tests/keras/layers/test_convolutional.py
Class Name:
Method Name: test_cropping_3d


Project Name: keras-team/keras
Commit Name: cb3de665d18c579fa36fe8b6b2e2c084ace0bd12
Time: 2016-11-09
Author: francois.chollet@gmail.com
File Name: tests/keras/layers/test_convolutional.py
Class Name:
Method Name: test_zero_padding_2d


Project Name: keras-team/keras
Commit Name: cb3de665d18c579fa36fe8b6b2e2c084ace0bd12
Time: 2016-11-09
Author: francois.chollet@gmail.com
File Name: tests/keras/layers/test_convolutional.py
Class Name:
Method Name: test_cropping_2d


Project Name: keras-team/keras
Commit Name: cb3de665d18c579fa36fe8b6b2e2c084ace0bd12
Time: 2016-11-09
Author: francois.chollet@gmail.com
File Name: tests/keras/layers/test_convolutional.py
Class Name:
Method Name: test_upsampling_2d


Project Name: keras-team/keras
Commit Name: cb3de665d18c579fa36fe8b6b2e2c084ace0bd12
Time: 2016-11-09
Author: francois.chollet@gmail.com
File Name: tests/keras/layers/test_convolutional_recurrent.py
Class Name:
Method Name: test_recurrent_convolutional


Project Name: keras-team/keras
Commit Name: cb3de665d18c579fa36fe8b6b2e2c084ace0bd12
Time: 2016-11-09
Author: francois.chollet@gmail.com
File Name: tests/keras/layers/test_convolutional.py
Class Name:
Method Name: test_zero_padding_1d


Project Name: keras-team/keras
Commit Name: cb3de665d18c579fa36fe8b6b2e2c084ace0bd12
Time: 2016-11-09
Author: francois.chollet@gmail.com
File Name: tests/keras/layers/test_convolutional.py
Class Name:
Method Name: test_upsampling_3d


Project Name: keras-team/keras
Commit Name: cb3de665d18c579fa36fe8b6b2e2c084ace0bd12
Time: 2016-11-09
Author: francois.chollet@gmail.com
File Name: tests/keras/layers/test_convolutional.py
Class Name:
Method Name: test_zero_padding_3d