Skip to content

[docs] torch.histc docs mention min/max have int type #31475

@vadimkantorov

Description

@vadimkantorov

https://pytorch.org/docs/master/torch.html?highlight=histc#torch.histc:

min (int) – lower end of the range (inclusive)
max (int) – upper end of the range (inclusive)

I think this is erroneous, the type should be float and also to accept PyTorch scalar type (as it can be common to write min = bins_tensor.min(), max = bins_tensor.max())

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionablemodule: 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