运行 conv2d错误:RuntimeError: _thnn_conv2d_forward not supported on CPUType for Long
先看一下源代码:(怎么可能会有错,毕竟我是复制的土堆的代码)importtorchimporttorch.nn.functionalasFinput=torch.tensor([[1,2,0,3,1],[0,1,3,3,1],[1,2,1,0,0],[5,2,3,1,1],[2,1,0,1,1]])kernel=torch.tensor([[1,2,1],[0,1,0],[2,1,0]])prin