{"id":57662,"date":"2024-06-16T19:57:01","date_gmt":"2024-06-16T11:57:01","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=57662"},"modified":"2024-06-16T19:57:01","modified_gmt":"2024-06-16T11:57:01","slug":"%e9%9c%87%e6%83%8a%ef%bc%81%e7%94%a8pytorch%e6%90%ad%e5%bb%ba%e7%a5%9e%e7%bb%8f%e7%bd%91%e7%bb%9c%e7%ab%9f%e7%84%b6%e5%a6%82%e6%ad%a4%e7%ae%80%e5%8d%95","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=57662","title":{"rendered":"\u9707\u60ca\uff01\u7528PyTorch\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\u7adf\u7136\u5982\u6b64\u7b80\u5355"},"content":{"rendered":"<p><html><br \/>\n<head><br \/>\n<title><\/title><br \/>\n<meta charset=\"utf-8\"><br \/>\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover\"><\/p>\n<style>\n*{margin:0;padding:0}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.6}img{z-index:999;position:relative;max-width:100%;margin:10px 0;}body{letter-spacing:.034em}h1,h2,h3,h4,h5,h6{font-weight:400;font-size:16px}a{color:#576b95;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}td,th{word-wrap:break-word;padding:5px 10px;border:1px solid #DDD;}table{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}.rich_media_area_primary{padding:20px 16px 12px;background-color:#fafafa}@media (max-width:375px){.rich_media_area_primary{padding:20px 60px 15px 60px}.rich_media_area_extra{padding:0 60px 21px 60px}}@media (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner,body{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media{padding:20px;overflow:hidden;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}@media screen and (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media_content{overflow:hidden;color:#333;font-size:17px;word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;text-align:justify;position:relative;z-index:0}.rich_media_content *{max-width:100%!important;box-sizing:border-box!important;-webkit-box-sizing:border-box!important;word-wrap:break-word!important}.rich_media_content p{clear:both;min-height:1em}.rich_media_content em{font-style:italic}.rich_media_content fieldset{min-width:0}.rich_media_content .list-paddingleft-1,.rich_media_content .list-paddingleft-2,.rich_media_content .list-paddingleft-3{padding-left:2.2em}.rich_media_content .list-paddingleft-1 .list-paddingleft-2,.rich_media_content .list-paddingleft-2 .list-paddingleft-2,.rich_media_content .list-paddingleft-3 .list-paddingleft-2{padding-left:30px}.rich_media_content .list-paddingleft-1{padding-left:1.2em}.rich_media_content .list-paddingleft-3{padding-left:3.2em}.rich_media_content .code-snippet,.rich_media_content .code-snippet__fix{max-width:1000%!important}.rich_media_content .code-snippet *,.rich_media_content .code-snippet__fix *{max-width:1000%!important}.rich_media_title{font-size:22px;line-height:1.4;margin-bottom:13px;padding-bottom:13px;border-bottom:1px solid #e7e7eb;}@supports(-webkit-overflow-scrolling:touch){.rich_media_title{font-weight:700}}.rich_media_meta{display:inline-block;vertical-align:middle;padding:0 0 10px 0;font-size:15px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.rich_media_meta.icon_appmsg_tag{margin-right:0px}.rich_media_meta.meta_tag_text{margin-right:0}.rich_media_meta_list em{font-style:normal}.rich_media_meta_text{color:#a5a5a5;}p{margin:0;}.msgBox{margin-top:20px;padding-top:20px;padding-left:50px;overflow:hidden;border-top:2px dashed #09a2ff;}.msg{padding-top:7px;clear:both;}.msgBody{float:right;width:100%;margin-left:55px;padding-bottom:15px;border-bottom:1px dashed #e0e0e0;}.userHeadImg{float:left;margin-left:-50px;}.userHeadImg img{width:40px;height:40px;margin-right:10px;border-radius:3px;}.userName{color:#888888;line-height:24px;font-size:14px;margin:5px 0 5px 0;height:24px;}.replyBody,.autherBody{color:#565656;font-size:15px;}.replyIcon{border-left:4px solid #33ab01;margin-right:5px;}.ad{text-decoration:none;color:#d6d4d4;font-size:12px;}.msgBodyReply{padding-top:5px;}.userName span{float:right;color:#afafaf;font-size:14px;}code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;}.code-snippet__fix{font-size:14px;margin:10px 0;display:block;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:-webkit-box;display:-webkit-flex;display:flex;padding-left:25px;line-height:26px}.code-snippet__fix code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;font-family:Consolas,\"Liberation Mono\",Menlo,Courier,monospace}.code-snippet__comment,.code-snippet__quote{color:#afafaf;font-style:italic}.code-snippet__keyword,.code-snippet__selector-tag,.code-snippet__subst{color:#ca7d37}.code-snippet__number,.code-snippet__literal,.code-snippet__variable,.code-snippet__template-variable,.code-snippet__tag .code-snippet__attr{color:#0e9ce5}.code-snippet__string,.code-snippet__doctag{color:#d14}.code-snippet__title,.code-snippet__section,.code-snippet__selector-id{color:#d14}.code-snippet__subst{font-weight:normal}.code-snippet__type,.code-snippet__class .code-snippet__title{color:#0e9ce5}.code-snippet__tag,.code-snippet__name,.code-snippet__attribute{color:#0e9ce5;font-weight:normal}.code-snippet__regexp,.code-snippet__link{color:#ca7d37}.code-snippet__symbol,.code-snippet__bullet{color:#d14}.code-snippet__built_in,.code-snippet__builtin-name{color:#ca7d37}.code-snippet__meta{color:#afafaf}.code-snippet__deletion{background:#fdd}.code-snippet__addition{background:#dfd}.code-snippet__emphasis{font-style:italic}.code-snippet__strong{font-weight:bold}.account_avatar{width:40px;height:40px;padding:0;}.account_info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;padding:20px 0;align-items:center}.flex_bd{padding-left:14px;}.account_nickname{display:inline-block;vertical-align:middle;line-height:1.2;color:#576b95;font-size:14px}.account_desc{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;color:rgba(0,0,0,0.3);font-size:14px;line-height:1.2;padding-top:.4em}.msg_source_url{text-align:left;word-break:break-all;margin-top:20px;}.msg_source_url a{padding-right:10px;}.msg_source_url .url_text{color:#a8a8a8;}.video-desc{font-size:14px;margin-top:15px;color:#6c6c6c;}.msg_source_url{text-align:left;}.original_primary_card_tips{color:rgba(0,0,0,0.3);line-height:1.4;font-size:15px;}.weui-flex__item{margin-bottom:20px;padding:20px 16px;margin-top:16px;line-height:1.4;align-items:center;background-color:#f7f7f7;border-radius:8px;position:relative;}.original_primary_desc{color:rgba(0,0,0,0.5);font-size:14px;padding-top:4px;width:auto;overflow:hidden;text-overflow:ellipsis;}.msgBodyReplyList{border-top:1px solid #e1e1e1;margin-top:10px;}.msgBodyReplyListTop{border-top:0;}.reply_like_num{float:right;font-size:14px;color:#c7c7c7;}.msgData{margin-top:20px;color:#626262;}.msgData span{font-size:14px;padding-right:15px;}.msgData .likes{float:right;padding-right:0;}.js_text_content p{font-size:18px;}.rich_media_meta_link{font-size:15px;}blockquote {padding-left: 10px;border-left: 3px solid #dbdbdb;color: rgba(0,0,0,0.5);font-size: 15px;padding-top: 4px;margin: 1em 0;}.video_iframe{width:500px;height:400px;}.blockquote_info{color:#b5b5b5;margin-top:10px;}#copyright_logo{color:#bdbdbd;}.rich_media_meta_list{margin-bottom:10px;}.reprint{background:#efefef;border-radius:5px;padding:8px;color:#1f1f1f;}.reprint a{word-break:break-all;}.topic{color:#8e8e8e;background:#f7f7f7;border-radius:5px;padding:10px 8px;}.topic a{padding-right:5px;}.topic p{margin-bottom:5px;}\n<\/style>\n<link href=\"https:\/\/www.juyifx.cn\/config\/css\/wxArticle.css\" rel=\"stylesheet\"\/>\n<\/head><script>\nvar data={\"mp\":\"\u751f\u4fe1\u679c\",\"title\":\"\u9707\u60ca\uff01\u7528PyTorch\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\u7adf\u7136\u5982\u6b64\u7b80\u5355\",\"time\":\"2024-03-19 19:01:10\",\"timeStamp\":\"1710846070\"};\n<\/script><br \/>\n<body><\/p>\n<div class=\"rich_media\">\n<h1 class=\"rich_media_title\" id=\"activity-name\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&#038;mid=2247501050&#038;idx=1&#038;sn=c743613e381a3c17bc86579520e90fe0&#038;chksm=cf7f543ff808dd2932b0960f1a9c459dfa83247fd623bfeb263a658690384ca3dbf80a72b6c3#rd\" target=\"_blank\" rel=\"noopener\">\u9707\u60ca\uff01\u7528PyTorch\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\u7adf\u7136\u5982\u6b64\u7b80\u5355<\/a><\/h1>\n<div id=\"meta_content\" class=\"rich_media_meta_list\"><span class=\"rich_media_meta rich_media_meta_text\">\u5c0f\u679c&nbsp;&nbsp;<\/span><span class=\"rich_media_meta rich_media_meta_nickname\" id=\"profileBt\"><a href=\"javascript:void(0);\" class=\"wx_tap_link js_wx_tap_highlight weui-wa-hotarea\" id=\"js_name\">\u751f\u4fe1\u679c&nbsp;&nbsp;<\/a><\/span><em id=\"publish_time\" class=\"rich_media_meta rich_media_meta_text\">2024-03-19 19:01:10<\/em><\/div>\n<p><content><\/p>\n<div class=\"topic\">\n<p>\u6536\u5f55\u4e8e\u8bdd\u9898<\/p>\n<p><a href=\"https:\/\/mp.weixin.qq.com\/mp\/appmsgalbum?__biz=Mzg3OTg3MjQyNg==&#038;action=getalbum&#038;album_id=2821072943068839938#wechat_redirect\" title=\"\u751f\u4fe1\u7ed8\u56fe\" target=\"_blank\" rel=\"noopener\">#\u751f\u4fe1\u7ed8\u56fe<\/a><a href=\"https:\/\/mp.weixin.qq.com\/mp\/appmsgalbum?__biz=Mzg3OTg3MjQyNg==&#038;action=getalbum&#038;album_id=3142740974448934918#wechat_redirect\" title=\"\u79d1\u7814\u4f5c\u56fe\" target=\"_blank\" rel=\"noopener\">#\u79d1\u7814\u4f5c\u56fe<\/a><a href=\"https:\/\/mp.weixin.qq.com\/mp\/appmsgalbum?__biz=Mzg3OTg3MjQyNg==&#038;action=getalbum&#038;album_id=3366226514446483462#wechat_redirect\" title=\"\u673a\u5668\u5b66\u4e60\" target=\"_blank\" rel=\"noopener\">#\u673a\u5668\u5b66\u4e60<\/a><\/p>\n<\/div>\n<p style=\"text-align: center;\" data-mpa-powered-by=\"yiban.io\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-imgfileid=\"100015224\" data-ratio=\"0.2222222222222222\" data-s=\"300,640\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2024-03-19_\u9707\u60ca\uff01\u7528PyTorch\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\u7adf\u7136\u5982\u6b64\u7b80\u5355\/1_r0Gd7iaumIGMiaia97aHFV15nrpdzw.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAxQW8Zek7Noib2uBhB3ZE3yMxI2Hfic7cGTdPYiacicg47jficdr5BVr0Gd7iaumIGMiaia97aHFV15nrpdzw\/640?wx_fmt=png&amp;from=appmsg'\" data-type=\"png\" data-w=\"900\" style=\"\"  \/><\/p>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-weight: bold;font-size: 16px;letter-spacing: 1px;\">\u524d\u8a00<\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-size: 16px;letter-spacing: 1px;\"><span style=\"font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-weight: normal;\">\u5c0f\u679c\u5728\u300a<\/span><\/span><span style=\"letter-spacing: 1px;font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;\">Sora\u6a21\u578b\u5df2\u7ecf\u8bde\u751f\u4e86\uff0c\u4f60\u8fd8\u4e0d\u4f1aPyTorch\u5417\uff1f\u6293\u7d27\u65f6\u95f4\u4e0a\u8f66\uff0c\u9a76\u5165\u673a\u5668\u5b66\u4e60\u7684\u5feb\u8f66\u9053<\/span><span style=\"font-size: 16px;letter-spacing: 1px;\"><span style=\"font-size: 16px;font-family: Calibri;font-variant: normal;text-transform: none;\">\u300b<\/span><span style=\"font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-weight: normal;\">\u4ecb\u7ecd\u4e86\u673a\u5668\u5b66\u4e60\u7684\u4e3b\u6d41\u6846\u67b6PyTorch\u53ca\u5176\u4f18\u52bf\uff0c\u5f15\u7528\u4e86\u4ee5\u5f80\u7684\u6570\u636e\u7edf\u8ba1\u8bf4\u660ePyTorch\u7684\u5e94\u7528\u8d8b\u52bf\u4e0a\u5347\uff0c\u6559\u4e86\u5927\u5bb6\u64cd\u4f5c\u5f20\u91cf\u7684\u65b9\u6cd5\uff0c\u4e0d\u77e5\u5927\u5bb6\u638c\u63e1\u5f97\u5982\u4f55\uff1f\u672c\u671f\u5c0f\u679c\u7ee7\u7eed\u5e26\u9886\u5927\u5bb6\u5b66\u4e60\u673a\u5668\u5b66\u4e60\u6846\u67b6PyTorch\uff0c\u8fd9\u6b21\u6211\u4eec\u8981\u52a8\u624b\u642d\u5efa\u4e00\u4e2a\u7b80\u5355\u7684<\/span><span style=\"font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;\">\u795e\u7ecf\u7f51\u7edc\u3002<\/span><\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-size: 16px;letter-spacing: 1px;\"><span style=\"font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;\">\u57281980\u5e74\u524d\u540e\uff0c\u673a\u5668\u5b66\u4e60\u5f00\u59cb\u5174\u8d77\uff0c\u5173\u4e8e\u673a\u5668\u5b66\u4e60\u7684\u7b97\u6cd5\u6709\u5f88\u591a\u79cd\uff0c\u6bd4\u5982\uff1a\u7ebf\u6027\u56de\u5f52\u3001\u903b\u8f91\u56de\u5f52\u3001\u652f\u6301\u5411\u91cf\u673a\u548c\u968f\u673a\u68ee\u6797\u7b49\uff0c\u4f46\u6b64\u65f6\u673a\u5668\u5b66\u4e60\u5e76\u6ca1\u6709\u771f\u6b63\u5730\u5e7f\u6cdb\u5e94\u7528\u5230\u4e0d\u540c\u884c\u4e1a\u3002\u76f4\u5230\u6709\u4e00\u79cd\u65b0\u7684\u7b97\u6cd5\u5e94\u8fd0\u800c\u751f\uff0c\u5e76\u968f\u7740\u786c\u4ef6\u7684\u53d1\u5c55\u800c\u5f00\u59cb\u5927\u663e\u795e\u901a\uff0c\u6539\u53d8\u4e86\u65f6\u4ee3\u3002\u8fd9\u79cd\u7b97\u6cd5\u5c31\u662f\u795e\u7ecf\u7f51\u7edc\uff0c\u662f\u673a\u5668\u5b66\u4e60\u7684\u91cd\u8981\u5206\u652f\uff0c\u4e5f\u662f\u5f53\u4ee3\u673a\u5668\u5b66\u4e60\u7b97\u6cd5\u4e2d\u6700\u6d41\u884c\u4e14\u6700\u5f3a\u5927\u7684\u7b97\u6cd5\u3002<\/span><\/span><span style=\"letter-spacing: 1px;font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;\">\u8fd1\u5e74\u6765\u706b\u7206\u7684ChatGPT\u539f\u7406\u7684\u6838\u5fc3\u6b63\u662f\u795e\u7ecf\u7f51\u7edc\u6a21\u578b\uff0c\u518d\u4e00\u6b21\u5411\u4e16\u4eba\u5c55\u73b0\u795e\u7ecf\u7f51\u7edc\u7684\u65e0\u9650\u6f5c\u529b\u3002\u795e\u7ecf\u7f51\u7edc\u5728\u751f\u7269\u4fe1\u606f\u9886\u57df\u6709\u7740\u5e7f\u9614\u7684\u5e94\u7528\u524d\u666f\uff0c\u6bd4\u5982\u751f\u7269\u533b\u5b66\u4e0a\uff0c\u53ef\u4ee5\u5c06\u795e\u7ecf\u7f51\u7edc\u7b97\u6cd5\u4e0e\u5b9e\u9a8c\u65b9\u6cd5\u76f8\u7ed3\u5408\uff0c\u80fd\u591f\u5927\u5e45\u63d0\u9ad8\u836f\u7269\u7ec4\u5408\u53d1\u73b0\u7684\u53ef\u80fd\u6027\u3002<\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-weight: normal;font-size: 16px;letter-spacing: 1px;\">\u5bf9\u6709\u5fd7\u4ece\u4e8b\u751f\u4fe1\u884c\u4e1a\u7684\u5c0f\u4f19\u4f34\u800c\u8a00\uff0c\u5b66\u4f1a\u719f\u7ec3\u4f7f\u7528PyTorch\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\uff0c\u53ef\u4ee5\u63d0\u9ad8\u79d1\u7814\u7684\u6548\u7387\uff0c\u6709\u52a9\u4e8e\u65e9\u65e5\u6210\u4e3a\u751f\u7269\u4fe1\u606f\u5b66\u4eba\u624d\u3002<\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;color: rgb(255, 0, 0);font-weight: bold;font-size: 16px;letter-spacing: 1px;\">\u672c\u6b21\u4ecb\u7ecd\u7684PyTorch\u8bad\u7ec3\u795e\u7ecf\u7f51\u7edc\u6a21\u578b\u7684\u8fc7\u7a0b\u6bd4\u8f83\u6d88\u8017\u65f6\u95f4\uff0c\u800c\u673a\u5668\u5b66\u4e60\u9886\u57df\u7684\u6570\u636e\u96c6\u5f80\u5f80\u975e\u5e38\u5e9e\u5927\uff0c\u4e5f\u4f1a\u589e\u52a0\u65f6\u95f4\u7684\u5f00\u9500\uff0c\u5bf9\u613f\u610f\u7814\u7a76\u673a\u5668\u5b66\u4e60\u7684\u751f\u4fe1\u5c0f\u4f19\u4f34\u6765\u8bf4\uff0c\u63a8\u8350\u4f7f\u7528\u670d\u52a1\u5668\u6548\u7387\u66f4\u9ad8\uff0c\u6b22\u8fce\u8054\u7cfb\u5c0f\u679c\u79df\u8d41\u6027\u4ef7\u6bd4\u5c45\u9ad8\u7684\u670d\u52a1\u5668\u54e6\uff01<\/span><\/section>\n<section style=\"font-size: 15px;padding-right: 2px;padding-left: 2px;margin-bottom: 0px;\">\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row;margin-top: 10px;margin-bottom: 10px;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 100%;vertical-align: top;align-self: flex-start;flex: 0 0 auto;height: auto;\">\n<section style=\"display: flex;width: 100%;flex-flow: column;\" powered-by=\"xiumi.us\">\n<section style=\"z-index: 1;transform: perspective(0px);transform-style: flat;\" powered-by=\"xiumi.us\">\n<section style=\"justify-content: center;display: flex;flex-flow: row;transform: translate3d(4px, 0px, 0px) rotateX(180deg);margin-bottom: -2px;\">\n<section style=\"display: inline-block;vertical-align: top;width: 50%;align-self: flex-start;flex: 0 0 auto;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 10px;height: 14px;vertical-align: top;overflow: hidden;background-color: rgb(91, 91, 91);border-style: solid;border-width: 2px;border-color: rgb(255, 255, 255);\">\n<section style=\"text-align: justify;\" powered-by=\"xiumi.us\">\n<p><br  \/><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: 50%;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 10px;height: 14px;vertical-align: top;overflow: hidden;background-color: rgb(91, 91, 91);border-style: solid;border-width: 2px;border-color: rgb(255, 255, 255);\">\n<section style=\"text-align: justify;\" powered-by=\"xiumi.us\">\n<p><br  \/><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 100%;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgb(194, 209, 255);\">\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row;margin-top: -4px;margin-bottom: 5px;transform: translate3d(5px, 0px, 0px);\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 100%;vertical-align: top;align-self: flex-start;flex: 0 0 auto;background-color: rgb(193, 209, 255);padding: 10px 20px;box-shadow: rgb(255, 255, 255) -2px 2px 0px;\">\n<section style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: middle;align-self: center;flex: 0 0 auto;width: 100%;height: auto;\">\n<section style=\"text-align: center;color: rgb(0, 0, 0);\" powered-by=\"xiumi.us\">\n<p><strong>\u516c\u4f17\u53f7\u540e\u53f0\u56de\u590d\u201c111\u201d<\/strong><\/p>\n<p><strong>\u9886\u53d6\u672c\u7bc7\u4ee3\u7801\u3001\u57fa\u56e0\u96c6\u6216\u793a\u4f8b\u6570\u636e\u7b49\u6587\u4ef6<\/strong><\/p>\n<p><strong>\u6587\u4ef6\u7f16\u53f7\uff1a24314<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p powered-by=\"xiumi.us\"><span style=\"color: rgb(171, 25, 66);\"><strong>\u9700\u8981\u79df\u8d41\u670d\u52a1\u5668\u7684\u5c0f\u4f19\u4f34\u53ef\u4ee5\u626b\u7801\u6dfb\u52a0\u5c0f\u679c\uff0c\u6b64\u5916\u5c0f\u679c\u8fd8\u63d0\u4f9b\u751f\u4fe1\u5206\u6790\uff0c\u601d\u8def\u8bbe\u8ba1\uff0c\u6587\u732e\u590d\u73b0\u7b49\uff0c\u6709\u9700\u8981\u7684\u5c0f\u4f19\u4f34\u6b22\u8fce\u6765\u64a9~<\/strong><\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-imgfileid=\"100017307\" data-ratio=\"1\" data-s=\"300,640\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2024-03-19_\u9707\u60ca\uff01\u7528PyTorch\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\u7adf\u7136\u5982\u6b64\u7b80\u5355\/2_f6PG40Qrdu5e9B1iaIMItPiajABYWA.jpg\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/zcicibWZessAxqaqPbQprPd4vw8Ytp0cprbzXiakMDdFriaB6B59ibhlBCrNyQFf6PG40Qrdu5e9B1iaIMItPiajABYWA\/640?wx_fmt=jpeg'\" data-type=\"jpeg\" data-w=\"430\" style=\"width: 170px;height: 170px;\"  \/><\/p>\n<p powered-by=\"xiumi.us\"><br  \/><\/p>\n<\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-weight: bold;font-size: 16px;letter-spacing: 1px;\">\u6b63\u6587<\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-weight: normal;font-size: 16px;letter-spacing: 1px;\">\u76f8\u4fe1\u5bf9\u795e\u7ecf\u7f51\u7edc\u6709\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u6216\u591a\u6216\u5c11\u4e86\u89e3\u8fc7\u5b83\u7684\u57fa\u672c\u6982\u5ff5\uff0c\u6211\u4eec\u76f4\u63a5\u6765\u5b66\u4e60\u642d\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u795e\u7ecf\u7f51\u7edc\u3002<\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-size: 16px;letter-spacing: 1px;\"><span style=\"font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-weight: normal;\">\u9996\u5148\uff0c\u5c0f\u679c\u5bfc\u5165csv\u6587\u4ef6\u5904\u7406\u6a21\u5757csv\u3001torch\u6846\u67b6\u7684\u5f20\u91cf\u51fd\u6570tensor\u548c\u795e\u7ecf\u7f51\u7edc\u6a21\u5757nn\u3001optim\u4f18\u5316\u5668\u6a21\u5757\u7684SGD\u7b97\u6cd5\u548cmatplotlib\u4e2d\u7684\u7ed8\u56fe\u6a21\u5757pyplot\u3002<\/span> &nbsp; &nbsp;<\/span><o:page><\/o:page><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;color: rgb(31, 78, 121);font-weight: normal;font-size: 16px;letter-spacing: 1px;\"><\/span><\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"python\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">import<\/span> csv<span class=\"code-snippet__comment\">#csv\u6587\u4ef6\u5904\u7406\u6a21\u5757<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">from<\/span> torch <span class=\"code-snippet__keyword\">import<\/span> tensor,nn<span class=\"code-snippet__comment\">#\u5206\u522b\u5bfc\u5165\u8f6c\u5316\u5f20\u91cf\u7684\u51fd\u6570\u548c\u795e\u7ecf\u7f51\u7edc\u6a21\u5757<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">from<\/span> torch.optim <span class=\"code-snippet__keyword\">import<\/span> SGD<span class=\"code-snippet__comment\">#\u5bfc\u5165optim\u4f18\u5316\u5668\u6a21\u5757\u7684SGD\u7b97\u6cd5<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">import<\/span> matplotlib.pyplot <span class=\"code-snippet__keyword\">as<\/span> plt<span class=\"code-snippet__comment\">#\u5bfc\u5165\u7ed8\u56fe\u6a21\u5757&nbsp;&nbsp;<\/span><\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-weight: normal;font-size: 16px;letter-spacing: 1px;\">\u63a5\u4e0b\u6765\uff0c\u5c0f\u679c\u5f15\u7528\u52a0\u5dde\u5927\u5b66\u6b27\u6587\u5206\u6821\uff08UCI\uff09\u4fe1\u606f\u4e0e\u8ba1\u7b97\u673a\u79d1\u5b66\u5b66\u9662\u63d0\u4f9b\u7684\u9c8d\u9c7c\u6570\u636e\u96c6\uff0c\u6570\u636e\u7684\u53d8\u91cf\u57fa\u672c\u60c5\u51b5\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u5c0f\u679c\u5c06\u9c8d\u9c7c\u7684\u6574\u4f53\u91cd\u91cf\u4f5c\u4e3a\u81ea\u53d8\u91cf\uff0c\u5c06\u98ce\u5e72\u540e\u7684\u5916\u58f3\u91cd\u91cf\u4f5c\u4e3a\u56e0\u53d8\u91cf\u3002<\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;font-size: 16px;letter-spacing: 1px;\"><img decoding=\"async\" loading=\"lazy\" class=\"rich_pages wxw-img\" data-imgfileid=\"100017304\" data-ratio=\"0.5722222222222222\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2024-03-19_\u9707\u60ca\uff01\u7528PyTorch\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\u7adf\u7136\u5982\u6b64\u7b80\u5355\/3_0NWcP701neIh9HUMFvedWgOaoMlSdw.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAxka5DuS5pwhr4So2EIZc3duzLW74gehmqwHibuu7yOeK4M90NWcP701neIh9HUMFvedWgOaoMlSdw\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"1080\" height=\"312.07000732421875\" width=\"545.1400146484375\"  \/><\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-weight: normal;font-size: 16px;letter-spacing: 1px;\">\u5c0f\u679c\u901a\u8fc7reader\u51fd\u6570\u8bfb\u53d6\u6570\u636e\u96c6\uff0c\u5e76\u5c06\u9c8d\u9c7c\u7684\u6574\u4f53\u91cd\u91cf\u548c\u98ce\u5e72\u540e\u7684\u58f3\u91cd\u5206\u522b\u4fdd\u5b58\u5728x_dataset\u548cy_dataset\u7684\u5217\u8868\uff0c\u6ce8\u610f\u8981\u5148\u5c06\u6570\u636e\u8f6c\u5316\u4e3a\u6d6e\u70b9\u578b\uff0c\u56e0\u4e3a\u5b57\u7b26\u4e32\u6570\u636e\u4e0d\u80fd\u76f4\u63a5\u8f6c\u5316\u4e3a\u5f20\u91cf\u3002\u63a5\u7740\uff0c\u518d\u7528tensor\u51fd\u6570\u5c06\u5217\u8868\u8f6c\u5316\u4e3a\u5f20\u91cf\u3002\u7531\u4e8e\u7ebf\u6027\u5c42\u7684\u8f93\u5165\u548c\u8f93\u51fa\u901a\u5e38\u81f3\u5c11\u662f\u4e8c\u9636\u5f20\u91cf\uff0c\u5c0f\u679c\u901a\u8fc7view\u65b9\u6cd5\u6539\u53d8\u4e3a\u4e8c\u9636\u7ef4\u5ea6\u662f1\u7684\u5f20\u91cf\uff0c\u5206\u522b\u4fdd\u7559\u5728x\u548cy\u4e2d\u3002<\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;color: rgb(31, 78, 121);font-size: 16px;letter-spacing: 1px;\"><\/span><\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"sql\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#1.\u6570\u636e\u96c6\u9884\u5904\u7406<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">x_dataset,y_dataset=[],[]    <\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">with<\/span> <span class=\"code-snippet__keyword\">open<\/span>(<span class=\"code-snippet__string\">'data\/abalone\/abalone.data'<\/span>, <span class=\"code-snippet__keyword\">newline<\/span>=<span class=\"code-snippet__string\">''<\/span>) <span class=\"code-snippet__keyword\">as<\/span> <span class=\"code-snippet__keyword\">file<\/span>:<\/span><\/code><code><span class=\"code-snippet_outer\">    dataset = csv.reader(<span class=\"code-snippet__keyword\">file<\/span>, delimiter=<span class=\"code-snippet__string\">','<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__keyword\">for<\/span> <span class=\"code-snippet__keyword\">row<\/span> <span class=\"code-snippet__keyword\">in<\/span> dataset:<\/span><\/code><code><span class=\"code-snippet_outer\">        x_dataset.append(<span class=\"code-snippet__built_in\">float<\/span>(<span class=\"code-snippet__keyword\">row<\/span>[<span class=\"code-snippet__number\">4<\/span>]))<\/span><\/code><code><span class=\"code-snippet_outer\">        y_dataset.append(<span class=\"code-snippet__built_in\">float<\/span>(<span class=\"code-snippet__keyword\">row<\/span>[<span class=\"code-snippet__number\">-2<\/span>]))<\/span><\/code><code><span class=\"code-snippet_outer\">           <\/span><\/code><code><span class=\"code-snippet_outer\">x=tensor(x_dataset).view(<span class=\"code-snippet__number\">-1<\/span>,<span class=\"code-snippet__number\">1<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">y=tensor(y_dataset).view(<span class=\"code-snippet__number\">-1<\/span>,<span class=\"code-snippet__number\">1<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;color: rgb(31, 78, 121);font-size: 16px;letter-spacing: 1px;\"><\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-size: 16px;letter-spacing: 1px;\">\u4e3a\u7b80\u5355\u8d77\u89c1\uff0c\u5c0f\u679c\u642d\u5efa\u4e86\u5355\u5c42\u795e\u7ecf\u7f51\u7edc\uff0c\u5b83\u53ea\u6709\u7ebf\u6027\u5c42\uff0c\u53ef\u4ee5\u901a\u8fc7nn\u6a21\u5757\u7684Linear\u7c7b\u5b9e\u73b0\u7684\uff0c\u5c0f\u679c\u5c06\u8f93\u5165\u548c\u8f93\u51fa\u90fd\u7f6e\u4e3a1\uff0c\u5728forward\u65b9\u6cd5\u91cc\u8c03\u7528\uff0c\u6ce8\u610f__init__\u65b9\u6cd5\u548cforword\u65b9\u6cd5\u4f1a\u5728\u795e\u7ecf\u7f51\u7edc\u5b9e\u4f8b\u5316\u540e\u88ab\u81ea\u52a8\u8c03\u7528\u3002<\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;color: rgb(31, 78, 121);font-size: 16px;letter-spacing: 1px;\"><\/span><\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"ruby\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#2.\u5b9a\u4e49\u6a21\u578b<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__class\"><span class=\"code-snippet__keyword\">class<\/span> <span class=\"code-snippet__title\">MyLinear<\/span>(<span class=\"code-snippet__title\">nn<\/span>.<span class=\"code-snippet__title\">Module<\/span>):<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">def<\/span> <span class=\"code-snippet__title\">__init__<\/span><span class=\"code-snippet__params\">(<span class=\"code-snippet__keyword\">self<\/span>)<\/span><\/span>:<\/span><\/code><code><span class=\"code-snippet_outer\">        <span class=\"code-snippet__keyword\">super<\/span>(MyLinear,<span class=\"code-snippet__keyword\">self<\/span>).__init_<span class=\"code-snippet__number\">_<\/span>()<\/span><\/code><code><span class=\"code-snippet_outer\">        <span class=\"code-snippet__keyword\">self<\/span>.linear=nn.Linear(<span class=\"code-snippet__number\">1<\/span>,<span class=\"code-snippet__number\">1<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">           <\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__function\"><span class=\"code-snippet__keyword\">def<\/span> <span class=\"code-snippet__title\">forward<\/span><span class=\"code-snippet__params\">(<span class=\"code-snippet__keyword\">self<\/span>,x)<\/span><\/span>:<\/span><\/code><code><span class=\"code-snippet_outer\">        out=<span class=\"code-snippet__keyword\">self<\/span>.linear(x)<\/span><\/code><code><span class=\"code-snippet_outer\">        <span class=\"code-snippet__keyword\">return<\/span> out<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;color: rgb(31, 78, 121);font-size: 16px;letter-spacing: 1px;\"><\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-size: 16px;letter-spacing: 1px;\">\u77a7\uff0c\u4e00\u4e2a\u5355\u5c42\u795e\u7ecf\u7f51\u7edc\u5c31\u642d\u5efa\u5b8c\u6210\u4e86\uff0c\u662f\u4e0d\u662f\u7279\u522b\u7b80\u5355\u5462\uff1f<\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-size: 16px;letter-spacing: 1px;\">\u642d\u5efa\u597d\u795e\u7ecf\u7f51\u7edc\u540e\uff0c\u5c0f\u679c\u5c06\u795e\u7ecf\u7f51\u7edc\u6a21\u578b\u3001\u4f18\u5316\u5668\u548c\u635f\u5931\u51fd\u6570\u5b9e\u4f8b\u5316\uff0c\u8fd9\u91ccSGD\u4f18\u5316\u5668\u7684\u53c2\u6570\u662f\u6743\u91cd\u3001\u504f\u7f6e\u548c\u5b66\u4e60\u7387\uff0c\u6743\u91cd\u548c\u504f\u7f6e\u901a\u8fc7parameters()\u65b9\u6cd5\u968f\u673a\u751f\u6210\uff0c\u5b66\u4e60\u7387lr\u8bbe\u7f6e\u4e3a0.001\uff0c\u635f\u5931\u51fd\u6570\u7684\u8ba1\u7b97\u65b9\u5f0f\u9009\u62e9\u4e86\u5747\u65b9\u8bef\u5deeMSE\u3002<\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;color: rgb(31, 78, 121);font-size: 16px;letter-spacing: 1px;\"><\/span><\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"ini\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#3.\u6a21\u578b\u3001\u4f18\u5316\u5668\u3001loss\u5b9e\u4f8b\u5316<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">my_linear<\/span>=MyLinear()<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">optimizer<\/span>=SGD(my_linear.parameters(),lr=<span class=\"code-snippet__number\">0.001<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">loss_fn<\/span>=nn.MSELoss(),<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;color: rgb(31, 78, 121);font-size: 16px;letter-spacing: 1px;\"><\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-size: 16px;letter-spacing: 1px;\"><span style=\"font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;\">\u5c0f\u679c\u7528\u968f\u673a\u68af\u5ea6\u4e0b\u964d\u6cd5\u5bf9\u795e\u7ecf\u7f51\u7edc\u8fdb\u884c\u8bad\u7ec3\uff0c\u6b21\u6570\u662f5000\u3002\u5728\u6bcf\u6b21\u8bad\u7ec3\u65f6\uff0c\u5c06x\u8f93\u5165\u795e\u7ecf\u7f51\u7edc\u8ba1\u7b97\u9884\u6d4b\u503c\uff0c\u518d\u5c06\u9884\u6d4b\u503c\u548cy\u8f93\u5165\u635f\u5931\u51fd\u6570\u8ba1\u7b97\u635f\u5931loss\uff0c\u5e76\u628a\u4f18\u5316\u5668\u68af\u5ea6\u7f6e\u4e3a0\uff0c\u8fdb\u884c\u53cd\u5411\u4f20\u64ad\u8ba1\u7b97\u5404\u53c2\u6570\u7684\u68af\u5ea6\uff0c\u6700\u540e\u66f4\u65b0\u4f18\u5316\u5668\u7684\u53c2\u6570\uff0c\u91cd\u590d\u8fed\u4ee3\u3002\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\uff0c\u6a21\u578b\u6bcf\u8bad\u7ec3100\u8f6e\uff0c\u8f93\u51fa\u5f53\u524d\u635f\u5931\u3001\u6743\u91cd\u548c\u504f\u7f6e\u3002<\/span> &nbsp; &nbsp;<\/span><o:page><\/o:page><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;color: rgb(31, 78, 121);font-size: 16px;letter-spacing: 1px;\"><\/span><\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"python\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#4.\u5faa\u73af\uff0c\u8fdb\u884c\u68af\u5ea6\u4e0b\u964d\uff0c\u66f4\u65b0\u53c2\u6570<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">for<\/span> i <span class=\"code-snippet__keyword\">in<\/span> range(<span class=\"code-snippet__number\">5000<\/span>):<\/span><\/code><code><span class=\"code-snippet_outer\">    y_predict=my_linear(x)<\/span><\/code><code><span class=\"code-snippet_outer\">    loss=loss_fn(y_predict,y)<\/span><\/code><code><span class=\"code-snippet_outer\">    optimizer.zero_grad()<span class=\"code-snippet__comment\">#\u68af\u5ea6\u7f6e\u4e3a0<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    loss.backward()<span class=\"code-snippet__comment\">#\u53cd\u5411\u4f20\u64ad<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    optimizer.step()<span class=\"code-snippet__comment\">#\u53c2\u6570\u66f4\u65b0<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__keyword\">if<\/span> i%<span class=\"code-snippet__number\">100<\/span>==<span class=\"code-snippet__number\">0<\/span>:<\/span><\/code><code><span class=\"code-snippet_outer\">        params=list(my_linear.parameters())<\/span><\/code><code><span class=\"code-snippet_outer\">        print(<span class=\"code-snippet__string\">f'loss=<span class=\"code-snippet__subst\">{loss.item()}<\/span> w\u3001b=<span class=\"code-snippet__subst\">{params[<span class=\"code-snippet__number\">0<\/span>].item(),params[<span class=\"code-snippet__number\">1<\/span>].item()}<\/span>'<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;color: rgb(31, 78, 121);font-size: 16px;letter-spacing: 1px;\"><\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: \u5b8b\u4f53;font-size: 16px;letter-spacing: 1px;\">\u8bad\u7ec3\u7ed3\u675f\u540e\uff0c\u6211\u4eec\u6765\u770b\u770b\u8bad\u7ec3\u795e\u7ecf\u7f51\u7edc\u4e2d\u7684\u90e8\u5206\u635f\u5931\u53d8\u5316\u60c5\u51b5\uff0c\u4e0d\u96be\u770b\u51fa\u635f\u5931\u8d8a\u6765\u8d8a\u5c0f\uff0c\u4e0b\u964d\u8d8b\u52bf\u5728\u9010\u6e10\u51cf\u7f13\uff0c\u8bf4\u660e\u6536\u655b\u901f\u5ea6\u5feb\uff0c\u8bad\u7ec3\u6548\u679c\u8fd8\u4e0d\u9519\u3002<\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;font-size: 16px;letter-spacing: 1px;\"><img decoding=\"async\" loading=\"lazy\" class=\"rich_pages wxw-img\" data-imgfileid=\"100017303\" data-ratio=\"0.4796839729119639\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2024-03-19_\u9707\u60ca\uff01\u7528PyTorch\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\u7adf\u7136\u5982\u6b64\u7b80\u5355\/4_Vq10abMZu4BTVxbWaoAzClct0QD7dQ.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAxka5DuS5pwhr4So2EIZc3dvf8ibgUhjvKFQSLPT2SAeer49Vq10abMZu4BTVxbWaoAzClct0QD7dQ\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"886\" height=\"265.47003173828125\" width=\"553.47998046875\"  \/><\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-size: 16px;letter-spacing: 1px;\">\u6211\u4eec\u518d\u6765\u770b\u770b\u8bad\u7ec3\u540e\u7684\u6a21\u578b\u5bf9\u6570\u636e\u7684\u62df\u5408\u7a0b\u5ea6\u3002<\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-size: 16px;letter-spacing: 1px;\"><span style=\"font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;\">\u5c0f\u679c\u7528pyplot\u6a21\u5757\u7ed8\u5236\u56fe\u8868\uff0c\u5148\u914d\u7f6e\u56fe\u8868\u7684\u5b57\u4f53\u548c\u5750\u6807\u8f74\uff0c\u7528title\u51fd\u6570\u8bbe\u7f6e\u6807\u9898\uff0c\u7528xlabel\u51fd\u6570\u548cylabel\u51fd\u6570\u5206\u522b\u8bbe\u7f6ex\u8f74\u548cy\u8f74\u7684\u540d\u79f0\uff0c\u7136\u540e\u7528scatter\u51fd\u6570\u548cplot\u51fd\u6570\u5206\u522b\u7ed8\u5236\u5b9e\u9645\u6570\u636e\u7684\u6563\u70b9\u56fe\u548c\u6a21\u578b\u9884\u6d4b\u6570\u636e\u7684\u6298\u7ebf\u56fe\uff0c\u6ce8\u610f\u8fd9\u4e24\u4e2a\u51fd\u6570\u7684\u8f93\u5165\u5fc5\u987b\u662f\u4e00\u9636numpy\u7c7b\u578b\uff0c\u8fd9\u91ccdetach\u51fd\u6570\u7528\u53bb\u9664\u5f20\u91cf\u7684\u68af\u5ea6\uff0c\u6700\u540e\u7528savefig\u51fd\u6570\u4fdd\u5b58\u56fe\u7247\uff0c\u901a\u8fc7show\u51fd\u6570\u5c55\u793a\u56fe\u7247\u3002<\/span> &nbsp; &nbsp;<\/span><o:page><\/o:page><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;color: rgb(31, 78, 121);font-size: 16px;letter-spacing: 1px;\"><\/span><\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"php\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#4.\u67e5\u770b\u6a21\u578b\u8bad\u7ec3\u7ed3\u679c<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">plt.rcParams[<span class=\"code-snippet__string\">'font.sans-serif'<\/span>]=[<span class=\"code-snippet__string\">'SimHei'<\/span>]<span class=\"code-snippet__comment\">#\u9ed1\u4f53\uff0c\u663e\u793a\u4e2d\u6587<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">plt.rcParams[<span class=\"code-snippet__string\">'axes.unicode_minus'<\/span>] = <span class=\"code-snippet__keyword\">False<\/span><span class=\"code-snippet__comment\">#\u8fd0\u884c\u914d\u7f6e\u53c2\u6570\u603b\u7684\u8f74\uff08axes\uff09\u6b63\u5e38\u663e\u793a\u6b63\u8d1f\u53f7<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">plt.title(<span class=\"code-snippet__string\">'\u7ebf\u6027\u56de\u5f52\u6a21\u578b'<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">plt.xlabel(<span class=\"code-snippet__string\">'\u6574\u4f53\u91cd\u91cf'<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">plt.ylabel(<span class=\"code-snippet__string\">'\u58f3\u91cd'<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">plt.scatter(x.numpy().reshape(<span class=\"code-snippet__number\">-1<\/span>),y.numpy().reshape(<span class=\"code-snippet__number\">-1<\/span>))<\/span><\/code><code><span class=\"code-snippet_outer\">plt.plot(x.numpy().reshape(<span class=\"code-snippet__number\">-1<\/span>),y_predict.detach().numpy().reshape(<span class=\"code-snippet__number\">-1<\/span>),c=<span class=\"code-snippet__string\">'r'<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">plt.savefig(<span class=\"code-snippet__string\">'output\/result.png'<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">plt.show()<\/span><\/code><\/pre>\n<\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;color: rgb(31, 78, 121);font-size: 16px;letter-spacing: 1px;\"><\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;font-size: 16px;letter-spacing: 1px;\"><img decoding=\"async\" loading=\"lazy\" class=\"rich_pages wxw-img\" data-imgfileid=\"100017305\" data-ratio=\"0.75\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2024-03-19_\u9707\u60ca\uff01\u7528PyTorch\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\u7adf\u7136\u5982\u6b64\u7b80\u5355\/5_KXjw4SwOmvNLdCn0ZlbIX5SN4JVJbQ.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAxka5DuS5pwhr4So2EIZc3dlG0soIEca1lpTCyHen78M1lbKXjw4SwOmvNLdCn0ZlbIX5SN4JVJbQ\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"640\" height=\"415.21002197265625\" width=\"553.6099853515625\"  \/><\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-size: 16px;letter-spacing: 1px;\"><span style=\"font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;\">\u600e\u4e48\u6837\uff1f\u662f\u4e0d\u662f\u5f88\u60ca\u8bb6\u5462\uff1f\u5355\u5c42\u795e\u7ecf\u7f51\u7edc\u8bad\u7ec3\u7684\u7ed3\u679c\u7adf\u7136\u80fd\u62df\u5408\u5b9e\u9645\u6570\u636e\u7684\u6574\u4f53\u8d8b\u52bf\uff01<\/span><span style=\"font-size: 16px;font-family: Calibri;font-variant: normal;text-transform: none;\">So easy\uff01<\/span><\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-size: 16px;letter-spacing: 1px;\"><span style=\"font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;\">\u8bad\u7ec3\u7ed3\u679c\u7a0d\u5dee\u7684\u5c0f\u4f19\u4f34\u4e0d\u5fc5\u7070\u5fc3\uff0c\u4f60\u53ef\u4ee5\u591a\u8fd0\u884c\u51e0\u6b21\uff0c\u6216\u8005\u589e\u52a0\u8bad\u7ec3\u6b21\u6570\uff0c\u76f8\u4fe1\u4f60\u4e5f\u80fd\u6700\u7ec8\u5f97\u5230\u4f60\u60f3\u8981\u7684\u6548\u679c\u3002\u8fd8\u6ca1\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\u7684\u5c0f\u4f19\u4f34\u8d76\u5feb\u52a8\u624b\u8bd5\u8bd5\u5427<\/span><span style=\"font-size: 16px;font-family: Calibri;font-variant: normal;text-transform: none;\">~<\/span> &nbsp; &nbsp;<\/span><o:page><\/o:page><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;color: rgb(255, 0, 0);font-weight: bold;letter-spacing: 1px;\">\u5982\u679c\u5404\u4f4d\u5c0f\u4f19\u4f34\u4eec\u89c9\u5f97\u81ea\u5df1\u8fd0\u884c\u673a\u5668\u5b66\u4e60\u7684\u4ee3\u7801\u592a\u9ebb\u70e6\uff0c\u90a3\u5c31\u5feb\u6765\u4f7f\u7528\u6211\u4eec\u7684\u4e91\u751f\u4fe1\u5c0f\u5de5\u5177\u5427\uff0c\u4f60\u53ef\u4ee5\u627e\u5230\u4f60\u60f3\u8981\u7684\u673a\u5668\u5b66\u4e60\u7b97\u6cd5\uff0c\u975e\u5e38\u65b9\u4fbf\uff0c\u8bb0\u4f4f\uff01\u8981\u4f7f\u7528\u6211\u4eec\u7684\u4e91\u751f\u4fe1\u94fe\u5440\uff01<\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-size: 16px;letter-spacing: 1px;\"><span style=\"font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;color: rgb(255, 0, 0);font-weight: bold;\">\u9644\u4e0a\u94fe\u63a5\uff1a<\/span><span style=\"font-size: 16px;font-family: Calibri;font-variant: normal;text-transform: none;color: rgb(255, 0, 0);font-weight: bold;text-decoration: none;\">http:\/\/www.biocloudservice.com\/home.html<\/span><\/span><\/section>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><span style=\"font-family: Calibri;font-variant: normal;text-transform: none;font-size: 16px;letter-spacing: 1px;\"> &nbsp;<\/span><\/section>\n<p style=\"text-indent: 0px;margin-bottom: 0px;\"><span style=\"color: rgb(0, 122, 170);\"><strong><span style=\"color: rgb(0, 122, 170);letter-spacing: 0.578px;text-indent: 32px;text-wrap: wrap;background-color: rgb(255, 255, 255);font-size: 15px;\">\u5c0f\u679c\u8fd8<span style=\"color: rgb(0, 122, 170);background-color: rgb(255, 255, 255);font-size: 15px;letter-spacing: 0.578px;text-decoration: none solid rgba(0, 0, 0, 0.9);\">\u63d0\u4f9b\u601d\u8def\u8bbe\u8ba1\u3001\u5b9a\u5236\u751f\u4fe1\u5206\u6790\u3001\u6587\u732e\u601d\u8def\u590d\u73b0\uff1b\u6709\u9700\u8981\u7684\u5c0f\u4f19\u4f34\u6b22\u8fce\u76f4\u63a5\u626b\u7801\u54a8\u8be2\u5c0f\u679c\uff0c\u7aed\u8bda\u4e3a\u60a8\u7684\u79d1\u7814\u52a9\u529b\uff01<\/span><\/span><\/strong><\/span><\/p>\n<p style=\"margin-bottom: 0px;\"><br  \/><\/p>\n<section style=\"font-size: 15px;padding-right: 2px;padding-left: 2px;margin-bottom: 0px;\">\n<section style=\"text-align: center;justify-content: center;display: flex;flex-flow: row;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 100%;vertical-align: top;flex: 0 0 auto;height: auto;border-color: rgb(114, 114, 114);border-width: 1px;border-style: solid;box-shadow: rgb(194, 209, 255) -5px 5px 0px;align-self: flex-start;\">\n<section style=\"justify-content: center;display: flex;flex-flow: row;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;width: 42.6829%;vertical-align: middle;box-shadow: rgb(43, 65, 110) 0px 0px 0px;flex: 0 0 auto;height: auto;padding-left: 10px;align-self: center;\">\n<section style=\"margin-top: 10px;margin-bottom: 10px;line-height: 0;transform: translate3d(20px, 0px, 0px);\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;width: 75%;height: auto;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100017308\" data-ratio=\"1\" data-s=\"300,640\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2024-03-19_\u9707\u60ca\uff01\u7528PyTorch\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\u7adf\u7136\u5982\u6b64\u7b80\u5355\/6_B2jkicacLzPjw4xMSqVvoucZjonVDA.jpg\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/zcicibWZessAxVYfSsM0wdf9d3RpNiaTcHohxPNEVs2VFhPMukpU8lchxrvcB2jkicacLzPjw4xMSqVvoucZjonVDA\/640?wx_fmt=jpeg&amp;from=appmsg'\" data-type=\"jpeg\" data-w=\"430\" style=\"vertical-align: middle;width: 100%;\"  \/><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: 56.9106%;flex: 0 0 auto;height: auto;align-self: center;\">\n<section style=\"line-height: 2;letter-spacing: 1px;color: rgb(43, 65, 110);\" powered-by=\"xiumi.us\">\n<p style=\"margin-bottom: 2px;\"><strong>\u5b9a\u5236\u751f\u4fe1\u5206\u6790<\/strong><\/p>\n<p style=\"margin-bottom: 2px;\"><strong>\u670d\u52a1\u5668\u79df\u8d41<\/strong><\/p>\n<p><strong>\u626b\u7801\u54a8\u8be2\u5c0f\u679c<\/strong><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p powered-by=\"xiumi.us\"><br  \/><\/p>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&amp;mid=2247497780&amp;idx=2&amp;sn=7eee90af6f387e4153bba13028e545a1&amp;chksm=cf7f68f1f808e1e7dfb3a0597ef442e5c6e700ecf6ee5a035c766a4c7486c12eabd0ab218ea6&amp;scene=21#wechat_redirect\" textvalue=\"\u4f60\u5df2\u9009\u4e2d\u4e86\u6dfb\u52a0\u94fe\u63a5\u7684\u5185\u5bb9\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"1\" rel=\"noopener\"><span class=\"js_jump_icon h5_image_link\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100017310\" data-ratio=\"0.3253333333333333\" data-s=\"300,640\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2024-03-19_\u9707\u60ca\uff01\u7528PyTorch\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\u7adf\u7136\u5982\u6b64\u7b80\u5355\/7_7TvAyUibd1TPhJmZfialJtv6tu2SEg.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAxVYfSsM0wdf9d3RpNiaTcHoj9xlsoyiaBvzaezDUFAicibMAF8ts7TvAyUibd1TPhJmZfialJtv6tu2SEg\/640?wx_fmt=png&amp;from=appmsg'\" data-type=\"png\" data-w=\"750\" style=\"vertical-align: middle;width: 100%;\"  \/><\/span><\/a><\/section>\n<\/section>\n<section style=\"text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;\" powered-by=\"xiumi.us\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;\"><img decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg\" data-imgfileid=\"100017309\" data-ratio=\"0.3811111111111111\" data-s=\"300,640\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2024-03-19_\u9707\u60ca\uff01\u7528PyTorch\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\u7adf\u7136\u5982\u6b64\u7b80\u5355\/8_9N02aBaau07RufXeXRLmvAHsrFZxtw.jpg\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/zcicibWZessAz5wg6Ne6sYkannSE9NiatkcPh3icbKanJagacjU6LqJrGAL29N02aBaau07RufXeXRLmvAHsrFZxtw\/640?wx_fmt=jpeg&amp;from=appmsg'\" data-type=\"jpeg\" data-w=\"900\" style=\"letter-spacing: 0.578px;text-align: center;text-wrap: wrap;\"  \/><\/section>\n<\/section>\n<section style=\"display: flex;flex-flow: row;margin-top: 10px;margin-right: 0%;margin-left: 0%;text-align: left;justify-content: flex-start;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: bottom;width: auto;min-width: 10%;flex: 0 0 auto;height: auto;align-self: flex-end;padding-right: 2px;padding-left: 2px;\">\n<section style=\"margin: 10px 0% 2px;transform: translate3d(2px, 0px, 0px);\" powered-by=\"xiumi.us\">\n<section style=\"font-size: 16px;color: rgb(58, 66, 94);line-height: 1;letter-spacing: 5px;text-align: center;\">\n<p><strong>\u5f80\u671f\u56de\u987e<\/strong><\/p>\n<\/section>\n<\/section>\n<section style=\"margin-right: 0%;margin-left: 0%;\" powered-by=\"xiumi.us\">\n<section style=\"height: 3px;background-color: rgb(95, 156, 239);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<section style=\"margin-top: 2px;margin-right: 0%;margin-left: 0%;text-align: center;line-height: 0.8;font-size: 9px;\" powered-by=\"xiumi.us\">\n<section style=\"width: 0px;display: inline-block;border-top: 0.8em solid rgb(58, 66, 94);border-left: 0.7em solid transparent !important;border-right: 0.7em solid transparent !important;\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: bottom;width: auto;flex: 100 100 0%;align-self: flex-end;height: auto;\">\n<section style=\"margin-right: 0%;margin-left: 0%;\" powered-by=\"xiumi.us\">\n<section style=\"height: 3px;background-color: rgb(95, 156, 239);\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<section style=\"margin-top: 2px;margin-right: 0%;margin-left: 0%;text-align: center;line-height: 0.8;font-size: 9px;\" powered-by=\"xiumi.us\">\n<section style=\"width: 0px;display: inline-block;border-top: 0.8em solid rgba(255, 255, 255, 0);border-left: 0.7em solid transparent !important;border-right: 0.7em solid transparent !important;\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"min-height: 40px;margin: 10px 0%;\" powered-by=\"xiumi.us\">\n<section style=\"width: 100%;margin-right: auto;margin-bottom: -10px;margin-left: auto;\">\n<table width=\"100%\">\n<tbody>\n<tr opera-tn-ra-comp=\"_$.pages:0.layers:0.comps:4.classicTable1:0\" powered-by=\"xiumi.us\">\n<td colspan=\"1\" rowspan=\"1\" opera-tn-ra-cell=\"_$.pages:0.layers:0.comps:4.classicTable1:0.td@@0\" style=\"border-color: rgb(62, 62, 62);border-style: none;padding: 0px;\" width=\"100.0000%\">\n<section>\n<section style=\"display: flex;flex-flow: row;margin-top: 10px;margin-right: 0%;margin-left: 0%;justify-content: flex-start;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;height: auto;flex: 0 0 auto;align-self: center;box-shadow: rgb(0, 0, 0) 0px 0px 0px;\">\n<section style=\"font-size: 19px;color: rgb(95, 156, 239);line-height: 1;\" powered-by=\"xiumi.us\">\n<p style=\"text-wrap: wrap;\"><strong>01<\/strong><\/p>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;flex: 100 100 0%;align-self: center;height: auto;\">\n<section style=\"color: rgb(140, 140, 140);\" powered-by=\"xiumi.us\">\n<p style=\"text-wrap: wrap;\"><span style=\"color: rgb(224, 224, 224);\">\uff5c<a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&amp;mid=2247497780&amp;idx=2&amp;sn=7eee90af6f387e4153bba13028e545a1&amp;chksm=cf7f68f1f808e1e7dfb3a0597ef442e5c6e700ecf6ee5a035c766a4c7486c12eabd0ab218ea6&amp;scene=21#wechat_redirect\" textvalue=\"1024G\u5b58\u50a8\u7684\u751f\u4fe1\u670d\u52a1\u5668\uff0c\u4e24\u4eba\u6210\u56e2\uff0c1\u4eba\u514d\u5355\uff01\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\">1024G\u5b58\u50a8\u7684\u751f\u4fe1\u670d\u52a1\u5668\uff0c\u4e24\u4eba\u6210\u56e2\uff0c1\u4eba\u514d\u5355\uff01<\/a><\/span><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"margin: 5px 0%;\" powered-by=\"xiumi.us\">\n<section style=\"background-color: rgb(224, 224, 224);height: 1px;\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<\/td>\n<\/tr>\n<tr opera-tn-ra-comp=\"_$.pages:0.layers:0.comps:4.classicTable1:1\" powered-by=\"xiumi.us\">\n<td colspan=\"1\" rowspan=\"1\" opera-tn-ra-cell=\"_$.pages:0.layers:0.comps:4.classicTable1:1.td@@0\" style=\"border-color: rgb(62, 62, 62);border-style: none;padding: 0px;\" width=\"100.0000%\">\n<section>\n<section style=\"display: flex;flex-flow: row;margin-top: 10px;margin-right: 0%;margin-left: 0%;justify-content: flex-start;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;height: auto;flex: 0 0 auto;align-self: center;\">\n<section style=\"font-size: 19px;color: rgb(95, 156, 239);line-height: 1;\" powered-by=\"xiumi.us\">\n<p style=\"text-wrap: wrap;\"><strong>02<\/strong><\/p>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;flex: 100 100 0%;align-self: center;height: auto;\">\n<section style=\"color: rgb(140, 140, 140);\" powered-by=\"xiumi.us\">\n<p style=\"text-wrap: wrap;\"><span style=\"color: rgb(224, 224, 224);\">\uff5c<a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&amp;mid=2247498878&amp;idx=1&amp;sn=fc34ed3f1d15d060bbaf8166adcebd58&amp;chksm=cf7f6cbbf808e5ad0b5417e50ed75cfbd1b3a83ac43b97f1dfa718c822878a9a004990075133&amp;scene=21#wechat_redirect\" textvalue=\"\u5355\u4e2a\u6570\u636e\u5e93\u7528\u817b\u4e86\uff1f\u591a\u6570\u636e\u5e93\u201c\u7ec4\u5408\u62f3\u201d\u5e26\u4f60\u6253\u5f00\u514d\u75ab\u6d78\u6da6\u65b0\u601d\u8def\uff01\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\">\u5355\u4e2a\u6570\u636e\u5e93\u7528\u817b\u4e86\uff1f\u591a\u6570\u636e\u5e93\u201c\u7ec4\u5408\u62f3\u201d\u5e26\u4f60\u6253\u5f00\u514d\u75ab\u6d78\u6da6\u65b0\u601d\u8def\uff01<\/a><\/span><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"margin: 5px 0%;\" powered-by=\"xiumi.us\">\n<section style=\"background-color: rgb(224, 224, 224);height: 1px;\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<\/td>\n<\/tr>\n<tr opera-tn-ra-comp=\"_$.pages:0.layers:0.comps:4.classicTable1:2\" powered-by=\"xiumi.us\">\n<td colspan=\"1\" rowspan=\"1\" opera-tn-ra-cell=\"_$.pages:0.layers:0.comps:4.classicTable1:2.td@@0\" style=\"border-color: rgb(62, 62, 62);border-style: none;padding: 0px;\" width=\"100.0000%\">\n<section>\n<section style=\"display: flex;flex-flow: row;margin-top: 10px;margin-right: 0%;margin-left: 0%;justify-content: flex-start;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;height: auto;flex: 0 0 auto;align-self: center;\">\n<section style=\"font-size: 19px;color: rgb(95, 156, 239);line-height: 1;\" powered-by=\"xiumi.us\">\n<p style=\"text-wrap: wrap;\"><strong>03<\/strong><\/p>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;flex: 100 100 0%;align-self: center;height: auto;\">\n<section style=\"color: rgb(140, 140, 140);\" powered-by=\"xiumi.us\">\n<p style=\"text-wrap: wrap;\"><span style=\"color: rgb(224, 224, 224);\">\uff5c<a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&amp;mid=2247498673&amp;idx=1&amp;sn=1e09b74a836c1e64a62ae1f66eeb3f93&amp;chksm=cf7f6b74f808e262de70be43fd73bf5fefdc0914e525eb2032f741a0152e619689cedc76946f&amp;scene=21#wechat_redirect\" textvalue=\"\u5b5f\u5fb7\u5c14\u968f\u673a\u5316\u7684\u51c6\u5907\u5de5\u4f5c\uff0cGWAS\u6570\u636e\u7684\u7f51\u7ad9\u4e0b\u8f7d\u65b9\u6cd5\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"11\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\">\u5b5f\u5fb7\u5c14\u968f\u673a\u5316\u7684\u51c6\u5907\u5de5\u4f5c\uff0cGWAS\u6570\u636e\u7684\u7f51\u7ad9\u4e0b\u8f7d\u65b9\u6cd5<\/a><\/span><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"margin: 5px 0%;\" powered-by=\"xiumi.us\">\n<section style=\"background-color: rgb(224, 224, 224);height: 1px;\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<\/td>\n<\/tr>\n<tr opera-tn-ra-comp=\"_$.pages:0.layers:0.comps:4.classicTable1:3\" powered-by=\"xiumi.us\">\n<td colspan=\"1\" rowspan=\"1\" opera-tn-ra-cell=\"_$.pages:0.layers:0.comps:4.classicTable1:3.td@@0\" style=\"border-color: rgb(62, 62, 62);border-style: none;padding: 0px;\" width=\"100.0000%\">\n<section>\n<section style=\"display: flex;flex-flow: row;margin-top: 10px;margin-right: 0%;margin-left: 0%;justify-content: flex-start;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;vertical-align: middle;width: auto;min-width: 10%;height: auto;flex: 0 0 auto;align-self: center;\">\n<section style=\"font-size: 19px;color: rgb(95, 156, 239);line-height: 1;\" powered-by=\"xiumi.us\">\n<p style=\"text-wrap: wrap;\"><strong>04<\/strong><\/p>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: middle;width: auto;flex: 100 100 0%;align-self: center;height: auto;\">\n<section style=\"color: rgb(140, 140, 140);\" powered-by=\"xiumi.us\">\n<p style=\"text-wrap: wrap;\"><span style=\"color: rgb(224, 224, 224);\">\uff5c<a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&amp;mid=2247498517&amp;idx=1&amp;sn=fa3c0104cee316982fe8162b79fe234f&amp;chksm=cf7f6bd0f808e2c6cf979704bf883cfb5480444604f90da61dc286e7541fa5bb49df0a2fb58a&amp;scene=21#wechat_redirect\" textvalue=\"\u8ddf\u7740\u5c0f\u679c\u5b66\u590d\u73b0-\u624b\u628a\u624b\u5e26\u4f60\u62ff\u4e0bIF=46.9Nature \u7ea7\u522b\u7684\u4e3b\u6210\u5206\u5206\u6790\uff08PCA\uff09\u56fe\uff01\uff01\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\">\u8ddf\u7740\u5c0f\u679c\u5b66\u590d\u73b0-\u624b\u628a\u624b\u5e26\u4f60\u62ff\u4e0bIF=46.9Nature \u7ea7\u522b\u7684\u4e3b\u6210\u5206\u5206\u6790\uff08PCA\uff09\u56fe\uff01\uff01<\/a><\/span><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"margin: 5px 0%;\" powered-by=\"xiumi.us\">\n<section style=\"background-color: rgb(224, 224, 224);height: 1px;\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<\/section>\n<\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"text-align: center;margin-bottom: 0px;\"><span style=\"text-align: justify;font-family: Calibri;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size: 16px;letter-spacing: 1px;\">&nbsp; &nbsp; &nbsp; &nbsp;<o:p>&nbsp;<\/o:p><\/span><span style=\"text-align: justify;font-size: 16px;letter-spacing: 1px;\">&nbsp; &nbsp;&nbsp;<\/span><br  \/><\/p>\n<section style=\"text-align: justify;margin-top: 8px;margin-bottom: 24px;line-height: 1.6em;\"><o:page><\/o:page><\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<p><\/content>\n<\/div>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9707\u60ca\uff01\u7528PyTorch\u642d\u5efa\u795e\u7ecf\u7f51\u7edc\u7adf\u7136\u5982\u6b64\u7b80\u5355 \u5c0f\u679c&nbsp;&nbsp;\u751f\u4fe1\u679c&nbsp;&nbsp;20 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/57662"}],"collection":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=57662"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/57662\/revisions"}],"predecessor-version":[{"id":57663,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/57662\/revisions\/57663"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=57662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=57662"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=57662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}