摘要:
一、二维卷积 参数说明+公式(论文中一般看这个) 查看动态演示 效果: 二、案例 报错技巧:要找自己程序中的文档来改 代码 import torch import torchvision from torch import nn from torch.nn import Conv2d from to 阅读全文
posted @ 2022-05-17 19:10
Trouvaille_fighting
阅读(44)
评论(0)
推荐(0)
摘要:
一、卷积函数 1.二维卷积 torch.nn.functional包含在torch.nn,是更详细的方法的解说 卷积核的运算 padding运算 2. 案例 代码 import torch import torch.nn.functional as F # 1. 输入张量(图片) input=tor 阅读全文
posted @ 2022-05-17 17:22
Trouvaille_fighting
阅读(85)
评论(0)
推荐(0)

浙公网安备 33010602011771号