cce8409beb4c1b662de2b9635cd723993184be23,torch_geometric/datasets/utils/faust_monet.py,,,#,28

Before Change



index = torch.stack([row, col], dim=0)
value = torch.stack([rho, theta], dim=1)
adj = torch.sparse.FloatTensor(index, value, torch.Size([6890, 6890, 2]))

outputs = []
for i in range(0, 100):
    file_path = os.path.join(geo_path, "tr_reg_{:03d}.mat".format(i))

After Change


values = []
slices = [0]
for i in range(80, 100):
    print(i)
    file_path = os.path.join(patch_path, "tr_reg_{:03d}.mat".format(i))
    out = read_matlab_sparse(file_path, "patch_coord")
    rho = out[:, :out.shape[0]].tocoo()
    theta = out[:, out.shape[0]:].tocoo()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: rusty1s/pytorch_geometric
Commit Name: cce8409beb4c1b662de2b9635cd723993184be23
Time: 2017-11-10
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/datasets/utils/faust_monet.py
Class Name:
Method Name:


Project Name: mozilla/TTS
Commit Name: b1935c97fa1175908c579a4db06214174253f5f4
Time: 2020-06-26
Author: erogol@hotmail.com
File Name: server/synthesizer.py
Class Name: Synthesizer
Method Name: tts


Project Name: rusty1s/pytorch_geometric
Commit Name: bbf7f4e4b8462c18cad91529dad6d86c3945c776
Time: 2017-10-23
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/nn/functional/spline_gcn_test.py
Class Name: SplineGcnTest
Method Name: test_edgewise_spline_gcn_backward