Skip to content

Improve typing hints for Engine and helper methods#2382

Merged
vfdev-5 merged 2 commits intopytorch:masterfrom
louis-she:typing-hints
Dec 23, 2021
Merged

Improve typing hints for Engine and helper methods#2382
vfdev-5 merged 2 commits intopytorch:masterfrom
louis-she:typing-hints

Conversation

@louis-she
Copy link
Contributor

Fixes #2356

Description:

Check list:

  • New tests are added (if a new feature is added)
  • New doc strings: description and/or example code are in RST format
  • Documentation is updated (if required)

@louis-she louis-she changed the title add: more hints and docs for create_supervised_trainer Improve typing hints for Engine and helper methods Dec 22, 2021
@github-actions github-actions bot added the module: engine Engine module label Dec 22, 2021
@louis-she
Copy link
Contributor Author

@vfdev-5 CI has passed

Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the PR @louis-she !

@vfdev-5 vfdev-5 merged commit f8c2094 into pytorch:master Dec 23, 2021
Ishan-Kumar2 pushed a commit to Ishan-Kumar2/ignite that referenced this pull request Dec 26, 2021
* add: more hints and docs for create_supervised_trainer

* fix: mypy style issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: engine Engine module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve typing hints for Engine and helper methods

2 participants