Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: styling
  • Loading branch information
dwahdany authored May 19, 2024
commit 83139c36fabd48c9089f80adbe5bc4dff1fcd1cd
1 change: 1 addition & 0 deletions opacus/utils/batch_memory_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
)
from torch.utils.data import BatchSampler, DataLoader, Sampler


class BatchSplittingSampler(Sampler[List[int]]):
"""
Samples according to the underlying instance of ``Sampler``, but splits
Expand Down