安装 PyG
开始使用
教程
高级概念
包参考
速查表
外部资源
Bases: RootedSubgraph
RootedSubgraph
收集图中每个节点的根\(k\)-跳EgoNets,如“从星到子图:通过局部结构感知提升任何GNN”论文中所述。
num_hops (int) – 跳数 \(k\)。