Skip to content

torch.std giving incorrect results #1854

@abhaikollara

Description

@abhaikollara

The results of torch.std and as a results torch.var are incorrect

x = torch.Tensor([2, 4])
torch.std(x)

1.4142135623730951
np.std([2,4])
1.0

Using python3.5, torch 0.1.12_2

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