Skip to content

Commit 9f7e408

Browse files
author
james
committed
bugfix
1 parent 66507ba commit 9f7e408

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

utils/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ def forward(self, x):
4949
return self.apply(x)
5050

5151
def apply(self, x):
52-
nonzero = (x.abs() > self.threshold).sum()
53-
print(f"Nonzero proportion: {nonzero / x.numel()}")
5452
return x.abs().gt(self.threshold) * x
5553

5654
def get_threshold(self):

0 commit comments

Comments
 (0)