Skip to content

torch.svd docs: some parameter? #4152

@adamlerer

Description

@adamlerer

The documentation of the some parameter to torch.svd is one of the strangest I've seen... what does some=True (the default) do???

torch.svd(input, some=True, out=None) -> (Tensor, Tensor, Tensor)
...
some represents the number of singular values to be computed. If some=True, it computes some and some=False computes all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions