📅  最后修改于: 2022-03-11 14:45:14.898000             🧑  作者: Mango
代码示例1
import torch.nn.functional as F
from torch.autograd import Variable
F.conv2d(Variable(a.view(1,1,3,3)),Variable(b.view(1,1,3,3)))