e4ef8d1a80a922a5798268d4f31ff758b45620cb,examples/pytorch/dis_kvstore/client.py,,,#,8

Before Change


import argparse
import torch as th

server_namebook, client_namebook = dgl.contrib.ReadNetworkConfigure("config.txt")

def start_client(args):
    // Initialize client and connect to server

After Change


ID.append(th.tensor([4,5]))
ID.append(th.tensor([6,7]))

edata_partition_book = {"edata":th.tensor([0,0,1,1,2,2,3,3])}
ndata_partition_book = {"ndata":th.tensor([0,0,1,1,2,2,3,3])}

def start_client():
    time.sleep(3)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: dmlc/dgl
Commit Name: e4ef8d1a80a922a5798268d4f31ff758b45620cb
Time: 2019-12-24
Author: mctt90@gmail.com
File Name: examples/pytorch/dis_kvstore/client.py
Class Name:
Method Name:


Project Name: rusty1s/pytorch_geometric
Commit Name: f74351f89db9a5b38f6b48c7b509bbf0d7a91023
Time: 2020-06-24
Author: matthias.fey@tu-dortmund.de
File Name: test/nn/conv/test_edge_conv.py
Class Name:
Method Name: test_dynamic_edge_conv_conv


Project Name: rusty1s/pytorch_geometric
Commit Name: d2ee769ba220e135312df733a256ad37f354227f
Time: 2020-06-24
Author: matthias.fey@tu-dortmund.de
File Name: test/nn/conv/test_gravnet_conv.py
Class Name:
Method Name: test_gravnet_conv