Skip to content

Reference to old argument name of torch.var in LayerNorm documentation page #166804

@Ecpii

Description

@Ecpii

There is the following issue on this page: https://docs.pytorch.org/docs/stable/generated/torch.nn.LayerNorm.html

The variance is calculated via the biased estimator, equivalent to torch.var(input, unbiased=False).

The unbiased argument to torch.var should instead be correction=0.

cc @svekars @sekyondaMeta @AlannaBurke

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: docsRelated to our documentation, both in docs/ and docblockstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions