23a862786797e9ea5429a7cd24c164487c7a8487,examples/node2vec.py,,,#,9

Before Change


                 p=1, q=1, sparse=True).to(device)

loader = model.loader(batch_size=128, shuffle=True, num_workers=4)
optimizer = torch.optim.SparseAdam(model.parameters(), lr=0.01)


def train():

After Change


                 p=1, q=1, sparse=True).to(device)

loader = model.loader(batch_size=128, shuffle=True, num_workers=4)
optimizer = torch.optim.SparseAdam(list(model.parameters()), lr=0.01)


def train():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: rusty1s/pytorch_geometric
Commit Name: 23a862786797e9ea5429a7cd24c164487c7a8487
Time: 2020-11-24
Author: matthias.fey@tu-dortmund.de
File Name: examples/node2vec.py
Class Name:
Method Name:


Project Name: hunkim/PyTorchZeroToAll
Commit Name: ea9a2d3799165618377d3902b69987770e2c357a
Time: 2017-10-31
Author: hunkim@gmail.com
File Name: 13_1_seq2seq.py
Class Name:
Method Name:


Project Name: dmlc/dgl
Commit Name: 6568d0aaf6451c6e3845075ef17b917a4e6f7983
Time: 2021-02-25
Author: Lyken17@users.noreply.github.com
File Name: examples/pytorch/rgcn/experimental/entity_classify_dist.py
Class Name:
Method Name: run


Project Name: rusty1s/pytorch_geometric
Commit Name: b58827ca14be2e52a4fa615730382722b949fa02
Time: 2020-12-10
Author: declan.millar@ibm.com
File Name: examples/metapath2vec.py
Class Name:
Method Name: