76b4f47a76b0ba64475112e28847f777e36a0d30,theano/tensor/nnet/tests/test_abstract_conv.py,BaseTestConv2d,test_gradinput_arbitrary_output_shapes,#BaseTestConv2d#,468

Before Change


                min_output_shape = self.get_output_shape(
                    input_shape, filter_shape, self.default_subsamples,
                    border_mode, self.default_filters_dilations)
                if not all(o >= min_o for (o, min_o) in zip(output_shape, min_output_shape)):
                    continue
                for provide_shape in self.provide_shape:
                    yield (self.tcase_gi,

After Change


                           False)
                else:
                    // expect an error
                    yield (self.tcase_gi,
                           input_shape,
                           filter_shape,
                           output_shape,
                           self.default_subsamples,
                           border_mode,
                           True,
                           True,
                           self.default_filters_dilations,
                           True)

    def test_gradinput_impossible_output_shapes(self):
        for i in range(1, 20):
            for k in range(1, 10):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: Theano/Theano
Commit Name: 76b4f47a76b0ba64475112e28847f777e36a0d30
Time: 2016-12-01
Author: gvtulder@gmail.com
File Name: theano/tensor/nnet/tests/test_abstract_conv.py
Class Name: BaseTestConv2d
Method Name: test_gradinput_arbitrary_output_shapes


Project Name: Theano/Theano
Commit Name: 76b4f47a76b0ba64475112e28847f777e36a0d30
Time: 2016-12-01
Author: gvtulder@gmail.com
File Name: theano/tensor/nnet/tests/test_abstract_conv.py
Class Name: BaseTestConv3d
Method Name: test_gradinput_arbitrary_output_shapes


Project Name: scipy/scipy
Commit Name: c0d2f8f73f25fc425a19608ddb306e42d1e94f5a
Time: 2013-06-07
Author: blake.a.griffith@gmail.com
File Name: scipy/sparse/tests/test_base.py
Class Name: _TestCommon
Method Name: test_sum


Project Name: scipy/scipy
Commit Name: c0d2f8f73f25fc425a19608ddb306e42d1e94f5a
Time: 2013-06-07
Author: blake.a.griffith@gmail.com
File Name: scipy/sparse/tests/test_base.py
Class Name: _TestCommon
Method Name: test_mean