While using spike_grad = heaviside(), I encountered a below error:
AttributeError: 'staticmethod' object has no attribute 'apply'
I referred to the file surrogate.py and saw that staticmethod is written above to class Heaviside. That's why it gave me that error; I hashed it. If, it seems correct to you, please merge it into the existing code.
Dear Developers,
While using spike_grad = heaviside(), I encountered a below error:
AttributeError: 'staticmethod' object has no attribute 'apply'
I referred to the file surrogate.py and saw that staticmethod is written above to class Heaviside. That's why it gave me that error; I hashed it. If, it seems correct to you, please merge it into the existing code.
Regards Abhishek