deb653f8dc9b396ba99d5c66e0658fb056f37a38,python/dgl/graph.py,DGLGraph,recv,#DGLGraph#Any#Any#Any#,1106
Before Change
if reduce_func == "default":
reduce_func = self._reduce_func
assert reduce_func is not None
if isinstance(reduce_func, (list, tuple)):
reduce_func = BundledReduceFunction(reduce_func)
self._batch_recv(u, reduce_func)
// optional apply nodes
self.apply_nodes(apply_node_func, u)
After Change
with ir.prog() as prog:
scheduler.schedule_recv(graph=self, recv_nodes=v,
reduce_func=reduce_func, apply_func=apply_node_func)
Runtime.run(prog)
// FIXME(minjie): multi send bug
self.reset_messages()
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: dmlc/dgl
Commit Name: deb653f8dc9b396ba99d5c66e0658fb056f37a38
Time: 2018-11-22
Author: ly979@nyu.edu
File Name: python/dgl/graph.py
Class Name: DGLGraph
Method Name: recv
Project Name: dmlc/dgl
Commit Name: deb653f8dc9b396ba99d5c66e0658fb056f37a38
Time: 2018-11-22
Author: ly979@nyu.edu
File Name: python/dgl/graph.py
Class Name: DGLGraph
Method Name: send
Project Name: vatlab/SoS
Commit Name: 3a6619c47fb8c3844f0c8b9aafabbdc048b150a9
Time: 2017-03-06
Author: ben.bog@gmail.com
File Name: sos/sos_executor.py
Class Name: SoS_Worker
Method Name: run_workflow
Project Name: AIRLab-POLIMI/mushroom
Commit Name: ca4c92fe1b53086373cfca478560df06b03701d8
Time: 2017-08-28
Author: carlo.deramo@gmail.com
File Name: examples/atari_dqn/convnet.py
Class Name: ConvNet
Method Name: predict