kervolution icon indicating copy to clipboard operation
kervolution copied to clipboard

Setting bias to False do not work, you still have the biases

Open amovert opened this issue 4 years ago • 0 comments

Hi,

If you try to use kervolution without bias, it does not work if you set bias=False.

The reason is in line 85 in kervolution.py in function Kerv2d:

if self.bias is not None: output += self.bias.view(self.out_channels, -1)

So you need to set bias=None to not have bias

The same is true for the function Kerv1d

amovert avatar Jul 30 '21 06:07 amovert