API 输入:[ batch_size, channels, height_1, width_1 ] Conv2d输入参数:[ channels, output, height_2, width_2 ] 输出:[ batch_size,output, height_3, width_3 ] 实例: def torch_practice(): x = torch.randn(2,1,16,4) conv = torch.nn.Conv2d(1, 32, (2,2)) res = conv(x) p…