{"title":"\u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc\u306e\u8a08\u7b97(nn.CrossEntropy)\u3092\u8abf\u3079\u3066\u307f\u305f","type":"rich","height":"190","version":"1.0","categories":["Pytorch"],"provider_name":"Hatena Blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/r/round-rand/20241123/20241123144516.png","published":"2024-11-25 00:00:00","blog_title":"\u30e9\u30f3\u30c9ML","description":"\u306f\u3058\u3081\u306b \u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc(nn.CrossEntropy)\u306e\u8a08\u7b97\u5f0f \u8a08\u7b97\u4f8b \u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u6c42\u3081\u308b nn. CrossEntropy\u3092\u4f7f\u3046\u5834\u5408 \u81ea\u4f5c\u3057\u305f\u5834\u5408 \u306f\u3058\u3081\u306b \u4ee5\u4e0b\u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8aad\u307f\u306a\u304c\u3089\u672c\u8a18\u4e8b\u3092\u66f8\u304d\u307e\u3057\u305f\u3002 \u3042\u308b\u7a0b\u5ea6\u7406\u89e3\u3057\u305f\u3064\u3082\u308a\u3067\u3059\u304c\u3001\u9593\u9055\u3063\u3066\u3044\u305f\u3089\u3059\u307f\u307e\u305b\u3093\u3002 pytorch.org \u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc(nn.CrossEntropy)\u306e\u8a08\u7b97\u5f0f \u8003\u3048\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u3001\u672c\u8a18\u4e8b\u3067\u306f\u91cd\u307f\u3065\u3051\u306f\u884c\u3063\u3066\u3044\u307e\u305b\u3093\u3002 \u305d\u306e\u305f\u3081\u3001\u53c2\u8003\u30b5\u30a4\u30c8\u306e\u6587\u5b57\u3092\u4e00\u90e8\u5909\u66f4\u3057\u3066\u3001 N : \u30b5\u30f3\u30d7\u30eb\u6570 n : \u30b5\u30f3\u30d7\u30eb\u756a\u53f7(1~N) C : \u30af\u30e9\u30b9\u6570 : n\u30b5\u30f3\u30d7\u30eb\u76ee\u306e\u6b63\u89e3\u30e9\u30d9\u30eb\u756a\u53f7 \uff1a n\u30b5\u30f3\u30d7\u30eb\u76ee\u306e\u30e9\u30d9\u30ebi\u306e\u30ed\u2026","width":"100%","url":"https://ml-rand-note.hatenablog.com/entry/torch-CrossEntropy","author_url":"https://blog.hatena.ne.jp/round-rand/","provider_url":"https://hatena.blog","blog_url":"https://ml-rand-note.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fml-rand-note.hatenablog.com%2Fentry%2Ftorch-CrossEntropy\" title=\"\u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc\u306e\u8a08\u7b97(nn.CrossEntropy)\u3092\u8abf\u3079\u3066\u307f\u305f - \u30e9\u30f3\u30c9ML\" 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":"round-rand"}