Skip to content

Commit eefab69

Browse files
authored
Update circuits.py
1 parent 86e6958 commit eefab69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

captum/optim/_utils/circuits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def forward(self, x: torch.Tensor) -> torch.Tensor:
112112
max2avg_pool2d(child)
113113

114114

115-
def ignore_layer(model, layer: torch.nn.Module) -> None:
115+
def ignore_layer(model, layer) -> None:
116116
"""
117117
Replace target layers with layers that do nothing.
118118
This is useful for removing the nonlinear ReLU

0 commit comments

Comments
 (0)