Chapter 4: Graph Data Pipeline


DGL implements many commonly used graph datasets in They follow a standard pipeline defined in class DGL highly recommends processing graph data into a subclass, as the pipeline provides simple and clean solution for loading, processing and saving graph data.


This chapter introduces how to create a custom DGL-Dataset. The following sections explain how the pipeline works, and shows how to implement each component of it.