# Should a bias neuron be connected to previous neurons?

I'm trying to add a bias neuron to my neural network that uses the backpropagation algorithm. I'm trying to figure out how I should go about this, should I treat the bias neuron as a regular neuron? which means it's connected to the neurons on the previous layer?

• Please, consider upvoting the answers if you found them useful, and marking one as correct if deemed so. Alternatively, please considering describing what the answer is lacking or why you think it is not correct, so that it can be improved.
– noe
Dec 24 '20 at 13:47

$$\mathrm{Layer2output} = W.\mathrm{Layer1output} +b$$