9b0a01db41abaab4437649deedf42a1c45e6146c,python/dgl/scheduler.py,,_create_send_and_recv_exec,#Any#,181

Before Change


    rfunc = kwargs.pop("reduce_func")
    if (isinstance(mfunc, fmsg.CopySrcMessageFunction)
            and isinstance(rfunc, fred.SumReducerFunction)
            and _is_spmv_supported_node_feat(graph, mfunc.src_field)):
        // TODO(minjie): more sanity check on field names
        return SendRecvSPMVExecutor(graph,
                                    src=src,

After Change


    else:
        exec_cls = SendRecvExecutor
    if _is_spmv_supported(mfunc, graph) and _is_spmv_supported(rfunc):
        return exec_cls(graph, src=src, dst=dst, mfunc=mfunc, rfunc=rfunc)
    else:
        return None

def get_executor(call_type, graph, **kwargs):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dmlc/dgl
Commit Name: 9b0a01db41abaab4437649deedf42a1c45e6146c
Time: 2018-09-19
Author: ly979@nyu.edu
File Name: python/dgl/scheduler.py
Class Name:
Method Name: _create_send_and_recv_exec


Project Name: dmlc/dgl
Commit Name: 9b0a01db41abaab4437649deedf42a1c45e6146c
Time: 2018-09-19
Author: ly979@nyu.edu
File Name: python/dgl/scheduler.py
Class Name:
Method Name: _create_update_all_exec


Project Name: dmlc/dgl
Commit Name: 524e656dd696e91f3bf15054d964ba3e5716f226
Time: 2018-11-26
Author: minjie.wang@nyu.edu
File Name: python/dgl/function/message.py
Class Name: CopySrcMessageFunction
Method Name: is_spmv_supported