Skip to content

Commit a7378ca

Browse files
committed
fix for loop
1 parent 88ebcea commit a7378ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

captum/influence/_core/tracincp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ def get_checkpoint_contribution(checkpoint):
10601060
torch.sum(
10611061
layer_jacobian.flatten(start_dim=1) ** 2, dim=1
10621062
)
1063-
for layer_jacobian_flatten in layer_jacobians_flatten
1063+
for layer_jacobian in layer_jacobians
10641064
],
10651065
dim=0,
10661066
),

0 commit comments

Comments
 (0)