Skip to content

[typing] Add static type hints to torch.distributions. #144196

@randolf-scholz

Description

@randolf-scholz

🚀 The feature, motivation and pitch

Current lack of type hints causes some issues, for instance #76772

Alternatives

No response

Additional context

No response

cc @fritzo @neerajprad @alicanb @nikitaved @ezyang @malfet @xuzhao9 @gramster

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: distributionsRelated to torch.distributionsmodule: typingRelated to mypy type annotationstriagedThis 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