liveBook · Manning

PyTorch Geometric

PyTorch Geometric is an open-source Python library that extends PyTorch with data structures and operators for graph and geometric machine learning.

How 2 Manning books explain it

Graph Neural Networks in Action

PyTorch Geometric is an open-source Python library for developing and training graph neural networks with PyTorch.

How it is used
Supports preparing graph data and implementing graph neural networks with PyTorch.
How deep it goes
Works through graph conversion, tensors, layers, masks, and aggregation choices; leaves larger-than-single-machine handling to separate strategies.
Examples
Uses a converted NetworkX graph, a two-layer embedding model, aggregation comparisons, and masked node classification.
What you can do after
Apply it via PyTorch Geometric to prepare graph tensors and train graph neural networks.

Read how Graph Neural Networks in Action explains PyTorch Geometric →

Knowledge Graphs and LLMs in Action

PyTorch Geometric is an open-source library that provides data structures and neural-network layers for geometric and graph machine learning with PyTorch.

How it is used
Builds PyTorch-based GNN pipelines for node classification and link prediction on homogeneous and heterogeneous graphs.
How deep it goes
Explains Data construction, masking, dataset partitioning, embeddings, heterogeneous conversion, and encoder–decoder implementation.
Examples
Uses an Elliptic financial transaction graph and a MovieLens user–movie rating graph as implementation examples.
What you can do after
Build it from scratch by preparing PyG graph objects, defining masks, and assembling homogeneous or heterogeneous GNN models.

Read how Knowledge Graphs and LLMs in Action explains PyTorch Geometric →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.