e60669c5aa467d5c11a508c01b37c4ed8e352fa6,torch_geometric/nn/conv/supergat_conv.py,SuperGATConv,__init__,#SuperGATConv#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,107

Before Change


                                             heads * out_channels))

        if self.attention_type == "MX":
            self.att = Parameter(torch.Tensor(1, heads, 2 * out_channels))
        elif self.attention_type == "SD":
            self.register_parameter("att", None)
        else:
            raise ValueError

After Change


            self.att_r = Parameter(torch.Tensor(1, heads, out_channels))
        else:  // self.attention_type == "SD"
            self.register_parameter("att_l", None)
            self.register_parameter("att_r", None)

        self.att_x = self.att_y = None  // x/y for self-supervision

        if bias and concat:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: rusty1s/pytorch_geometric
Commit Name: e60669c5aa467d5c11a508c01b37c4ed8e352fa6
Time: 2021-02-15
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/nn/conv/supergat_conv.py
Class Name: SuperGATConv
Method Name: __init__


Project Name: rusty1s/pytorch_geometric
Commit Name: 32ff7c467adc7b8252cf2fa94d9616050d7ff62c
Time: 2020-12-14
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/nn/conv/transformer_conv.py
Class Name: TransformerConv
Method Name: __init__


Project Name: open-mmlab/mmdetection
Commit Name: dc57735f16c54a794bab7b794618ac33b4e4f2fe
Time: 2019-01-21
Author: yhcao6@gmail.com
File Name: mmdet/ops/dcn/modules/deform_conv.py
Class Name: ModulatedDeformConv
Method Name: __init__