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.
LLM offsets logic consolidate w/ checks and test case fix (pytorch#1422)
Summary: Pull Request resolved: pytorch#1422 Consolidate offsets logic with extra checks to one function. May be used to later group data in gradient LLM attribution. Test case fixed as a result of checks. Reviewed By: cyrjano Differential Revision: D65010820 fbshipit-source-id: a88cde9decf1c850dcd16dc2c5aacf5c4e8cd4f2
- Loading branch information
1 parent
638b920
commit 492ae0e
Showing
2 changed files
with
47 additions
and
16 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