You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subclassing dgl.DGLHeteroGraph is not recommended. For now, I will simply put heterographs as attributes of espaloma.HeterogeneousGraph and thereby enabling message passing by grammar like:
g = espaloma.HeterogeneousGraph(...)
GN = espaloma.nn.SomeModel
GN(g._graph)
since modification of DGLHeterograph could be in-place.
The reasoning behind this is to make parametrization and energy evaluation semantics simpler.
The text was updated successfully, but these errors were encountered:
https://discuss.dgl.ai/t/subclass-dgl-heterograph/997/3
Subclassing
dgl.DGLHeteroGraph
is not recommended. For now, I will simply put heterographs as attributes ofespaloma.HeterogeneousGraph
and thereby enabling message passing by grammar like:since modification of DGLHeterograph could be in-place.
The reasoning behind this is to make parametrization and energy evaluation semantics simpler.
The text was updated successfully, but these errors were encountered: