Bias inside keras layer

hi,
It’s a small suggestion but it was very helpful in my case. you can modify the Keras layer to accept a variable called “include_bias=False” and based on that the build function can initialize some bias weights and also in the call function we can add the result from the anode to the bias.

I forked the repo and modified it and it worked to replicate the circuit centric classifier paper

Hi @kareem_essafty, thanks for the suggestion!

This is something we can bear in mind going forward, especially if there is demand from users.

1 Like