forked from pytorch/captum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional overload signatures for shared methods to resolve pyre…
… errors (pytorch#1406) Summary: Pull Request resolved: pytorch#1406 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
- Loading branch information
1 parent
e63d39f
commit 7da3ce2
Showing
3 changed files
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters