PyTorch Geometric (PyG) PyG is the standard library for Graph Neural Networks built on PyTorch. It provides data structures for graphs, 60+ GNN layer implementations, scalable mini-batch training, and support for heterogeneous graphs. Install: uv add torch_geometric (or uv pip install torch_geometric ; requires PyTorch). Optional: pyg-lib , torch-scatter , torch-sparse , torch-cluster for accelerated ops. Core Concepts Graph Data: Data and HeteroData A graph lives in a Data object. The key attributes: from torch_geometric . data import Data Show more
torch-geometric
安装
npx skills add https://github.com/k-dense-ai/scientific-agent-skills --skill torch-geometric