You can create a nn.Conv2d(..., bias=False) layer and set the weights to the gaussian weights with:
conv = nn.Conv2d(..., bias=False)
with torch.no_grad():
    conv.weight = gaussian_weights

Then just apply it on your tensor.