Skip to content

nn.functional.upsample scale_factor parameter description makes no sense #38334

@zou3519

Description

@zou3519

📚 Documentation

https://pytorch.org/docs/master/nn.functional.html#torch.nn.functional.upsample

image

It says it "has to be an integer", but the parenthesis says it can be a "float or Tuple[Float]".

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