2D卷积
代码
import torch
import torch.nn as nn
input = torch.randn(1, 3, 112, 112)
conv2d = nn.Conv2d(3, 64, (3, 3), 2, 1)
output = conv2d(input)
print(output.size())
torch.Size([1, 64, 56, 56])
引用
<1>
torch=1.7.1+cu101
torchvision=0.8.2
torchaudio=0.7.2
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。