49f659d7b893a0e94b85d2c371f7abbb4e0e4082,tests/chainer_tests/links_tests/connection_tests/test_convolution_2d.py,TestConvolution2D,setUp,#TestConvolution2D#,22

Before Change


    def setUp(self):
        self.link = links.Convolution2D(
            3, 2, 3, stride=2, pad=1,
            initialW=chainer.initializers.Normal(1, self.W_dtype),
            initial_bias=chainer.initializers.Normal(1, self.x_dtype))
        self.link.cleargrads()

After Change


        })
        if self.x_dtype == numpy.float16 or self.W_dtype == numpy.float16:
            self.check_forward_options.update({"atol": 5e-3, "rtol": 5e-2})
            self.check_backward_options.update({
                "atol": 1e-3, "rtol": 1e-3
            })

    def generate_params(self):
        initialW = chainer.initializers.Normal(1, self.W_dtype)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: chainer/chainer
Commit Name: 49f659d7b893a0e94b85d2c371f7abbb4e0e4082
Time: 2019-08-05
Author: ecastill@preferred.jp
File Name: tests/chainer_tests/links_tests/connection_tests/test_convolution_2d.py
Class Name: TestConvolution2D
Method Name: setUp


Project Name: idaholab/raven
Commit Name: 5c509111b8356adc8c0f9966f8f990a3a5e80cf1
Time: 2021-01-13
Author: congjian.wang@inl.gov
File Name: framework/Samplers/MCMC/MCMC.py
Class Name: MCMC
Method Name: __init__


Project Name: arviz-devs/arviz
Commit Name: 378e65a8aa8f0be4e1b9e1c1c0e2e1c85bf12271
Time: 2018-09-08
Author: ravinsdrive@gmail.com
File Name: examples/pairplot.py
Class Name:
Method Name: