b48c943b9f6248dbdd42d0fce44658b937098372,torch_geometric/nn/functional/spline_gcn.py,,spline_gcn,#Any#Any#Any#Any#Any#Any#Any#,9
Before Change
// [n x M_out] feature matrix.
size = torch.Size([adj.size(0), adj.size(1), output.size(1)])
adj = torch.sparse.FloatTensor(indices, output, size)
output = sum(adj, dim=1)
// TODO: root node and weight mean
// root_weight = weight[torch.arange(kernel_size[-1])]
// root_weight.mean(0)
After Change
// origin.
index = torch.arange(0, kernel_size[-1]).long()
root_weight = weight[index].mean(0)
output += torch.mm(features, root_weight)
if bias is not None:
output += bias
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: rusty1s/pytorch_geometric
Commit Name: b48c943b9f6248dbdd42d0fce44658b937098372
Time: 2017-10-23
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/nn/functional/spline_gcn.py
Class Name:
Method Name: spline_gcn
Project Name: masa-su/pixyz
Commit Name: ffbec3bf0ee5c2cfc3cc3b841e882a549f976bda
Time: 2019-04-21
Author: masa@weblab.t.u-tokyo.ac.jp
File Name: pixyz/flows/flows.py
Class Name: PlanerFlow
Method Name: forward
Project Name: pytorch/audio
Commit Name: c92392fc7cedd6ed958745e82ab6233b59c993ef
Time: 2020-10-13
Author: 35951198+lawlict@users.noreply.github.com
File Name: torchaudio/compliance/kaldi.py
Class Name:
Method Name: fbank