Skip to content

Commit

Permalink
修复打印bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fangwei123456 committed Sep 15, 2020
1 parent e748c64 commit 51ab226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spikingjelly/clock_driven/surrogate.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __init__(self, alpha, spiking=True, learnable=False):
self.f = self.primitive_function

def extra_repr(self):
return f'alpha={self.alpha}, spiking={self.spiking}, learnable={self.alpha}'
return f'alpha={self.alpha}, spiking={self.spiking}, learnable={self.learnable}'

@staticmethod
def spiking_function(x, alpha):
Expand Down

0 comments on commit 51ab226

Please sign in to comment.