Conv2d — PyTorch 1.10.1 documentation
https://pytorch.org/docs/stable/generated/torch.nn.Conv2d~Conv2d.bias – the learnable bias of the module of shape (out_channels). If bias is True , then the values of these weights are sampled from U ( − k , k ) \mathcal{U}(-\sqrt{k}, \sqrt{k}) U ( − k , k ) where k = g r o u p s C in ∗ ∏ i = 0 1 kernel_size [ i ] k = \frac{groups}{C_\text{in} * \prod_{i=0}^{1}\text{kernel\_size}[i]} k = C in ∗ ∏ i = 0 1 kernel_size [ i ] g ro u p s