Add comments in nn.ELU#2111
Merged
apaszke merged 4 commits intopytorch:masterfrom Jul 17, 2017
yunjey:master
Merged
Conversation
Fixed minor typo in Autograd mechanics docs.
Added comments for default value in nn.ELU.
apaszke
reviewed
Jul 16, 2017
torch/nn/modules/activation.py
Outdated
| Args: | ||
| alpha: the alpha value for the ELU formulation | ||
| alpha: the alpha value for the ELU formulation. Default: 1.0 | ||
| inplace: can optionally do the operation in-place |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Contributor
Author
|
@apaszke Added comments for default value in activation.py. Is it ok? |
Contributor
|
Thank you! |
zou3519
pushed a commit
to zou3519/pytorch
that referenced
this pull request
Mar 30, 2018
* Add TARGETS for ATenOp (hackily) This is the best way I could figure out to hook up custom_rule. See https://fb.prod.facebook.com/groups/fbcode/permalink/1810939952287945/ for more details on why it's tricky. As for the fix with SparseTensor - it seems to be a bug in ATen declarations introduced recently. * cmake fixes
IvanYashchuk
pushed a commit
to IvanYashchuk/pytorch
that referenced
this pull request
Oct 25, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added comments for default value in nn.ELU.