Skip to content

Commit

Permalink
Minor docs change
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinMusgrave committed May 27, 2023
1 parent 6d91b49 commit c36e59d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/samplers.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Samplers
Samplers are just extensions of the torch.utils.data.Sampler class, i.e. they are passed to a PyTorch Dataloader (specifically as _sampler_ argument, unless otherwise mentioned).
Samplers are just extensions of the torch.utils.data.Sampler class, i.e. they are passed to a PyTorch Dataloader (specifically as the `sampler` argument, unless otherwise mentioned).
The purpose of samplers is to determine how batches should be formed. This is also where any offline pair or triplet miners should exist.


Expand Down

0 comments on commit c36e59d

Please sign in to comment.