Skip to content

Replace typing module hints with modern syntax in metrics/gan#3601

Open
Manimaran-tech wants to merge 4 commits intopytorch:masterfrom
Manimaran-tech:fix/typing-metrics-gan
Open

Replace typing module hints with modern syntax in metrics/gan#3601
Manimaran-tech wants to merge 4 commits intopytorch:masterfrom
Manimaran-tech:fix/typing-metrics-gan

Conversation

@Manimaran-tech
Copy link
Contributor

Description

Modernize type hints in ignite/metrics/gan submodule by replacing typing module imports with Python 3.10+ built-in syntax.

Files changed:

  • ignite/metrics/gan/fid.py
  • ignite/metrics/gan/inception_score.py
  • ignite/metrics/gan/utils.py

Related to #3591

@github-actions github-actions bot added the module: metrics Metrics module label Feb 26, 2026
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.

Thanks!

@vfdev-5 vfdev-5 enabled auto-merge February 26, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: metrics Metrics module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants