{"height":"190","blog_url":"https://randommemory.hatenablog.com/","url":"https://randommemory.hatenablog.com/entry/2021/07/04/210916","author_url":"https://blog.hatena.ne.jp/derwind/","description":"\u305f\u3076\u3093 nn.Conv2d \u306e\u51e6\u7406\u306f \u201c2 \u6b21\u5143\u201d \u3068\u306f\u8a00\u3044\u3064\u3064\u3082\u3001\u30c1\u30e3\u30cd\u30eb\u65b9\u5411\u306b\u5e45\u3092\u3082\u3063\u305f\u30ab\u30fc\u30cd\u30eb\u3092\u30c7\u30fc\u30bf\u306b\u7573\u307f\u8fbc\u3080\u3001\u3064\u307e\u308a\u30c6\u30f3\u30bd\u30eb\u3068\u3057\u3066\u8981\u7d20\u3054\u3068\u306e\u7a4d\u3092\u3068\u3063\u3066\u5f97\u305f\u30c6\u30f3\u30bd\u30eb\u306e\u548c\u3092\u3068\u308b\u51e6\u7406\u3092\u3057\u3066\u3044\u308b\u3068\u601d\u308f\u308c\u308b\u3002\u3053\u308c\u3092\u691c\u8a3c\u3057\u3088\u3046\u3002 tensor = torch.tensor(...) # torch.Size([1, 3, 4, 4]) \u306e\u30c6\u30f3\u30bd\u30eb conv = nn.Conv2d(3, 1, kernel_size = 3, stride=1, padding=0, bias=False) output = conv(tensor) tensor_ul = tensor[:,:,:3,:3] #\u2026","image_url":null,"published":"2021-07-04 21:09:16","type":"rich","author_name":"derwind","width":"100%","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","title":"nn.Conv2d \u306e\u52d5\u304d\u3092\u63a2\u308b","categories":["machine_learning"],"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2021%2F07%2F04%2F210916\" title=\"nn.Conv2d \u306e\u52d5\u304d\u3092\u63a2\u308b - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6"}