Chapter 4: Graph Data PipelineΒΆ

(δΈ­ζ–‡η‰ˆ)

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

RoadmapΒΆ

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.