Skip to content

How to add bias in linear and convolutional layers? #175

Answered by bamsumit
CloudyDory asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @CloudyDory, bias is a property of neurons in neuromorphic processors. That is why they are disabled on the synapses. It is not fully exposed to the users for neurons as well. They are triggered only when one uses normalization on neurons.

It seems that you want to run inference on your existing network, not train it. Is that correct? In that case, you can initialize the bias of the neuron process in lava. If you are using NetX specification, you can also add 'bias' property of a layer.

Note: bias for LIF neuron gets added to the voltage state, not current.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bamsumit
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