{"image_url":null,"blog_url":"https://cookie-box.hatenablog.com/","width":"100%","version":"1.0","blog_title":"\u30af\u30c3\u30ad\u30fc\u306e\u65e5\u8a18","author_name":"cookie-box","title":"\u4eca\u9031\u66f8\u3044\u305f Qiita \u8a18\u4e8b (2026\u5e74\u7b2c17\u9031)","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcookie-box.hatenablog.com%2Fentry%2F2026%2F04%2F26%2F120000\" title=\"\u4eca\u9031\u66f8\u3044\u305f Qiita \u8a18\u4e8b (2026\u5e74\u7b2c17\u9031) - \u30af\u30c3\u30ad\u30fc\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/cookie-box/","height":"190","provider_url":"https://hatena.blog","published":"2026-04-26 12:00:00","categories":["\u4eca\u9031\u66f8\u3044\u305f Qiita \u8a18\u4e8b"],"url":"https://cookie-box.hatenablog.com/entry/2026/04/26/120000","provider_name":"Hatena Blog","description":"\u4eca\u9031\u306f Qiita \u306b\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u66f8\u304d\u307e\u3057\u305f\u3002 \u3053\u308c\u307e\u3067\u306b\u66f8\u3044\u305f\u8a18\u4e8b\u4e00\u89a7\u306f\u3053\u3061\u3089\u3067\u3059\u3002 \u500b\u5305\u88c5\u3060\u3093\u3054\u3068\u3057\u3066\u307f\u308b torch.Tensor \u2015 #3. \u300c\u3060\u3093\u3054\u3092\u9078\u308a\u597d\u307f\u3059\u308b\u300dtorch.take \u3068 torch.take_along_dim \u3068 torch.index_select \u3068 torch.gather \u500b\u5305\u88c5\u3060\u3093\u3054\u3068\u3057\u3066\u307f\u308b torch.Tensor \u2015 #0. \u7d04\u675f\u3068\u76ee\u6b21 (\u517c\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8) ChatGPT \u306e\u30b5\u30a4\u30c9\u30d0\u30fc\u5185\u306e\u30c1\u30e3\u30c3\u30c8\u30bf\u30a4\u30c8\u30eb\u3092\u30c0\u30df\u30fc\u30bf\u30a4\u30c8\u30eb\u3067\u8986\u3044\u96a0\u3059 CSS \u7aef\u672b\u306b\u8272\u4ed8\u304d\u6587\u5b57\u3092\u8868\u793a\u3059\u308b ANSI \u30a8\u30b9\u30b1\u30fc\u30d7\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u30b9\u30cb\u30da\u30c3\u30c8 (bash / zsh \u3068 pyth\u2026","type":"rich"}