{"provider_url":"https://hatena.blog","url":"https://np2lkoo.hatenablog.com/entry/2018/12/08/190903","title":"cupy\u3068numpy\u3092\u7c21\u5358\u306b\u5207\u308a\u66ff\u3048\u308b\u65b9\u6cd5","provider_name":"Hatena Blog","categories":["GPU","GPU-Python"],"blog_url":"https://np2lkoo.hatenablog.com/","author_name":"np2LKoo","blog_title":"\u30af\u30fc\u306e\u81ea\u7531\u7814\u7a76","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnp2lkoo.hatenablog.com%2Fentry%2F2018%2F12%2F08%2F190903\" title=\"cupy\u3068numpy\u3092\u7c21\u5358\u306b\u5207\u308a\u66ff\u3048\u308b\u65b9\u6cd5 - \u30af\u30fc\u306e\u81ea\u7531\u7814\u7a76\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","description":"\u6614\u4f5c\u3063\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092cupy\u3067\u52d5\u304b\u3057\u3066\u307f\u307e\u3059 \u3053\u3093\u306b\u3061\u308f\u3001\u3053\u3093\u3070\u3093\u308f\u3002\u304b\u3048\u308b\u306e\u30af\u30fc\u3067\u3059\u3002 CUDA\u306b\u5165\u9580\u3057\u3066GPGPU\u3068\u306f\u3069\u3093\u306a\u3082\u306e\u306a\u306e\u304b\u3059\u3053\u3057\u5206\u304b\u3063\u3066\u304d\u307e\u3057\u305f\u3002 \u4eca\u65e5\u306f\u6614\u3064\u304f\u3063\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3067numpy\u304b\u3089cupy\u306b\u5909\u66f4\u3057\u3066\u3001\u5b9f\u884c\u901f\u5ea6\u304c\u3069\u3046\u306a\u308b\u304b\u8abf\u3079\u3066\u307f\u307e\u3059\u3002 MNIST\u3092\u300cAutoEncode\u300d\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3084\u3063\u3066\u307f\u307e\u3059 import numpy as np \u3092 import cupy as np \u306b\u5909\u3048\u308b\u3060\u3051\u306a\u306e\u3067\u3059\u304c\u3001\u4f55\u672c\u3082\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u3042\u308b\u3068\u5207\u308a\u66ff\u3048\u304c\u9762\u5012\u3067\u3059\u3002 \u305d\u3053\u30671\u304b\u6240\u306e\u8a2d\u5b9a\u3060\u3051\u3067\u5207\u308a\u66ff\u3048\u3089\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u3082\u3063\u3068\u30af\u30fc\u30eb\u306a\u65b9\u6cd5\u304c\u3042\u308b\u306e\u3067\u3057\u3087\u3046\u304c\u3001\u30dc\u30af\u7684\u306b\u306f\u304a\u624b\u8efd\u306a\u3053\u308c\u3067O\u2026","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/n/np2LKoo/20181208/20181208190820.png","author_url":"https://blog.hatena.ne.jp/np2LKoo/","published":"2018-12-08 19:09:03","width":"100%","version":"1.0"}