Skip to content

corrected docstring for Dropout#1404

Merged
apaszke merged 3 commits intopytorch:masterfrom
tejaskhot:dropout_docs
Apr 29, 2017
Merged

corrected docstring for Dropout#1404
apaszke merged 3 commits intopytorch:masterfrom
tejaskhot:dropout_docs

Conversation

@tejaskhot
Copy link
Copy Markdown
Contributor

fixes #1342

Comment thread torch/nn/modules/dropout.py Outdated
evaluation.

During evaluation, Dropout does nothing more than forward the input such
that all elements of the input are considered.

This comment was marked as off-topic.

This comment was marked as off-topic.

Copy link
Copy Markdown
Contributor

@apaszke apaszke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting these sphinx errors when building the docs:

/data/users/apaszke/pt/torch/nn/modules/dropout.py:docstring of torch.nn.Dropout:26: WARNING: malformed hyperlink target.                                                                                   
/data/users/apaszke/pt/torch/nn/modules/dropout.py:docstring of torch.nn.Dropout:27: WARNING: Explicit markup ends without a blank line; unexpected unindent.                                               
/data/users/apaszke/pt/torch/nn/modules/dropout.py:docstring of torch.nn.Dropout:5: ERROR: Unknown target name: "improving neural networks by preventing co-adaptation of feature detectors".               

Comment thread torch/nn/modules/dropout.py Outdated
detectors`_.

Furthermore, the outputs are scaled by a factor of *1/(1-p)* during
training. This means that during evaluation the module simply computes

This comment was marked as off-topic.

@apaszke apaszke merged commit db1eb66 into pytorch:master Apr 29, 2017
@apaszke
Copy link
Copy Markdown
Contributor

apaszke commented Apr 29, 2017

Thanks!

Jiaming-Liu pushed a commit to Jiaming-Liu/pytorch that referenced this pull request May 18, 2017
hubertlu-tw pushed a commit to hubertlu-tw/pytorch that referenced this pull request Nov 1, 2022
* remove pyprof

* remove reparameterization

* remove pyprof test

* clean up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dropout documentation is incorrect

3 participants