pytorch / captum

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

Add additional overload signatures for shared methods to resolve pyre errors #1406

Closed vivekmig closed 1 month ago

vivekmig commented 1 month ago

Summary: Add a few additional overload signatures to shared methods for resolving pyre errors

Also remove separate cases for typing Literal since the split was necessary due to previous support for Python < 3.8

Differential Revision: D64677349

facebook-github-bot commented 1 month ago

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

facebook-github-bot commented 1 month ago

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

facebook-github-bot commented 1 month ago

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

facebook-github-bot commented 1 month ago

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

facebook-github-bot commented 1 month ago

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

facebook-github-bot commented 1 month ago

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

facebook-github-bot commented 1 month ago

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

facebook-github-bot commented 1 month ago

This pull request has been merged in pytorch/captum@0f7ea16f8ca312c7d5cbf8cce7511d988eff458f.