For example, I want to define a edge_udf like
def edge_udf(edges, k):
return {'m': some complicated operation on (edges.src['h'] & edges.dst['h']) parameterized by k}
However,
DGLGraph.apply_edges(func, edges='__ALL__', etype=None, inplace=False)
seems infeasible to pass k in to edge_udf, hope anyone can tell me how to fix it, thank a lot!