pytorch / captum

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

layer_integrated_gradients is too complex #1407

Closed jjuncho closed 1 month ago

jjuncho commented 1 month ago

Summary: This diff addresses the C901 in visualization.py by breaking down the method

Differential Revision: D64565179

facebook-github-bot commented 1 month ago

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

facebook-github-bot commented 1 month ago

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

facebook-github-bot commented 1 month ago

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

facebook-github-bot commented 1 month ago

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