pytorch / captum

Model interpretability and understanding for PyTorch
https://captum.ai
BSD 3-Clause "New" or "Revised" License
4.95k stars 499 forks source link

Remove mypy note from infidelity.py #1415

Closed craymichael closed 3 weeks ago

craymichael commented 1 month ago

Summary: Adds enough typing to get rid of captum/metrics/_core/infidelity.py:498: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]

Differential Revision: D64998800

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D64998800

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D64998800

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D64998800

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D64998800

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D64998800

facebook-github-bot commented 3 weeks ago

This pull request has been merged in pytorch/captum@2f2d40c9259a6ac869cb23ac6ff903417454939d.