Skip to content

Commit c2225c5

Browse files
author
Frederik Rahbaek Warburg
committed
merge
1 parent d16119d commit c2225c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stochman/nnj.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def _jacobian_wrt_input_sandwich(self, x: Tensor, val: Tensor, tmp: Tensor, diag
137137

138138
b, c1, h1, w1 = x.shape
139139
c2, h2, w2 = val.shape[1:]
140-
140+
141141
weight = torch.ones(c2, c1, int(self.scale_factor), int(self.scale_factor), device=x.device)
142142

143143
tmp = F.conv2d(

0 commit comments

Comments
 (0)