Pytorch 1.1.0, windows
import torch
import torch.nn as nn
import torch.nn.functional as nnF
x=torch.rand((16, 3, 28, 28))
a=nn.Conv2d(3,10,10,padding_mode='zeros')
y=nnF.conv2d(x, a.weight, padding_mode='zeros')

TypeError: conv2d() got an unexpected keyword argument ‘padding_mode’