Skip to content

Commit de153bf

Browse files
authored
[Doc] fix several typos (#2603)
1 parent 83e0b05 commit de153bf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

torchrl/modules/models/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ class DuelingCnnDQNet(nn.Module):
955955
>>> cnn_kwargs = {
956956
... 'num_cells': [32, 64, 64],
957957
... 'strides': [4, 2, 1],
958-
... 'kernels': [8, 4, 3],
958+
... 'kernel_sizes': [8, 4, 3],
959959
... }
960960
961961
mlp_kwargs (dict or list of dicts, optional): kwargs for the advantage

tutorials/sphinx-tutorials/getting-started-3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
indices = buffer.extend(data)
153153

154154
#################################
155-
# We can check that the buffer now has the same number of elements than what
155+
# We can check that the buffer now has the same number of elements as what
156156
# we got from the collector:
157157

158158
assert len(buffer) == collector.frames_per_batch
@@ -174,7 +174,7 @@
174174
# Next steps
175175
# ----------
176176
#
177-
# - You can have look at other multirpocessed
177+
# - You can have look at other multiprocessed
178178
# collectors such as :class:`~torchrl.collectors.collectors.MultiSyncDataCollector` or
179179
# :class:`~torchrl.collectors.collectors.MultiaSyncDataCollector`.
180180
# - TorchRL also offers distributed collectors if you have multiple nodes to

tutorials/sphinx-tutorials/rb_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
buffer_lazytensor = ReplayBuffer(storage=LazyTensorStorage(size))
169169

170170
######################################################################
171-
# Let us create a batch of data of size ``torch.Size([3])` with 2 tensors
171+
# Let us create a batch of data of size ``torch.Size([3])`` with 2 tensors
172172
# stored in it:
173173
#
174174

0 commit comments

Comments
 (0)