The minbatch link prediction tutorial creates train dataloader as
sampler = dgl.dataloading.MultiLayerFullNeighborSampler(2)
sampler = dgl.dataloading.as_edge_prediction_sampler(
sampler, negative_sampler=dgl.dataloading.negative_sampler.Uniform(5))
dataloader = dgl.dataloading.DataLoader(
g, train_seeds, sampler,
batch_size=args.batch_size,
shuffle=True,
drop_last=False,
pin_memory=True,
num_workers=args.num_workers)
The actual transductive link prediction requires test/val edges not present during neither supervision nor message passing in the training stage, but from what I understand the message passing blocks generated from the above dataloader does contain test/val edges of g
?