{"id":44206,"date":"2023-12-11T15:02:09","date_gmt":"2023-12-11T07:02:09","guid":{"rendered":"https:\/\/wx.kaifamiao.info\/?p=44206"},"modified":"2023-12-11T15:02:09","modified_gmt":"2023-12-11T07:02:09","slug":"lstm%e5%8e%9f%e7%90%86%ef%bc%8c%e4%b8%8egru%e5%8c%ba%e5%88%ab","status":"publish","type":"post","link":"http:\/\/wx.kaifamiao.info\/index.php\/2023\/12\/11\/lstm%e5%8e%9f%e7%90%86%ef%bc%8c%e4%b8%8egru%e5%8c%ba%e5%88%ab\/","title":{"rendered":"LSTM\u539f\u7406\uff0c\u4e0eGRU\u533a\u522b"},"content":{"rendered":"<p>&#8220;`&#8221;                    \u53c2\u8003\u56de\u7b54\uff1a<\/p>\n<p>LSTM\u7b97\u6cd5\u5168\u79f0\u4e3aLong short-term memory\uff0c\u662f\u4e00\u79cd\u7279\u5b9a\u5f62\u5f0f\u7684RNN\uff08Recurrent neural network\uff0c\u5faa\u73af\u795e\u7ecf\u7f51\u7edc\uff09\uff0c\u800cRNN\u662f\u4e00\u7cfb\u5217\u80fd\u591f\u5904\u7406\u5e8f\u5217\u6570\u636e\u7684\u795e\u7ecf\u7f51\u7edc\u7684\u603b\u79f0\u3002<\/p>\n<p>RNN\u5728\u5904\u7406\u957f\u671f\u4f9d\u8d56\uff08\u65f6\u95f4\u5e8f\u5217\u4e0a\u8ddd\u79bb\u8f83\u8fdc\u7684\u8282\u70b9\uff09\u65f6\u4f1a\u9047\u5230\u5de8\u5927\u7684\u56f0\u96be\uff0c\u56e0\u4e3a\u8ba1\u7b97\u8ddd\u79bb\u8f83\u8fdc\u7684\u8282\u70b9\u4e4b\u95f4\u7684\u8054\u7cfb\u65f6\u4f1a\u6d89\u53ca\u96c5\u53ef\u6bd4\u77e9\u9635\u7684\u591a\u6b21\u76f8\u4e58\uff0c\u8fd9\u4f1a\u5e26\u6765\u68af\u5ea6\u6d88\u5931\uff08\u7ecf\u5e38\u53d1\u751f\uff09\u6216\u8005\u68af\u5ea6\u81a8\u80c0\uff08\u8f83\u5c11\u53d1\u751f\uff09\u7684\u95ee\u9898\uff0c\u8fd9\u6837\u7684\u73b0\u8c61\u88ab\u8bb8\u591a\u5b66\u8005\u89c2\u5bdf\u5230\u5e76\u72ec\u7acb\u7814\u7a76\u3002\u4e3a\u4e86\u89e3\u51b3\u8be5\u95ee\u9898\uff0c\u7814\u7a76\u4eba\u5458\u63d0\u51faLSTM\u3002<\/p>\n<p>LSTM\u662f\u95e8\u9650RNN\uff0c\u5176\u5355\u4e00\u8282\u70b9\u7684\u7ed3\u6784\u5982\u4e0b\u56fe1\u6240\u793a\u3002LSTM\u7684\u5de7\u5999\u4e4b\u5904\u5728\u4e8e\u901a\u8fc7\u589e\u52a0\u8f93\u5165\u95e8\u9650\uff0c\u9057\u5fd8\u95e8\u9650\u548c\u8f93\u51fa\u95e8\u9650\uff0c\u4f7f\u5f97\u81ea\u5faa\u73af\u7684\u6743\u91cd\u662f\u53d8\u5316\u7684\uff0c\u8fd9\u6837\u4e00\u6765\u5728\u6a21\u578b\u53c2\u6570\u56fa\u5b9a\u7684\u60c5\u51b5\u4e0b\uff0c\u4e0d\u540c\u65f6\u523b\u7684\u79ef\u5206\u5c3a\u5ea6\u53ef\u4ee5\u52a8\u6001\u6539\u53d8\uff0c\u4ece\u800c\u907f\u514d\u4e86\u68af\u5ea6\u6d88\u5931\u6216\u8005\u68af\u5ea6\u81a8\u80c0\u7684\u95ee\u9898\u3002<\/p>\n<p>&lt;img alt=&quot;&quot;img&quot;&quot; referrerpolicy=&quot;&quot;no-referrer&quot;&quot; src=&quot;&quot;https:\/\/uploadfiles.nowcoder.com\/images\/20190318\/311436_1552883948098_83CE7A8433FD0FAD1DE6FF1EC6DCC47D&quot;&quot;&gt;<\/p>\n<p>\u56fe1 LSTM\u7684CELL\u793a\u610f\u56fe<\/p>\n<p>\u6839\u636eLSTM\u7f51\u7edc\u7684\u7ed3\u6784\uff0c\u6bcf\u4e2aLSTM\u5355\u5143\u7684\u8ba1\u7b97\u516c\u5f0f\u5982\u4e0b\u56fe2\u6240\u793a\uff0c\u5176\u4e2dFt\u8868\u793a\u9057\u5fd8\u95e8\u9650\uff0cIt\u8868\u793a\u8f93\u5165\u95e8\u9650\uff0cCt\u8868\u793a\u524d\u4e00\u65f6\u523bcell\u72b6\u6001\u3001Ct\u8868\u793acell\u72b6\u6001\uff08\u8fd9\u91cc\u5c31\u662f\u5faa\u73af\u53d1\u751f\u7684\u5730\u65b9\uff09\uff0cOt\u8868\u793a\u8f93\u51fa\u95e8\u9650\uff0cHt\u8868\u793a\u5f53\u524d\u5355\u5143\u7684\u8f93\u51fa\uff0cHt-1\u8868\u793a\u524d\u4e00\u65f6\u523b\u5355\u5143\u7684\u8f93\u51fa\u3002<\/p>\n<p>&lt;img alt=&quot;&quot;img&quot;&quot; referrerpolicy=&quot;&quot;no-referrer&quot;&quot; src=&quot;&quot;https:\/\/uploadfiles.nowcoder.com\/images\/20190318\/311436_1552883932369_C100C0499F22CFB35E51EEE95A8DA9BD&quot;&quot;&gt;<\/p>\n<p>\u56fe2 LSTM\u8ba1\u7b97\u516c\u5f0f<\/p>\n<p>\u4e0eGRU\u533a\u522b\uff1a1\uff09GRU\u548cLSTM\u7684\u6027\u80fd\u5728\u5f88\u591a\u4efb\u52a1\u4e0a\u4e0d\u5206\u4f2f\u4ef2\u30022\uff09GRU \u53c2\u6570\u66f4\u5c11\u56e0\u6b64\u66f4\u5bb9\u6613\u6536\u655b\uff0c\u4f46\u662f\u6570\u636e\u96c6\u5f88\u5927\u7684\u60c5\u51b5\u4e0b\uff0cLSTM\u8868\u8fbe\u6027\u80fd\u66f4\u597d\u30023\uff09\u4ece\u7ed3\u6784\u4e0a\u6765\u8bf4\uff0cGRU\u53ea\u6709\u4e24\u4e2a\u95e8\uff08update\u548creset\uff09\uff0cLSTM\u6709\u4e09\u4e2a\u95e8\uff08forget\uff0cinput\uff0coutput\uff09\uff0cGRU\u76f4\u63a5\u5c06hidden state \u4f20\u7ed9\u4e0b\u4e00\u4e2a\u5355\u5143\uff0c\u800cLSTM\u5219\u7528memory cell \u628ahidden state \u5305\u88c5\u8d77\u6765\u3002<\/p>\n<p>&lt;pre&gt;&lt;code&gt;            &quot;&#8220;`<br \/>\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;`&#8221; \u53c2\u8003\u56de\u7b54\uff1a LSTM\u7b97\u6cd5\u5168\u79f0\u4e3aLong short-term memory\uff0c\u662f [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-44206","post","type-post","status-publish","format-standard","hentry","category-c"],"_links":{"self":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/44206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/comments?post=44206"}],"version-history":[{"count":1,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/44206\/revisions"}],"predecessor-version":[{"id":44207,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/44206\/revisions\/44207"}],"wp:attachment":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/media?parent=44206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/categories?post=44206"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/tags?post=44206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}