{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjsapachehtml.hatenablog.com%2Fentry%2F2018%2F08%2F26%2F142527\" title=\"pytorch\u3067index\u306e\u30ea\u30b9\u30c8\u3092\u6307\u5b9a\u3057\u3066tensor\u306e\u8981\u7d20\u3092\u53d6\u5f97 - MEMOcho-\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"y-kamiya","url":"https://jsapachehtml.hatenablog.com/entry/2018/08/26/142527","version":"1.0","height":"190","width":"100%","image_url":null,"provider_name":"Hatena Blog","description":"Double DQN\u306e\u5b9f\u88c5\u306b\u5fc5\u8981\u306b\u306a\u308b\u3061\u3087\u3063\u3068\u3057\u305f\u8a08\u7b97\u306b\u3064\u3044\u3066\u30e1\u30e2 \uff12\u3064\u306e\uff12\u6b21\u5143tensor x, y\u3092\u7528\u610f\u3057\u3001\"x\u306e\u5404\u884c\u306b\u304a\u3044\u3066\u6700\u5927\u306e\u5024\u3092\u6301\u3064\u8981\u7d20\"\u3068\u540c\u3058\u4f4d\u7f6e\u306b\u3042\u308by\u306e\u8981\u7d20\u3092\u53d6\u5f97\u3059\u308b >>> x = torch.rand(3,5) >>> x tensor([[ 0.0778, 0.6633, 0.4953, 0.1461, 0.4691], [ 0.3024, 0.0295, 0.3526, 0.6040, 0.7512], [ 0.1778, 0.7783, 0.1738, 0.5278, 0.0372]]) >>> x.argmax(1) tensor([ 1, 4, 1]) >>> \u2026","blog_title":"MEMOcho-","categories":["python","pytorch"],"blog_url":"https://jsapachehtml.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/y-kamiya/","published":"2018-08-26 14:25:27","title":"pytorch\u3067index\u306e\u30ea\u30b9\u30c8\u3092\u6307\u5b9a\u3057\u3066tensor\u306e\u8981\u7d20\u3092\u53d6\u5f97","type":"rich","provider_url":"https://hatena.blog"}