4f02bb751b312aec02eab82737382f1f94829a4a,tests/pytorch/test_kvstore.py,,,#,96

Before Change


    client.shut_down()

if __name__ == "__main__":
    server_embed = th.tensor([2., 2., 2., 2., 2.])
    // use pytorch shared memory
    server_embed.share_memory_()

    pid = os.fork()

After Change


    p0.join()
    p1.join()
    p2.join()
    p3.join()

    p4.join()
    p5.join()
    p6.join()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: dmlc/dgl
Commit Name: 4f02bb751b312aec02eab82737382f1f94829a4a
Time: 2019-12-29
Author: mctt90@gmail.com
File Name: tests/pytorch/test_kvstore.py
Class Name:
Method Name:


Project Name: pytorch/text
Commit Name: aa7176b583f29a61f4fa050d10ba5d57bf908986
Time: 2020-12-22
Author: 855818+mthrok@users.noreply.github.com
File Name: test/experimental/test_vectors.py
Class Name: TestVectors
Method Name: test_vectors_load_and_save


Project Name: rusty1s/pytorch_geometric
Commit Name: bc9da61d8c8c2df4c3a31dad92d44ace8dc1c4c5
Time: 2019-07-09
Author: matthias.fey@tu-dortmund.de
File Name: test/data/test_sampler.py
Class Name:
Method Name: test_cora