Skip to content

MultistepLIFNode surrogate backpropagation #384

Answered by fangwei123456
ClaasBeger asked this question in Q&A
Discussion options

You must be logged in to vote

So can I deduce that both the input weights and the threshold can be adjusted by the optimizer using the result of gradient descent?

Yes, you need to set the vthreshold as learnable parameters. Here is an example:

#371 (comment)

Also, could you point me towards the implementation of the weighting of the inputs?

Weights of inputs are weights of layers which are in front of spiking neurons. You can refer to pytorch's api doc for how to modify their weights.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ClaasBeger
Comment options

Comment options

You must be logged in to vote
1 reply
@ClaasBeger
Comment options

Answer selected by ClaasBeger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants