Skip to content

Commit 08c0570

Browse files
authored
[Doc] BatchSubSampler class docstrings example (#677)
1 parent 828be9c commit 08c0570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchrl/trainers/trainers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ class BatchSubSampler(TrainerHookBase):
889889
... key1: torch.stack([torch.arange(0, 10), torch.arange(10, 20)], 0),
890890
... key2: torch.stack([torch.arange(0, 10), torch.arange(10, 20)], 0),
891891
... },
892-
... [13, 10],
892+
... [2, 10],
893893
... )
894894
>>> trainer.register_op(
895895
... "process_optim_batch",

0 commit comments

Comments
 (0)