7f0ac6da5577ea93deab25ba7e0d6bca33e60bfb,se3_cnn/dropout.py,SE3DropoutF,compute_noise,#SE3DropoutF#Any#,30

Before Change


                noise.fill_(1)
            else:
                noise.bernoulli_(1 - self.p).div_(1 - self.p)
            noises.append(noise.repeat(1, dim, 1, 1, 1))
        self.noise = torch.cat(noises, dim=1)

    def forward(self, x):  // pylint: disable=W

After Change


                noise.fill_(1)
            else:
                noise.bernoulli_(1 - self.p).div_(1 - self.p)
            noise = noise.unsqueeze(2).expand(-1,-1,dim,-1,-1,-1).contiguous().view(N,mul*dim,1,1,1)
            noises.append(noise)
            // noises.append(noise.repeat(1, dim, 1, 1, 1)) // DIFFERENT PROBABILITIES WITHIN CAPSULE (WRONG)
        self.noise = torch.cat(noises, dim=1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: mariogeiger/se3cnn
Commit Name: 7f0ac6da5577ea93deab25ba7e0d6bca33e60bfb
Time: 2018-04-24
Author: mweiler@dta160174.science.uva.nl
File Name: se3_cnn/dropout.py
Class Name: SE3DropoutF
Method Name: compute_noise


Project Name: arraiy/torchgeometry
Commit Name: 5bebc7176ca1dd9c4131eccd8dd0c1de283b2dd8
Time: 2019-11-29
Author: ducha.aiki@gmail.com
File Name: kornia/filters/sobel.py
Class Name: SpatialGradient
Method Name: forward


Project Name: arraiy/torchgeometry
Commit Name: 50e4301f196bb1b47e92da8216a4ef94bd5f3502
Time: 2019-11-29
Author: ducha.aiki@gmail.com
File Name: kornia/filters/filter.py
Class Name:
Method Name: filter2D


Project Name: arraiy/torchgeometry
Commit Name: bbd99e6ff7587dc2ff22742406a1e1a533f760e4
Time: 2019-11-29
Author: ducha.aiki@gmail.com
File Name: kornia/filters/median.py
Class Name: MedianBlur
Method Name: forward