Hi, could you please explain why getattr
function has been used in the update_all
function instead of the direct function call? It would be helpful to understand the flow.
Here is an example: dgl/core.py at master · dmlc/dgl · GitHub
This is because dgl.function.u_mul_e('h', 'att', 'm')
is not an actual function, but some special object DGL keeps track of so that later on it can fuse with the reduce function as a single kernel.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.