Skip to content

[docs] tensor.add doesn't describe overloads #8690

@zou3519

Description

@zou3519

torch.add describes the overloads while tensor.add just has a add(value) function. We should make a note that these overloads exist and possibly redirect to torch.add.

tensor.add docs
torch.add docs

Originally reported here: https://discuss.pytorch.org/t/tensor-add-confusing-in-optimizer-code/19876/2

Metadata

Metadata

Assignees

No one assigned

    Labels

    todoNot as important as medium or high priority tasks, but we will work on these.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions