Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiang Song committed Jun 15, 2024
1 parent 48f10d1 commit 01c8b77
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions python/graphstorm/dataloading/dataloading.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 01c8b77

Please sign in to comment.