Skip to content

Add support for list of tensors output in Layer Gradient Attributor #1629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sharontanxh
Copy link

Summary: As part of increasing % of layers supported, we want to extend Layer Gradient Attributor to support List of Tensor with grad outputs. This is fairly safe since we already support Tuple of Tensor with grad outputs, and iteration across both types behaves similarly.

Differential Revision: D79134965

@meta-cla meta-cla bot added the cla signed label Jul 29, 2025
@facebook-github-bot
Copy link
Contributor

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

sharontanxh pushed a commit to sharontanxh/captum that referenced this pull request Jul 29, 2025
…ytorch#1629)

Summary:

As part of increasing % of layers supported, we want to extend Layer Gradient Attributor to support List of Tensor with grad outputs. This is fairly safe since we already support Tuple of Tensor with grad outputs, and iteration across both types behaves similarly.

Differential Revision: D79134965
@facebook-github-bot
Copy link
Contributor

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

sharontanxh pushed a commit to sharontanxh/captum that referenced this pull request Jul 30, 2025
…ytorch#1629)

Summary:

As part of increasing % of layers supported, we want to extend Layer Gradient Attributor to support List of Tensor with grad outputs. This is fairly safe since we already support Tuple of Tensor with grad outputs, and iteration across both types behaves similarly.

Differential Revision: D79134965
@facebook-github-bot
Copy link
Contributor

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

sharontanxh pushed a commit to sharontanxh/captum that referenced this pull request Jul 31, 2025
…ytorch#1629)

Summary:
Pull Request resolved: pytorch#1629

As part of increasing % of layers supported, we want to extend Layer Gradient Attributor to support List of Tensor with grad outputs. This is fairly safe since we already support Tuple of Tensor with grad outputs, and iteration across both types behaves similarly.

Differential Revision: D79134965
…ytorch#1629)

Summary:

As part of increasing % of layers supported, we want to extend Layer Gradient Attributor to support List of Tensor with grad outputs. This is fairly safe since we already support Tuple of Tensor with grad outputs, and iteration across both types behaves similarly.

Differential Revision: D79134965
@facebook-github-bot
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants