{"width":"100%","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_url":"https://engineernoi.hatenablog.com/","blog_title":"IT\u30a8\u30f3\u30b8\u30cb\u30a2 \u30ce\u30a4\u306e\u30d6\u30ed\u30b0","author_url":"https://blog.hatena.ne.jp/EngineerNoi/","version":"1.0","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/E/EngineerNoi/20231203/20231203153855.png","type":"rich","author_name":"EngineerNoi","height":"190","title":"im2col","description":"im2col\u3068\u306f im2col\u306f\u3001\u753b\u50cf\u8a8d\u8b58\u306b\u304a\u3044\u3066\u5229\u7528\u3055\u308c\u308b\u95a2\u6570\u3067\u3001\u4e3b\u306b\u9ad8\u901f\u306a\u884c\u5217\u6f14\u7b97\u3092\u6d3b\u304b\u3059\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u95a2\u6570\u306f\u3001\u52b9\u7387\u7684\u306anumpy\u306e\u64cd\u4f5c\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002\u30eb\u30fc\u30d7\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u3053\u308c\u306fnumpy\u306e\u512a\u308c\u305f\u7279\u6027\u3092\u6d3b\u304b\u3059\u70b9\u3067\u52a3\u308b\u65b9\u6cd5\u3067\u3059\u3002\uff08numpy\u306ffor\u30eb\u30fc\u30d7\u306a\u3069\u3067\u51e6\u7406\u3059\u308b\u3068\u52b9\u7387\u304c\u4f4e\u4e0b\u3059\u308b\u50be\u5411\u304c\u3042\u308a\u307e\u3059\uff09 import numpy as np def im2col(input_data, filter_h, filter_w, stride=1, pad=0, constant_values=0): # \u5165\u529b\u30c7\u30fc\u30bf\u306e\u30c7\u30fc\u30bf\u6570, \u30c1\u30e3\u30f3\u30cd\u30eb\u6570, \u9ad8\u3055, \u5e45\u3092\u53d6\u5f97\u3059\u308b N, C\u2026","url":"https://engineernoi.hatenablog.com/entry/2023/12/03/155523","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengineernoi.hatenablog.com%2Fentry%2F2023%2F12%2F03%2F155523\" title=\"im2col - IT\u30a8\u30f3\u30b8\u30cb\u30a2 \u30ce\u30a4\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2023-12-03 15:55:23","categories":[]}