diff --git a/python/graphstorm/dataloading/dataloading.py b/python/graphstorm/dataloading/dataloading.py index 3aa35b7773..1020529857 100644 --- a/python/graphstorm/dataloading/dataloading.py +++ b/python/graphstorm/dataloading/dataloading.py @@ -1291,12 +1291,6 @@ def fanout(self): """ return self._fanout - def __len__(self): - num_samples = 0 - for _, test_size in self._fixed_test_size.items(): - num_samples += math.ceil(test_size // self._batch_size) - return num_samples - class GSgnnLinkPredictionJointTestDataLoader(GSgnnLinkPredictionTestDataLoader): """ Link prediction minibatch dataloader for validation and test with joint negative sampler