HeteroData import question #3094
-
Hi, I noticed that the line given in a lot of tutorials - ex1, ex2
After looking through the torch_geometric.data object dict
I was able to import HeteroData using - Is this the correct import and would I be correct to make a pull request replacing the former with the latter? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
Beta Was this translation helpful? Give feedback.
from torch_geometric.data import HeteroData
should work out-of-the-box. Can you point me to the Colab to have a look?