Unverified Commit 75e89a15 authored by Quan (Andy) Gan's avatar Quan (Andy) Gan Committed by GitHub
Browse files

remove debug information (#2056)

parent 9da1629c
......@@ -162,12 +162,10 @@ def sample_neighbors(g, nodes, fanout, edge_dir='in', prob=None, replace=False,
# only set the edge IDs.
if not _dist_training:
if copy_ndata:
print(g, type(g))
node_frames = utils.extract_node_subframes(g, None)
utils.set_new_frames(ret, node_frames=node_frames)
if copy_edata:
print(g, type(g))
edge_frames = utils.extract_edge_subframes(g, induced_edges)
utils.set_new_frames(ret, edge_frames=edge_frames)
else:
......@@ -296,12 +294,10 @@ def select_topk(g, k, weight, nodes=None, edge_dir='in', ascending=False,
# handle features
if copy_ndata:
print(g, type(g))
node_frames = utils.extract_node_subframes(g, None)
utils.set_new_frames(ret, node_frames=node_frames)
if copy_edata:
print(g, type(g))
edge_frames = utils.extract_edge_subframes(g, induced_edges)
utils.set_new_frames(ret, edge_frames=edge_frames)
return ret
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment