Graph kernel for DGLHeteroGraphs

Hello,
we are trying to find out / implement a graph kernel using DGL.
We tried SubTree kernel but it gave several torch incompatibility errors.
Do you know if there is a method to compute a dot product between such graphs with Python or, possibly, with a fast C++ implementation?
Many thanks!

Hi @fportera2, DGL has provided a lot of low level message-passing functions, you can breakdown the algthorithm to these APIs.