{"id":2264,"date":"2019-01-02T17:28:37","date_gmt":"2019-01-02T09:28:37","guid":{"rendered":"https:\/\/yanjingang.com\/blog\/?p=2264"},"modified":"2019-01-02T17:28:45","modified_gmt":"2019-01-02T09:28:45","slug":"keras-%e5%9f%ba%e4%ba%8e-python-%e7%9a%84%e6%b7%b1%e5%ba%a6%e5%ad%a6%e4%b9%a0%e5%ba%93","status":"publish","type":"post","link":"https:\/\/yanjingang.com\/blog\/?p=2264","title":{"rendered":"Keras: \u57fa\u4e8e Python \u7684\u6df1\u5ea6\u5b66\u4e60\u5e93"},"content":{"rendered":"<p>Keras \u662f\u4e00\u4e2a\u7528 Python \u7f16\u5199\u7684\u9ad8\u7ea7\u795e\u7ecf\u7f51\u7edc API\uff0c\u5b83\u80fd\u591f\u4ee5\u00a0<a href=\"https:\/\/github.com\/tensorflow\/tensorflow\">TensorFlow<\/a>,\u00a0<a href=\"https:\/\/github.com\/Microsoft\/cntk\">CNTK<\/a>, \u6216\u8005\u00a0<a href=\"https:\/\/github.com\/Theano\/Theano\">Theano<\/a>\u00a0\u4f5c\u4e3a\u540e\u7aef\u8fd0\u884c\u3002Keras \u7684\u5f00\u53d1\u91cd\u70b9\u662f\u652f\u6301\u5feb\u901f\u7684\u5b9e\u9a8c\u3002<em>\u80fd\u591f\u4ee5\u6700\u5c0f\u7684\u65f6\u5ef6\u628a\u4f60\u7684\u60f3\u6cd5\u8f6c\u6362\u4e3a\u5b9e\u9a8c\u7ed3\u679c\uff0c\u662f\u505a\u597d\u7814\u7a76\u7684\u5173\u952e\u3002<\/em><\/p>\n<p>\u5982\u679c\u4f60\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u9700\u8981\u6df1\u5ea6\u5b66\u4e60\u5e93\uff0c\u8bf7\u4f7f\u7528 Keras\uff1a<\/p>\n<ul>\n<li>\u5141\u8bb8\u7b80\u5355\u800c\u5feb\u901f\u7684\u539f\u578b\u8bbe\u8ba1\uff08\u7531\u4e8e\u7528\u6237\u53cb\u597d\uff0c\u9ad8\u5ea6\u6a21\u5757\u5316\uff0c\u53ef\u6269\u5c55\u6027\uff09\u3002<\/li>\n<li>\u540c\u65f6\u652f\u6301\u5377\u79ef\u795e\u7ecf\u7f51\u7edc\u548c\u5faa\u73af\u795e\u7ecf\u7f51\u7edc\uff0c\u4ee5\u53ca\u4e24\u8005\u7684\u7ec4\u5408\u3002<\/li>\n<li>\u5728 CPU \u548c GPU \u4e0a\u65e0\u7f1d\u8fd0\u884c\u3002<\/li>\n<\/ul>\n<p>\u5b98\u65b9\u4e2d\u6587\u624b\u518c\uff1ahttps:\/\/keras.io\/zh\/?from=singlemessage&amp;isappinstalled=0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Keras \u662f\u4e00\u4e2a\u7528 Python \u7f16\u5199\u7684\u9ad8\u7ea7\u795e\u7ecf\u7f51\u7edc API\uff0c\u5b83\u80fd\u591f\u4ee5 TensorFlow, CNTK, \u6216\u8005 Theano \u4f5c\u4e3a\u540e\u7aef\u8fd0\u884c\u3002Keras \u7684\u5f00\u53d1\u91cd\u70b9\u662f\u652f\u6301\u5feb\u901f\u7684\u5b9e\u9a8c\u3002\u80fd\u591f\u4ee5\u6700\u5c0f\u7684\u65f6\u5ef6\u628a\u4f60\u7684\u60f3\u6cd5\u8f6c\u6362\u4e3a\u5b9e\u9a8c\u7ed3\u679c\uff0c\u662f\u505a\u597d\u7814\u7a76\u7684\u5173\u952e\u3002<\/p>\n<p>\u5982\u679c\u4f60\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u9700\u8981\u6df1\u5ea6\u5b66\u4e60\u5e93\uff0c\u8bf7\u4f7f\u7528 Keras\uff1a<\/p>\n<p>\u5141\u8bb8\u7b80\u5355\u800c\u5feb\u901f\u7684\u539f\u578b\u8bbe\u8ba1\uff08\u7531\u4e8e\u7528\u6237\u53cb\u597d\uff0c\u9ad8\u5ea6\u6a21\u5757\u5316\uff0c\u53ef\u6269\u5c55\u6027\uff09\u3002<br \/>\n\u540c\u65f6\u652f\u6301\u5377\u79ef\u795e\u7ecf\u7f51\u7edc\u548c\u5faa\u73af\u795e\u7ecf\u7f51\u7edc\uff0c\u4ee5\u53ca\u4e24\u8005\u7684\u7ec4\u5408\u3002<br \/>\n\u5728 CPU \u548c GPU \u4e0a\u65e0\u7f1d\u8fd0\u884c\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[721,255],"tags":[724],"_links":{"self":[{"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2264"}],"collection":[{"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2264"}],"version-history":[{"count":0,"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2264\/revisions"}],"wp:attachment":[{"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yanjingang.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}