Skip to content
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

accept slices of tensors as neuron index for gradient computation #490

Closed
wants to merge 1 commit into from

Conversation

karthikprasad
Copy link
Contributor

Summary: Thus far, we supported gradient computation of a specific neuron indexed by neuron_index. With this change, we allow gradient computation of the aggregate of multiple neurons, by specifying slices of tensors.

Reviewed By: vivekmig

Differential Revision: D24010060

@facebook-github-bot
Copy link
Contributor

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

karthikprasad added a commit to karthikprasad/captum that referenced this pull request Oct 12, 2020
…torch#490)

Summary:
Pull Request resolved: pytorch#490

Thus far, we supported gradient computation of a specific neuron indexed by `neuron_index`. With this change, we allow gradient computation of the aggregate of multiple neurons, by specifying slices of tensors.

Reviewed By: vivekmig

Differential Revision: D24010060

fbshipit-source-id: 9ce64d01015eb914e9a0adc20ce0a081fdcfd321
@facebook-github-bot
Copy link
Contributor

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

karthikprasad added a commit to karthikprasad/captum that referenced this pull request Oct 12, 2020
…torch#490)

Summary:
Pull Request resolved: pytorch#490

Thus far, we supported gradient computation of a specific neuron indexed by `neuron_index`. With this change, we allow gradient computation of the aggregate of multiple neurons, by specifying slices of tensors.

Reviewed By: vivekmig

Differential Revision: D24010060

fbshipit-source-id: e194882a89d1cd06f71b655d84f72fb92e7f19af
@facebook-github-bot
Copy link
Contributor

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

karthikprasad added a commit to karthikprasad/captum that referenced this pull request Oct 12, 2020
…torch#490)

Summary:
Pull Request resolved: pytorch#490

Thus far, we supported gradient computation of a specific neuron indexed by `neuron_index`. With this change, we allow gradient computation of the aggregate of multiple neurons, by specifying slices of tensors.

Reviewed By: vivekmig

Differential Revision: D24010060

fbshipit-source-id: 36a521cb0c4ca18650bbc758b9b2a2b1377b10b7
@facebook-github-bot
Copy link
Contributor

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

…torch#490)

Summary:
Pull Request resolved: pytorch#490

Thus far, we supported gradient computation of a specific neuron indexed by `neuron_index`. With this change, we allow gradient computation of the aggregate of multiple neurons, by specifying slices of tensors.

Reviewed By: vivekmig

Differential Revision: D24010060

fbshipit-source-id: 5218ca07bde4e6d755cef187346ac04232e5fef4
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 91dd756.

NarineK pushed a commit to NarineK/captum-1 that referenced this pull request Nov 19, 2020
…torch#490)

Summary:
Pull Request resolved: pytorch#490

Thus far, we supported gradient computation of a specific neuron indexed by `neuron_index`. With this change, we allow gradient computation of the aggregate of multiple neurons, by specifying slices of tensors.

Reviewed By: vivekmig

Differential Revision: D24010060

fbshipit-source-id: 45a04225d55fa77a31683a67fe70d2e08d20ed95
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.

None yet

2 participants