step.utils.gbolt

Overview

Classes

MultiGraphsAllNodesSampler

A custom sampler that samples all nodes from sampled graphs.

Classes

class MultiGraphsAllNodesSampler(mode, budget, n_graphs=2, ratio=1.0)

Bases: dgl.dataloading.SAINTSampler

A custom sampler that samples all nodes from sampled graphs.

n_graphs

int Number of graphs to sample from

Overview

Methods

node_sampler(g)

Node ID sampler for random node sampler

Members

node_sampler(g)

Node ID sampler for random node sampler