summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTongzhou Wang <ssnl@users.noreply.github.com>2019-04-23 14:47:56 -0700
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2019-04-23 14:58:16 -0700
commit6b8771a7a6d4e79b5c15e8c6f38c4b43e52c2638 (patch)
tree3ad86798a42b5f3f6b64d9a5dfe3dfdb48b3b71a
parent70b82d28b8fd8e1299b47224841a4cf929ba2ea1 (diff)
downloadpytorch-6b8771a7a6d4e79b5c15e8c6f38c4b43e52c2638.tar.gz
pytorch-6b8771a7a6d4e79b5c15e8c6f38c4b43e52c2638.tar.bz2
pytorch-6b8771a7a6d4e79b5c15e8c6f38c4b43e52c2638.zip
fix nn.Sequential doc
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/19597 Differential Revision: D15042383 Pulled By: soumith fbshipit-source-id: f912ed2a726a17fcc25795ff66b73ae4caacd247
-rw-r--r--torch/nn/modules/container.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/torch/nn/modules/container.py b/torch/nn/modules/container.py
index 09c6b22855..a7e98b5024 100644
--- a/torch/nn/modules/container.py
+++ b/torch/nn/modules/container.py
@@ -41,11 +41,6 @@ class Sequential(Module):
('conv2', nn.Conv2d(20,64,5)),
('relu2', nn.ReLU())
]))
-
- Shape:
- - Input: :math:`(*)` where `*` means, any number of additional
- dimensions
- - Output: :math:`(*)`, same shape as the input
"""
def __init__(self, *args):