π dgl.graphboltΒΆ
dgl.graphbolt is a dataloading framework for GNN that provides well-defined APIs for each stage of the data pipeline and multiple standard implementations.
APIsΒΆ
Multiprocessing DataLoader. |
|
An abstract dataset which provides abstraction for accessing the data required for training. |
|
An abstract task which consists of meta information and Train/Validation/Test Set. |
|
A wrapper of iterable data or tuple of iterable data. |
|
Dictionary wrapper of ItemSet. |
|
A sampler to iterate over input items and create subsets. |
|
A sampler to iterate over input items and create subsets distributedly. |
|
A negative sampler used to generate negative samples and return a mix of positive and negative samples. |
|
A subgraph sampler used to sample a subgraph from a given set of nodes from a larger graph. |
|
An abstract class for sampled subgraph. |
|
A composite data class for data structure in the graphbolt. |
|
A mini-batch transformer used to manipulate mini-batch |
|
A data class designed for the DGL library, encompassing all the necessary fields for computation using the DGL library. |
|
Convert a graphbolt mini-batch to a dgl mini-batch. |
|
A wrapper of feature data for access. |
|
A store to manage multiple features for access. |
|
A feature fetcher used to fetch features for node/edge in graphbolt. |
|
DataPipe that transfers each element yielded from the previous DataPipe to the given device. |
Standard ImplementationsΒΆ
An on-disk dataset which reads graph topology, feature data and Train/Validation/Test set from disk. |
|
A utility class to download built-in dataset from AWS S3 and load it as |
|
A sampling graph in CSC format. |
|
Sample negative destination nodes for each source node based on a uniform distribution. |
|
Sample neighbor edges from a graph and return a subgraph. |
|
Sample layer neighbor edges from a graph and return a subgraph. |
|
Sampled subgraph of FusedCSCSamplingGraph. |
|
A basic feature store to manage multiple features for access. |
|
A wrapper of pytorch based feature. |
|
A store to manage multiple pytorch based feature for access. |
|
GPU cached feature wrapping a fallback feature. |