4f6fbdd4d9b57e334d2380aad13a5795c0ba0dcb,se3_cnn/non_linearities/scalar_activation.py,BiasRelu,forward,#BiasRelu#Any#,33

Before Change



            if on:
                x = x + self.bias[begin2:begin2 + d].view(1, -1, 1, 1, 1).expand_as(x)
                x = torch.nn.functional.relu(x)
                if self.normalize:
                    x.sub_(0.3989422804014327)
                    x.mul_(1.712858550449663)
                begin2 += d

After Change


            x = input[:, begin1:begin1 + d]

            if on:
                if self.bias is not None:
                    x = x + self.bias[begin2:begin2 + d].view(1, -1, 1, 1, 1)
                    begin2 += d

                x = self.activation(x)

            xs.append(x)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: mariogeiger/se3cnn
Commit Name: 4f6fbdd4d9b57e334d2380aad13a5795c0ba0dcb
Time: 2018-01-09
Author: geiger.mario@gmail.com
File Name: se3_cnn/non_linearities/scalar_activation.py
Class Name: BiasRelu
Method Name: forward


Project Name: OpenNMT/OpenNMT-py
Commit Name: 3bc7e38ed98f3b7a13fcee2726ec38b27e5c4e1b
Time: 2017-06-23
Author: srush@sum1gpu02.rc.fas.harvard.edu
File Name: onmt/Models.py
Class Name: Encoder
Method Name: forward


Project Name: KaiyangZhou/deep-person-reid
Commit Name: 4ce9024fcc64d7f98ac5441921c33131306e3186
Time: 2018-10-27
Author: k.zhou@qmul.ac.uk
File Name: torchreid/models/xception.py
Class Name: MidFlowBlock
Method Name: forward