摘要: torch.view torch.split() F.interpolate torch.contiguous() torch.argmax 阅读全文
posted @ 2021-04-18 11:03 临近边缘 阅读(100) 评论(0) 推荐(0)
摘要: torch.nn.unfold 提取滑动窗口patches 1 inputs = torch.randn(1, 2, 4, 4) 2 print(inputs.size()) 3 print(inputs) 4 unfold = torch.nn.Unfold(kernel_size=(2, 2), 阅读全文
posted @ 2021-04-18 10:43 临近边缘 阅读(1018) 评论(0) 推荐(0)
摘要: Padding :Same && Valid 阅读全文
posted @ 2021-04-18 09:37 临近边缘 阅读(68) 评论(0) 推荐(0)