b58827ca14be2e52a4fa615730382722b949fa02,examples/metapath2vec.py,,,#,9

Before Change


                     sparse=True).to(device)

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


def train(epoch, log_steps=100, eval_steps=2000):

After Change


                     sparse=True).to(device)

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


def train(epoch, log_steps=100, eval_steps=2000):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


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:


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: