{"title":"PyTorch\u30e2\u30c7\u30eb\u3092\u30d0\u30a4\u30ca\u30ea\u30b9\u30c8\u30ea\u30fc\u30e0\u5316\u3057\u3066\u30e2\u30c7\u30eb\u89e3\u5256\u3082\u3057\u3066\u307f\u3088\u3046","height":"190","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsmile-jsp.hateblo.jp%2Fentry%2F2020%2F08%2F15%2F002001\" title=\"PyTorch\u30e2\u30c7\u30eb\u3092\u30d0\u30a4\u30ca\u30ea\u30b9\u30c8\u30ea\u30fc\u30e0\u5316\u3057\u3066\u30e2\u30c7\u30eb\u89e3\u5256\u3082\u3057\u3066\u307f\u3088\u3046 - Smile Engineering Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"PyTorch\u306e\u30e2\u30c7\u30eb\u3092\u30d0\u30a4\u30ca\u30ea\u30b9\u30c8\u30ea\u30fc\u30e0\u3067\u4fdd\u5b58\u3067\u304d\u308b\uff01\uff1f \u6700\u8fd1PyTorch\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u773a\u3081\u3066\u3044\u305f\u3089\u3001PyTorch\u306e\u30e2\u30c7\u30eb\u304cio.BytesIO\u3067\u4fdd\u5b58\u3067\u304d\u308b\u3053\u3068\u3092\u77e5\u308a\u307e\u3057\u305f\u3002 \uff08\u4ee5\u524d\u304b\u3089\u3053\u3093\u306a\u8a18\u8f09\u3042\u3063\u305f\u304b\u306a\uff1f \u3042\u307e\u308a\u8a18\u61b6\u306b\u306a\u3044\u2026\u2026\uff09 # Save to io.BytesIO buffer buffer = io.BytesIO() torch.save(x, buffer) pytorch.org \u3042\u307e\u308a\u4f7f\u3046\u6a5f\u4f1a\u306f\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\uff08\u3068\u3053\u308d\u304c\u7b46\u8005\u306e\u6848\u4ef6\u3067\u306f\u5b9f\u969b\u4f7f\u7528\u3059\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u306e\u3060\u3051\u3069\uff09\u3001\u3068\u308a\u3042\u3048\u305a\u307e\u305a\u306f\u89e6\u3063\u3066\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\uff01 PyTorch\u306e\u30e2\u30c7\u30eb\u3092\u30d0\u30a4\u30ca\u30ea\u30b9\u30c8\u30ea\u30fc\u30e0\u3067\u4fdd\u5b58\u3067\u304d\u2026","author_name":"jspnet","url":"https://smile-jsp.hateblo.jp/entry/2020/08/15/002001","type":"rich","provider_url":"https://hatena.blog","version":"1.0","blog_url":"https://smile-jsp.hateblo.jp/","published":"2020-08-15 00:20:01","image_url":null,"blog_title":"Smile Engineering Blog","author_url":"https://blog.hatena.ne.jp/jspnet/","categories":["PyTorch","\u6df1\u5c64\u5b66\u7fd2"],"width":"100%"}