Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the typo of FusedRMSNorm doc #1869

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

cqulilujia
Copy link

Fix the typo of FusedRMSNorm doc in normalization/fused_layer_norm.py

Copy link
Collaborator

@crcrpar crcrpar left a comment

Choose a reason for hiding this comment

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

Thank you for the fix

@@ -745,8 +745,7 @@ class FusedLayerNorm(torch.nn.Module):
normalize over the last dimension which is expected to be of that specific size.
eps: a value added to the denominator for numerical stability. Default: 1e-5
elementwise_affine: a boolean value that when set to ``True``, this module
has learnable per-element affine parameters initialized to ones (for weights)
and zeros (for biases). Default: ``True``.
has learnable per-element affine parameters initialized to ones for weights. Default: ``True``.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
has learnable per-element affine parameters initialized to ones for weights. Default: ``True``.
has learnable per-element affine parameters initialized to ones for weights. Default: :obj:`True`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants