How to add my own bias to conv2d

I want to add a conv2d layer and add my own bias instead of making it to automatically add the bias. I am already passing bias=false when I create the model. The bias that I have is a float torch vector.

m = nn.Conv2d(3, 2, (3, 3), bias=False))

Make your bias a nn.Parameter and manually add it in forward.