mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Fixed a small error in docstrings for ConvTranspose3d (#13668)
Summary: In the example for ConvTranspose3d, the docstring had "Conv3d" instead of "ConvTranspose3d" in one instance. Pull Request resolved: https://github.com/pytorch/pytorch/pull/13668 Differential Revision: D12958372 Pulled By: soumith fbshipit-source-id: 5ec901e20b90f4eed2bf04c5b417183ec2096447
This commit is contained in:
parent
2fe9e3a207
commit
674e23bbab
|
|
@ -832,7 +832,7 @@ class ConvTranspose3d(_ConvTransposeMixin, _ConvNd):
|
|||
>>> # With square kernels and equal stride
|
||||
>>> m = nn.ConvTranspose3d(16, 33, 3, stride=2)
|
||||
>>> # non-square kernels and unequal stride and with padding
|
||||
>>> m = nn.Conv3d(16, 33, (3, 5, 2), stride=(2, 1, 1), padding=(0, 4, 2))
|
||||
>>> m = nn.ConvTranspose3d(16, 33, (3, 5, 2), stride=(2, 1, 1), padding=(0, 4, 2))
|
||||
>>> input = torch.randn(20, 16, 10, 50, 100)
|
||||
>>> output = m(input)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user