962544ef2a2890325a19f9433719fa7737d259ef,torch_geometric/nn/modules/spline_gcn.py,SplineGCN,__init__,#SplineGCN#Any#Any#Any#Any#Any#Any#,21

Before Change


        self.kernel_size = kernel_size
        self.spline_degree = spline_degree

        weight_size = list((in_features, out_features), kernel_size)
        weight_size[2] += 1
        self.weight = Parameter(torch.Tensor(*weight_size))

        if bias:

After Change


        self.spline_degree = spline_degree
        self.K = reduce(lambda x, y: x * y, kernel_size)

        weight = torch.Tensor(self.K, in_features, out_features)
        self.weight = Parameter(weight)

        if bias:
            self.bias = Parameter(torch.Tensor(out_features))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: rusty1s/pytorch_geometric
Commit Name: 962544ef2a2890325a19f9433719fa7737d259ef
Time: 2017-10-20
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/nn/modules/spline_gcn.py
Class Name: SplineGCN
Method Name: __init__


Project Name: pyprob/pyprob
Commit Name: 48f07c6d57ea9f3f1ecb948846ada0e1c75a6627
Time: 2018-04-05
Author: atilimgunes.baydin@gmail.com
File Name: pyprob/nn.py
Class Name: InferenceNetwork
Method Name: _add_address


Project Name: geomstats/geomstats
Commit Name: a2e39e8a3c0586ce0c1cca407d1738565a75e705
Time: 2020-01-16
Author: ninamio78@gmail.com
File Name: geomstats/backend/pytorch_random.py
Class Name:
Method Name: choice