{"id":55683,"date":"2024-06-16T17:08:07","date_gmt":"2024-06-16T09:08:07","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=55683"},"modified":"2024-06-16T17:08:07","modified_gmt":"2024-06-16T09:08:07","slug":"sora%e6%a8%a1%e5%9e%8b%e5%b7%b2%e7%bb%8f%e8%af%9e%e7%94%9f%e4%ba%86%ef%bc%8c%e4%bd%a0%e8%bf%98%e4%b8%8d%e4%bc%9apytorch%e5%90%97%ef%bc%9f%e6%8a%93%e7%b4%a7%e6%97%b6%e9%97%b4%e4%b8%8a%e8%bd%a6%ef%bc%8c","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=55683","title":{"rendered":"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"},"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\":\"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\",\"time\":\"2024-03-13 19:00:44\",\"timeStamp\":\"1710327644\"};\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=2247500938&#038;idx=1&#038;sn=6d48aa0b2486bbdd62e1a21ed4ae21a3&#038;chksm=cf7f544ff808dd59fc10fb42eb4809c4b2c63b67f26622219bdff276bae89cbe0802105f4f57#rd\" target=\"_blank\" rel=\"noopener\">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<\/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-13 19:00:44<\/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=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=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/1_r0Gd7iaumIGMiaia97aHFV15nrpdzw-113.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-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-weight: normal;font-size: 16px;letter-spacing: 1px;\">\u54c8\u55bd\uff0c\u5927\u5bb6\u597d\uff0c\u5c0f\u679c\u4eca\u5929\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u7684\u662f\u673a\u5668\u5b66\u4e60\u6df1\u53d7\u6b22\u8fce\u7684\u4e3b\u6d41\u6846\u67b6\u2014\u2014PyTorch\uff0c\u5b83\u662f<\/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;\">\u662fTorch\u7684Python\u7248\u672c,\u662f\u7531Facebook\u5f00\u6e90\u6846\u67b6\u3002\u6700\u8fd1\uff0cSora\u6a21\u578b\u7684\u8bde\u751f\u5f15\u8d77\u5168\u7403\u9ad8\u5ea6\u5173\u6ce8\uff0c\u5b83\u901a\u8fc7\u6587\u672c\u751f\u6210\u89c6\u9891\u6a21\u62df\u4e16\u754c\u7684\u80fd\u529b\u4ee4\u4eba\u6298\u670d\uff0c\u867d\u7136\u76ee\u524d\u5c1a\u672a\u5f00\u6e90\uff0c\u4f46\u5df2\u7ecf\u6709\u4e0d\u5c11\u4eba\u5c1d\u8bd5\u590d\u73b0\u5e76\u5f00\u6e90\u9879\u76ee\uff0c\u6bd4\u5982OpenDiT\u548cLatte\uff0c\u5b83\u4eec\u6b63\u662f\u901a\u8fc7PyTorch\u6846\u67b6\u5b8c\u6210\u7684\u3002PyTorch\u6df1\u53d7\u6b22\u8fce\u7684\u539f\u56e0\u6709\u5f88\u591a\uff1a\u5b83\u8bed\u6cd5\u7b80\u5355\u6613\u4e0a\u624b\uff0c\u9002\u5408\u673a\u5668\u5b66\u4e60\u521d\u5b66\u8005\uff1b\u5b83\u517c\u5bb9\u6027\u597d\uff0c\u4e0eTensorFlow\u673a\u5668\u5b66\u4e60\u6846\u67b6\u73af\u5883\u914d\u7f6e\u4e0d\u517c\u5bb9\u5f62\u6210\u9c9c\u660e\u5bf9\u6bd4\uff1b\u5b83\u7684API\u8bbe\u8ba1\u7075\u6d3b\u5353\u8d8a\uff0c\u4e0d\u9700\u8981\u50cfTensorFlow \u9700\u8981\u901a\u8fc7\u591a\u6b21\u5207\u6362 API\uff1b<\/span><span style=\"font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;\">\u5b83\u6613\u4e8e\u8fc1\u79fb\uff0c\u652f\u6301\u5728CPU\u548cGPU\u4e0a\u8fdb\u884c\u8bad\u7ec3\u548c\u9884\u6d4b\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u8fc1\u79fb\u5230\u4e0d\u540c\u7684\u5e73\u53f0\u4e0a<\/span><span style=\"font-size: 16px;font-family: Calibri;font-variant: normal;text-transform: none;\">&#8230;&#8230;<\/span><span style=\"font-size: 16px;font-family: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-weight: normal;\">\u5728\u673a\u5668\u5b66\u4e60\u9886\u57df\uff0cPytorch\u5c06\u8bb8\u591a\u6570\u5b66\u51fd\u6570\u548c\u795e\u7ecf\u7f51\u7edc\u7ed3\u6784\u8fdb\u884c\u5c01\u88c5\uff0c\u4f60\u65e0\u9700\u56e0\u4e3a\u6570\u5b66\u4e0d\u597d\u800c\u6b62\u6b65\u4e0d\u524d\u3002\u53ef\u4ee5\u8bf4\uff0c\u53ea\u8981\u4f60\u719f\u7ec3\u9a7e\u9a6d\u4e86PyTorch\uff0c\u5c31\u76f8\u5f53\u4e8e\u9a76\u5165\u4e86\u673a\u5668\u5b66\u4e60\u7684\u5feb\u8f66\u9053\u3002<\/span><\/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\u7684\u673a\u5668\u5b66\u4e60\u5de5\u5177\u5305\u64cd\u4f5c\u6bd4\u8f83\u5360\u7528\u5185\u5b58\uff0c\u800c\u673a\u5668\u5b66\u4e60\u9886\u57df\u7684\u6570\u636e\u96c6\u901a\u5e38\u975e\u5e38\u5e9e\u5927\uff0c\u5bf9\u6709\u610f\u7814\u7a76\u673a\u5668\u5b66\u4e60\u7684\u5c0f\u4f19\u4f34\u6765\u8bf4\uff0c\u63a8\u8350\u4f7f\u7528\u670d\u52a1\u5668\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\uff1a240312<\/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=\"100017284\" data-ratio=\"1\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/2_f6PG40Qrdu5e9B1iaIMItPiajABYWA-49.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;\"  \/><span style=\"font-family: Calibri;font-size: 16px;letter-spacing: 1px;text-align: justify;\">&nbsp;<\/span><\/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: bold;font-size: 16px;letter-spacing: 1px;\">\u6570\u636e\u7edf\u8ba1<\/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;\">\u6700\u8fd1\uff0c\u5c0f\u679c\u627e\u5230\u4e862019-2022\u5e74\u7684\u673a\u5668\u5b66\u4e60\u4e3b\u6d41\u6846\u67b6\u7684\u7edf\u8ba1\u6570\u636e\uff0c\u53d1\u73b0Pytorch\u7684\u4f7f\u7528\u4f4d\u5c45\u699c\u9996\uff0c\u8fd1\u5e74\u6765\u7684\u8d8b\u52bf\u4ecd\u5728\u4e0d\u65ad\u4e0a\u5347\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-size: 16px;letter-spacing: 1px;\">2019\u5e74\uff0cHorace He\u5bf9\u673a\u5668\u5b66\u4e60\u4e24\u5927\u6846\u67b6PyTorch\u548cTensorFlow\u5728\u5b66\u672f\u754c\u7684\u4f7f\u7528\u60c5\u51b5\u8fdb\u884c\u6570\u636e\u7edf\u8ba1\u3002\u7ed3\u679c\u8868\u660e\uff0c\u81ea2019\u5e74\u8d77\uff0cPyTorch\u7684\u8bba\u6587\u6570\u91cf\u6fc0\u589e\uff0c\u51e0\u4e4e\u5728\u9876\u4f1a\u7529\u5f00TensorFlow\u4e00\u5927\u622a\uff01<\/span><span style=\"font-size: 16px;letter-spacing: 1px;\">&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;font-size: 16px;letter-spacing: 1px;\"><img decoding=\"async\" loading=\"lazy\" class=\"rich_pages wxw-img\" data-imgfileid=\"100017280\" data-ratio=\"0.6583333333333333\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/3_A4rPQphjODfSJU9CP34CdqaibIqCvg.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAxqVf2ibW1WFcWTYrBZnTt4mpRkxZukOGzqQ9X6QicZNTnx9huA4rPQphjODfSJU9CP34CdqaibIqCvg\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"1080\" height=\"337.5400085449219\" width=\"512.8699951171875\"  \/><\/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;\">2021\u5e74\uff0cEniola Olaleye\u7edf\u8ba1\u4e8616\u4e2a\u5e73\u53f0\u7684\u7ade\u8d5b\u6570\u636e\u3002\u6839\u636e\u8c03\u67e5\uff0c\u51a0\u519b\u4e2d\u6709\u8fd1\u516b\u6210\u4f7f\u7528\u7684\u673a\u5668\u5b66\u4e60\u6846\u67b6\u662fPyTorch\uff0c\u53ea\u6709\u8d85\u8fc7\u4e24\u6210\u7684\u4eba\u4f7f\u7528TensorFlow\uff0c\u8fd9\u8bf4\u660e\u4e86PyTorch\u7684\u53d7\u4f17\u5ea6\u786e\u5b9e\u8fdc\u9ad8\u4e8eTensorFlow\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=\"100017282\" data-ratio=\"0.5570469798657718\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/4_kdLsgW8nDics3w0ec8HsCnNPHRmd3A.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAxqVf2ibW1WFcWTYrBZnTt4mq7aP9hn9iaQevOANq1dYYjoO2rkdLsgW8nDics3w0ec8HsCnNPHRmd3A\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"1043\" height=\"270.94000244140625\" width=\"486.27001953125\"  \/><\/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;\">2023\u5e74\uff0c\u673a\u5668\u5b66\u4e60\u5e73\u53f0ML Contests\u7edf\u8ba1\u4e862022\u5e74\u7684\u7ade\u8d5b\u6570\u636e\uff0c\u53d1\u73b0Python\u662f\u51a0\u519b\u7684\u9996\u9009\u8bed\u8a00\uff0c\u5360\u6bd4\u8d85\u8fc7\u4e5d\u6210\uff0c\u5176\u4e2dPyTorch\u7684\u6bd4\u4f8b\u4ece2020\u52302022\u5e74\u7a33\u5b9a\u589e\u957f\uff0c\u5728\u540e\u4e24\u5e74\u663e\u8457\u4e0a\u5347\uff1a\u4f7f\u7528PyTorch\u7684\u6bd4\u4f8b\u4ece\u8fd1\u516b\u6210\u589e\u52a0\u5230\u8d85\u8fc7\u4e5d\u6210\u4e86\uff0c\u800cTensorFlow\u53ea\u5269\u4e0d\u5230\u4e00\u6210\uff0c\u8fd9\u518d\u6b21\u8bc1\u660ePyTorch\u5728\u673a\u5668\u5b66\u4e60\u7684\u4e3b\u5bfc\u5730\u4f4d\u4e0d\u53ef\u64bc\u52a8\u3002<\/span><span style=\"font-size: 16px;letter-spacing: 1px;\">&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;font-size: 16px;letter-spacing: 1px;\"><img decoding=\"async\" loading=\"lazy\" class=\"rich_pages wxw-img\" data-imgfileid=\"100017278\" data-ratio=\"1.127147766323024\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/5_Q2dgNKJgWfXK1iaKXyaQMFFJb1ia5A.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAxqVf2ibW1WFcWTYrBZnTt4mHlYCZd3CFo8fvD3ibygyjuw7Og7Q2dgNKJgWfXK1iaKXyaQMFFJb1ia5A\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"582\" height=\"414.8699951171875\" width=\"368.0700378417969\"  \/><\/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;\"><img decoding=\"async\" loading=\"lazy\" data-imgfileid=\"100017279\" data-ratio=\"0.5783132530120482\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/6_PUvRiajMpJMIsIrHFFicHLSpGyKKkw.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAxqVf2ibW1WFcWTYrBZnTt4mib2CnrGPflN8jOWgIL5gnXFfoOEPUvRiajMpJMIsIrHFFicHLSpGyKKkw\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"1079\" height=\"296.739990234375\" width=\"513.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-size: 16px;letter-spacing: 1px;\">\u770b\u5230\u8fd9\u91cc\uff0c\u4e0d\u7528\u5c0f\u679c\u8bf4\uff0c\u4f60\u4e5f\u5fc3\u91cc\u6e05\u695a\u673a\u5668\u5b66\u4e60\u5e94\u8be5\u7528\u54ea\u4e2a\u6846\u67b6\u4e86\u5427~<\/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: bold;font-size: 16px;letter-spacing: 1px;\">\u5feb\u901f\u5165\u95e8<\/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;\">\u4e0b\u9762\u5c0f\u679c\u8981\u6559\u4f60\u4eec\u52a8\u624b\u5b9e\u64cd\u4e86\u54e6~<\/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: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-weight: normal;font-size: 16px;letter-spacing: 1px;\">\u5f20\u91cf\u662f\u673a\u5668\u5b66\u4e60\u57fa\u672c\u7684\u6570\u636e\u7ed3\u6784\uff0c\u56e0\u6b64\u9996\u5148\u8981\u5b66\u4f1a\u64cd\u4f5c\u5f20\u91cf\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;\">\u5c0f\u679c\u5bfc\u5165\u4e86\u673a\u5668\u5b66\u4e60\u6846\u67b6torch\u548c\u79d1\u5b66\u8ba1\u7b97\u5e93numpy\uff0c\u4f7f\u7528tensor\u51fd\u6570\u521b\u5efa\u4e00\u9636\u5f20\u91cf\uff0c\u53c2\u6570dtype\u53ef\u4ee5\u6307\u5b9atorch\u6570\u636e\u7c7b\u578b\uff0c\u4f7f\u7528size\u65b9\u6cd5\u83b7\u53d6\u8be5\u5f20\u91cf\u7684\u9636\u5bf9\u5e94\u7684\u7ef4\u5ea6\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<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"go\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">import<\/span> torch#\u5bfc\u5165\u673a\u5668\u5b66\u4e60\u6846\u67b6<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">import<\/span> numpy as np#\u5bfc\u5165\u79d1\u5b66\u8ba1\u7b97\u5e93<\/span><\/code><code><span class=\"code-snippet_outer\">           <\/span><\/code><code><span class=\"code-snippet_outer\">t0=torch.tensor([<span class=\"code-snippet__number\">1<\/span>,<span class=\"code-snippet__number\">2<\/span>,<span class=\"code-snippet__number\">3<\/span>],dtype=torch.<span class=\"code-snippet__keyword\">int8<\/span>)#\u53ef\u9009<span class=\"code-snippet__keyword\">int16<\/span>,<span class=\"code-snippet__keyword\">int32<\/span>,<span class=\"code-snippet__keyword\">int64<\/span>,<span class=\"code-snippet__keyword\">float32<\/span>,float16,<span class=\"code-snippet__keyword\">float64<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__built_in\">print<\/span>(t0)<\/span><\/code><code><span class=\"code-snippet_outer\">#\u8f93\u51fa\uff1atensor([<span class=\"code-snippet__number\">1<\/span>, <span class=\"code-snippet__number\">2<\/span>, <span class=\"code-snippet__number\">3<\/span>], dtype=torch.<span class=\"code-snippet__keyword\">int8<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__built_in\">print<\/span>(t0.size())<\/span><\/code><code><span class=\"code-snippet_outer\">#\u8f93\u51fa\uff1atorch.Size([<span class=\"code-snippet__number\">3<\/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;\">\u5c0f\u679c\u4f7f\u7528arange\u51fd\u6570\u751f\u6210\u5305\u542b\u8fde\u7eed\u6574\u6570\u7684\u6570\u7ec4\uff0c\u901a\u8fc7reshape\u65b9\u6cd5\u4fee\u6539\u5f62\u72b6\uff0c\u4f7f\u7528tensor\u51fd\u6570\u8f6c\u5316\u4e3atorch\u6570\u636e\u7c7b\u578b\uff0c\u5e76\u4fdd\u5b58\u5230\u53d8\u91cft1\uff0c\u901a\u8fc7size\u65b9\u6cd5\u89c2\u5bdf\u8f93\u51fa\u4e0d\u96be\u53d1\u73b0torch\u7684\u9636\u6570\u662f\u7531\u5916\u5411\u5185\u7b97\u8d77\uff0c\u6bcf\u4e00\u9636\u7684\u7ef4\u5ea6\u5c31\u662f\u4ece\u8be5\u9636\u7684\u65b9\u5411\u4e0a\u770b\u7684\u4e00\u7ec4\u5143\u7d20\u7684\u6570\u91cf\uff0c\u662f\u4e0d\u662f\u6709\u70b9\u96be\u7406\u89e3\uff1f\u5c0f\u679c\u753b\u4e2a\u56fe\u7ed9\u4f60\u770b\u770b\uff0c\u4f60\u5c31\u660e\u767d\u4e86\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<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\">array1=np.arange(<span class=\"code-snippet__number\">12<\/span>).reshape(<span class=\"code-snippet__number\">4<\/span>,<span class=\"code-snippet__number\">3<\/span>)<span class=\"code-snippet__comment\">#arange\u751f\u6210\u8fde\u7eed\u6574\u6570\u7684numpy.ndarray\uff0creshape\u4fee\u6539\u5f62\u72b6<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">print(array1)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">'''\u8f93\u51fa\uff1a<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    [[ 0   1   2]<\/span><\/code><code><span class=\"code-snippet_outer\">     [ 3   4   5]<\/span><\/code><code><span class=\"code-snippet_outer\">     [ 6   7   8]<\/span><\/code><code><span class=\"code-snippet_outer\">     [ 9   10  11]]<\/span><\/code><code><span class=\"code-snippet_outer\">'''<\/span><\/code><code><span class=\"code-snippet_outer\">t1=torch.tensor(array1,dtype=torch.float64)<\/span><\/code><code><span class=\"code-snippet_outer\">print(t1)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">'''\u8f93\u51fa\uff1atensor([[ 0.,   1.,   2.],    <\/span><\/span><\/code><code><span class=\"code-snippet_outer\">              [ 3.,   4.,   5.],<\/span><\/code><code><span class=\"code-snippet_outer\">              [ 6.,   7.,   8.],<\/span><\/code><code><span class=\"code-snippet_outer\">              [ 9.,   10.,  11.]], dtype=torch.float64)<\/span><\/code><code><span class=\"code-snippet_outer\">'''<\/span><\/code><code><span class=\"code-snippet_outer\">print(t1.size())<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u8f93\u51fa\uff1atorch.Size([4, 3])<\/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;\">\u5c0f\u679c\u7528\u84dd\u8272\u7bad\u5934\u4ee3\u8868\u4e00\u9636\u65b9\u5411\uff0c\u7ea2\u8272\u7bad\u5934\u4ee3\u8868\u4e8c\u7ea7\u65b9\u5411\uff0c\u84dd\u8272\u8fb9\u6846\u4ee3\u8868\u7684\u662f\u4e00\u9636\u7684\u6bcf\u4e00\u7ec4\u5143\u7d20\uff0c\u7ea2\u8272\u8fb9\u6846\u4ee3\u8868\u7684\u662f\u4e00\u9636\u7684\u6bcf\u4e00\u7ec4\u5143\u7d20\u3002\u663e\u7136\u4e00\u9636\u7684\u6bcf\u4e00\u7ec4\u5143\u7d20\u7684\u6570\u91cf\u4e3a3\uff0c\u4e8c\u9636\u7684\u6bcf\u4e00\u7ec4\u5143\u7d20\u7684\u6570\u91cf\u4e3a4\uff0c\u6545\u4e00\u9636\u7684\u7ef4\u5ea6\u662f4\uff0c\u4e8c\u9636\u7684\u7ef4\u5ea6\u662f3\uff0c\u4f60\u660e\u767d\u4e86\u5417\uff1f<\/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=\"100017281\" data-ratio=\"0.5625\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/7_WUOAiasMutNfpKbkBav44nwGsYz4Aw.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAxqVf2ibW1WFcWTYrBZnTt4mqlibzLsbHibTYt1FaoH5pVibJjpJWUOAiasMutNfpKbkBav44nwGsYz4Aw\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"960\" height=\"311.4000244140625\" width=\"553.6099853515625\"  \/><\/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;\">\u5bf9\u4e8c\u9636\u5f20\u91cf\u6765\u8bf4\uff0c\u6709\u4e24\u79cd\u65b9\u6cd5\u5b9e\u73b0\u8f6c\u7f6e\uff0c\u4e00\u79cd\u662f\u901a\u8fc7transpose\u6307\u5b9a\u4e24\u4e2a\u9636\u6570\u7684\u4e0b\u6807\u8fdb\u884c\u4ea4\u6362\uff0c\u6ce8\u610f\u9636\u6570\u7684\u4e0b\u6807\u4ece0\u5f00\u59cb\u7b97\u8d77\uff0c\u53e6\u4e00\u79cd\u662f\u901a\u8fc7T\u65b9\u6cd5\u5b9e\u73b0\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u53c2\u6570\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<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"python\"><code><span class=\"code-snippet_outer\">print(t1.transpose(<span class=\"code-snippet__number\">1<\/span>,<span class=\"code-snippet__number\">0<\/span>))<span class=\"code-snippet__comment\">#\u7b49\u4ef7T<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">'''\u8f93\u51fa\uff1atensor([[ 0.,  3.,  6.,  9.],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">              [ 1.,  4.,  7., 10.],<\/span><\/code><code><span class=\"code-snippet_outer\">              [ 2.,  5.,  8., 11.]], dtype=torch.float64)<\/span><\/code><code><span class=\"code-snippet_outer\">'''<\/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-weight: normal;font-size: 16px;letter-spacing: 1px;\">\u5b9e\u9645\u4e0a\uff0c\u521b\u5efa\u5f20\u91cf\u7684\u65b9\u5f0f\u4e0d\u53ea\u7528tensor\u51fd\u6570\uff0c\u8fd8\u6709\u5f88\u591a\u79cd\uff0c\u5c0f\u679c\u7ed9\u4f60\u5217\u4e3e\u4e00\u4e9b~<\/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;\">empty\u51fd\u6570\u80fd\u521b\u5efa\u65e0\u7528\u6570\u636e\u586b\u5145\u7684\u5f20\u91cf\uff0cones\u51fd\u6570\u80fd\u521b\u5efa\u6570\u636e\u5747\u4e3a1\u7684\u5f20\u91cf\uff0czeros\u51fd\u6570\u80fd\u521b\u5efa\u6570\u636e\u5747\u4e3a0\u7684\u5f20\u91cf\uff0crand\u51fd\u6570\u80fd\u751f\u6210\u6570\u636e\u4e3a[0,1)\u968f\u673a\u503c\u7684\u5f20\u91cf\uff0crandn\u51fd\u6570\u80fd\u751f\u6210\u5747\u503c\u4e3a0\u3001\u65b9\u5dee\u4e3a1\u7684\u6570\u636e\u7684\u5f20\u91cf\uff0crandint\u51fd\u6570\u80fd\u751f\u6210\u6570\u636e\u4e3a[low,high)\u968f\u673a\u6574\u6570\u7684\u5f20\u91cf\u3002\u5982\u679c\u4f60\u719f\u6089Numpy\uff0c\u4f60\u4f1a\u53d1\u73b0PyTorch\u8fd9\u4e9b\u51fd\u6570\u57fa\u672c\u80fd\u5728Numpy\u4e2d\u627e\u5230\u5bf9\u5e94\u7684\u51fd\u6570<\/span><span style=\"font-size: 16px;letter-spacing: 1px;\"><span style=\"font-size: 16px;font-family: Calibri;font-variant: normal;text-transform: none;font-weight: normal;\">\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<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\">print(torch.empty(<span class=\"code-snippet__number\">2<\/span>,<span class=\"code-snippet__number\">2<\/span>))<span class=\"code-snippet__comment\">#\u7a7a\u6570\u7ec4\uff0c\u4f7f\u7528\u65e0\u7528\u6570\u636e\u586b\u5145<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">'''\u8f93\u51fa\uff08\u4e0d\u552f\u4e00\uff09\uff1atensor([[-7.6103e+30,  1.5204e-42],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">                        [ 0.0000e+00,  0.0000e+00]])<\/span><\/code><code><span class=\"code-snippet_outer\">'''<\/span><\/code><code><span class=\"code-snippet_outer\">print(torch.ones(<span class=\"code-snippet__number\">2<\/span>,<span class=\"code-snippet__number\">3<\/span>))<span class=\"code-snippet__comment\">#\u751f\u6210\u6570\u636e\u5747\u4e3a1\u7684\u5f20\u91cf<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">'''\u8f93\u51fa\uff1atensor([[1., 1., 1.],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">              [1., 1., 1.]])<\/span><\/code><code><span class=\"code-snippet_outer\">'''<\/span><\/code><code><span class=\"code-snippet_outer\">print(torch.zeros(<span class=\"code-snippet__number\">2<\/span>,<span class=\"code-snippet__number\">1<\/span>))<span class=\"code-snippet__comment\">#\u751f\u6210\u6570\u636e\u5747\u4e3a0\u7684\u5f20\u91cf<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u8f93\u51fa\uff1atensor([[0.],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#             [0.]])<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">print(torch.rand(<span class=\"code-snippet__number\">1<\/span>,<span class=\"code-snippet__number\">4<\/span>))<span class=\"code-snippet__comment\">#\u968f\u673a\u503c\u533a\u95f4\u4e3a[0,1)<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u8f93\u51fa\uff08\u4e0d\u552f\u4e00\uff09\uff1atensor([[0.3295, 0.8059, 0.1125, 0.3575]])<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">print(torch.randn(<span class=\"code-snippet__number\">1<\/span>,<span class=\"code-snippet__number\">4<\/span>))<span class=\"code-snippet__comment\">#\u968f\u673a\u503c\u7684\u5206\u5e03\u5f0f\u5747\u503c\u4e3a0\uff0c\u65b9\u5dee\u4e3a1<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u8f93\u51fa\uff08\u4e0d\u552f\u4e00\uff09\uff1atensor([[-0.7469,  1.1632,  0.7925,  0.3307]])<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">print(torch.randint(low=<span class=\"code-snippet__number\">0<\/span>,high=<span class=\"code-snippet__number\">3<\/span>,size=[<span class=\"code-snippet__number\">3<\/span>,<span class=\"code-snippet__number\">2<\/span>]))<span class=\"code-snippet__comment\">#\u6574\u578b\u6570\u7ec4<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">'''\u8f93\u51fa\uff08\u4e0d\u552f\u4e00\uff09\uff1atensor([[2, 2],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">                        [0, 1],<\/span><\/code><code><span class=\"code-snippet_outer\">                        [0, 0]])<\/span><\/code><code><span class=\"code-snippet_outer\">'''<\/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;\">\u63a5\u4e0b\u6765\uff0c\u5c0f\u679c\u8bb2\u8bb2\u4e09\u9636\u5f20\u91cf\u7684\u57fa\u672c\u64cd\u4f5c\uff0c\u53ef\u80fd\u6709\u70b9\u96be\u7406\u89e3\uff0c\u5927\u5bb6\u505a\u597d\u5fc3\u7406\u51c6\u5907~<\/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\u5148\u7528arange\u51fd\u6570\u521b\u5efa\u6570\u636e\u4e3a0-23\u7684\u4e00\u9636\u5f20\u91cf\uff0c\u518d\u901a\u8fc7reshape\u65b9\u6cd5\u8f6c\u5316\u4e3a\u4e09\u9636\u5f20\u91cf\uff0c<\/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: \u5b8b\u4f53;font-variant: normal;text-transform: none;font-size: 16px;letter-spacing: 1px;\">\u8be5\u65b9\u6cd5\u7684\u53c2\u6570\u7684\u6570\u91cf\u53cd\u6620\u7684\u662f\u5f20\u91cf\u7684\u9636\u6570\uff0c\u53c2\u6570\u7684\u6570\u503c\u53cd\u6620\u7684\u662f\u5f20\u91cf\u7684\u7ef4\u5ea6\uff0c\u5bf9\u9636\u6570\u548c\u7ef4\u5ea6\u6709\u56f0\u60d1\u7684\u5c0f\u4f19\u4f34\u53ef\u4ee5\u518d\u770b\u770b\u524d\u9762\u7684\u8bb2\u89e3\u3002\u5c0f\u679c\u63d0\u9192\u4e00\u4e0b\uff0creshape\u65b9\u6cd5\u7684\u53c2\u6570\u7684\u4e58\u79ef\u5fc5\u987b\u7b49\u4e8e\u5f20\u91cf\u7684\u5143\u7d20\u7684\u6570\u76ee\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<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\">t2=torch.arange(<span class=\"code-snippet__number\">24<\/span>,dtype=torch.float)<\/span><\/code><code><span class=\"code-snippet_outer\">print(t2)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#\u8f93\u51fa\uff1atensor([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#             18, 19, 20, 21, 22, 23])<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">t2=t2.reshape(<span class=\"code-snippet__number\">2<\/span>,<span class=\"code-snippet__number\">3<\/span>,<span class=\"code-snippet__number\">4<\/span>)<span class=\"code-snippet__comment\">#\u548cresize(2,3,4)\u76f8\u540c,\u4f46\u8fc7\u65f6<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">print(t2)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">'''\u8f93\u51fa\uff1atensor([[[ 0,  1,  2,  3],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">               [ 4,  5,  6,  7],<\/span><\/code><code><span class=\"code-snippet_outer\">               [ 8,  9, 10, 11]],<\/span><\/code><code><span class=\"code-snippet_outer\">           <\/span><\/code><code><span class=\"code-snippet_outer\">               [[12, 13, 14, 15],<\/span><\/code><code><span class=\"code-snippet_outer\">                [16, 17, 18, 19],<\/span><\/code><code><span class=\"code-snippet_outer\">                [20, 21, 22, 23]]])<\/span><\/code><code><span class=\"code-snippet_outer\">'''<\/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;\">view\u65b9\u6cd5\u548creshape\u65b9\u6cd5\u57fa\u672c\u76f8\u540c\uff0c\u90fd\u53ef\u4ee5\u6539\u53d8\u5f20\u91cf\u7684\u5f62\u72b6\uff0c\u4e0d\u540c\u4e4b\u5904\u5728\u4e8e\u5b83\u7684\u53c2\u6570\u7684\u6570\u503c\u53ef\u4ee5\u586b-1\uff0c\u8fd9\u8868\u793a\u8fd9\u4e00\u9636\u7684\u7ef4\u5ea6\u7531\u7a0b\u5e8f\u81ea\u52a8\u8ba1\u7b97\uff0c\u975e-1\u5219\u8868\u793a\u8fd9\u4e00\u9636\u7684\u7ef4\u5ea6\uff0c\u8fd9\u4e00\u70b9\u4e0aview\u65b9\u6cd5\u6bd4reshape\u65b9\u6cd5\u66f4\u65b9\u4fbf\uff0c\u6240\u4ee5\u5c0f\u679c\u66f4\u63a8\u8350\u4f60\u4eec\u7528view\u6539\u53d8\u5f20\u91cf\u5f62\u72b6\u5594~<\/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<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\">print(t2.view(<span class=\"code-snippet__number\">-1<\/span>))<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">'''\u8f93\u51fa\uff1atensor([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">                18, 19, 20, 21, 22, 23])<\/span><\/code><code><span class=\"code-snippet_outer\">'''<\/span><\/code><code><span class=\"code-snippet_outer\">print(t2.view(<span class=\"code-snippet__number\">3<\/span>,<span class=\"code-snippet__number\">-1<\/span>))<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">'''\u8f93\u51fa\uff1atensor([[ 0, 1, 2, 3, 4, 5, 6, 7],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">              [ 8, 9, 10, 11, 12, 13, 14, 15],<\/span><\/code><code><span class=\"code-snippet_outer\">              [16, 17, 18, 19, 20, 21, 22, 23]])<\/span><\/code><code><span class=\"code-snippet_outer\">'''<\/span><\/code><code><span class=\"code-snippet_outer\">print(t2.view(<span class=\"code-snippet__number\">-1<\/span>,<span class=\"code-snippet__number\">2<\/span>,<span class=\"code-snippet__number\">4<\/span>))<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">'''\u8f93\u51fa\uff1atensor([[[ 0,  1,  2,  3],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">               [ 4,  5,  6,  7]],    <\/span><\/code><code><span class=\"code-snippet_outer\">           <\/span><\/code><code><span class=\"code-snippet_outer\">              [[ 8,  9, 10, 11],<\/span><\/code><code><span class=\"code-snippet_outer\">               [12, 13, 14, 15]],<\/span><\/code><code><span class=\"code-snippet_outer\">           <\/span><\/code><code><span class=\"code-snippet_outer\">              [[16, 17, 18, 19],<\/span><\/code><code><span class=\"code-snippet_outer\">               [20, 21, 22, 23]]])<\/span><\/code><code><span class=\"code-snippet_outer\">'''<\/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;\">\u4f60\u77e5\u9053\u5417\uff1f\u5f20\u91cf\u7684\u7ed3\u6784\u53d8\u5316\u4e0d\u4ec5\u53ef\u4ee5\u901a\u8fc7\u5f62\u72b6\u53d8\u5316\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u7ef4\u5ea6\u4ea4\u6362\u6539\u53d8\u3002\u7ef4\u5ea6\u4ea4\u6362\u53ef\u4ee5\u7b80\u5355\u7406\u89e3\u4e3a\u5f20\u91cf\u7684\u6240\u6709\u5143\u7d20\u7684\u4e0d\u540c\u7684\u5750\u6807\u65b9\u5411\u4e0a\u7684\u6574\u4f53\u53d8\u5316\uff0c\u5b83\u901a\u8fc7transpose\u548cpermute\u65b9\u6cd5\u5b9e\u73b0\u3002\u5c0f\u679c\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u6211\u4eec\u5047\u8bbe\u5b83\u5f20\u91cft2\u4e2d\u7684\u5143\u7d207\u7684\u5750\u6807\u662f(1,2,3)\uff0c\u5982\u679c\u5f20\u91cf\u7684\u7b2c\u4e00\u7ef4\u548c\u7b2c\u4e8c\u7ef4\u4ea4\u6362\u3002\u5b83\u7684\u5750\u6807\u4fbf\u662f(2,1,3)\u3002transpose\u65b9\u6cd5\u53ea\u80fd\u4ea4\u6362\u5f20\u91cf\u7684\u4e24\u4e2a\u7ef4\u5ea6\uff0c\u8f93\u5165\u53c2\u6570\u662f\u4e24\u4e2a\u7684\u7ef4\u5ea6\u4e0b\u6807\uff0c\u6bd4\u5982\u8f93\u5165\u53c2\u6570\u662f0\u548c1\uff0c\u5c31\u4f1a\u4ea4\u6362\u7b2c\u4e00\u7ef4\u548c\u7b2c\u4e8c\u7ef4\uff0c\u5bf9t2\u800c\u8a00\uff0c\u5f20\u91cf\u7684\u7ed3\u6784\u4f1a\u4ece2*3*4\u8f6c\u5316\u4e3a3*2*4\uff1bpermute\u65b9\u6cd5\u80fd\u4ea4\u6362\u5f20\u91cf\u7684\u591a\u4e2a\u7ef4\u5ea6\uff0c\u8f93\u5165\u53c2\u6570\u4e5f\u662f\u7ef4\u5ea6\u4e0b\u6807\uff0c\u4f46\u5176\u6570\u91cf\u5fc5\u987b\u4e0e\u5f20\u91cf\u7684\u9636\u6570\u76f8\u540c\uff0c\u6bd4\u5982\u8f93\u5165\u53c2\u6570\u662f2\u30010\u548c1\uff0c\u7ef4\u5ea6\u4e4b\u95f4\u7684\u4f4d\u7f6e\u53d1\u751f\u4ea4\u6362\uff0c\u7b2c\u4e00\u7ef4\u6765\u5230\u7b2c\u4e8c\u7ef4\uff0c\u7b2c\u4e8c\u7ef4\u6765\u5230\u7b2c\u4e09\u7ef4\uff0c\u7b2c\u4e09\u7ef4\u6765\u5230\u7b2c\u4e00\u7ef4\uff0c\u5bf9t2\u800c\u8a00\uff0c\u5f20\u91cf\u7684\u7ed3\u6784\u4f1a\u4ece2*3*4\u8f6c\u5316\u4e3a4*2*3\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<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<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\">print(t2.transpose(<span class=\"code-snippet__number\">0<\/span>,<span class=\"code-snippet__number\">1<\/span>))<span class=\"code-snippet__comment\">#\u4e24\u4e2a\u53c2\u6570\uff0c\u7b2c1\u7ef4\u548c\u7b2c2\u7ef4\u4ea4\u6362 2*3*4-&gt;3*2*4<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># '''\u8f93\u51fa\uff1atensor([[[ 0.,  1.,  2.,  3.],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#               [12., 13., 14., 15.]],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># <\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#              [[ 4.,  5.,  6.,  7.],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#               [16., 17., 18., 19.]],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># <\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#              [[ 8.,  9., 10., 11.],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">#               [20., 21., 22., 23.]]])<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># '''<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">print(t2.permute(<span class=\"code-snippet__number\">2<\/span>,<span class=\"code-snippet__number\">0<\/span>,<span class=\"code-snippet__number\">1<\/span>))<span class=\"code-snippet__comment\">#\u4e09\u4e2a\u53c2\u6570\uff0c\u7ef4\u5ea6\u4ea4\u6362 2*3*4-&gt;4*2*3<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__string\">'''\u8f93\u51fa\uff1atensor([[[ 0.,  4.,  8.],<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">               [12., 16., 20.]],<\/span><\/code><code><span class=\"code-snippet_outer\">           <\/span><\/code><code><span class=\"code-snippet_outer\">              [[ 1.,  5.,  9.],    <\/span><\/code><code><span class=\"code-snippet_outer\">               [13., 17., 21.]],<\/span><\/code><code><span class=\"code-snippet_outer\">           <\/span><\/code><code><span class=\"code-snippet_outer\">              [[ 2.,  6., 10.],<\/span><\/code><code><span class=\"code-snippet_outer\">               [14., 18., 22.]],<\/span><\/code><code><span class=\"code-snippet_outer\">           <\/span><\/code><code><span class=\"code-snippet_outer\">              [[ 3.,  7., 11.],<\/span><\/code><code><span class=\"code-snippet_outer\">               [15., 19., 23.]]])<\/span><\/code><code><span class=\"code-snippet_outer\">'''<\/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-weight: normal;font-size: 16px;letter-spacing: 1px;\">\u662f\u4e0d\u662fCPU\u70e7\u574f\u4e86\uff1f\u6ca1\u5173\u7cfb\uff0c\u559d\u53e3\u6c34\u7f13\u4e00\u4e0b~\u5c0f\u679c\u518d\u8865\u5145\u51e0\u4e2a\u5f20\u91cf\u7684\u57fa\u672c\u64cd\u4f5c\uff0c\u901a\u8fc7min\u548cmax\u65b9\u6cd5\u5206\u522b\u53ef\u4ee5\u5f97\u5230\u5f20\u91cf\u5143\u7d20\u4e2d\u7684\u6700\u5c0f\u503c\u548c\u6700\u5927\u503c\uff0c\u901a\u8fc7mean\u548cstd\u65b9\u6cd5\u5206\u522b\u53ef\u4ee5\u8ba1\u7b97\u5f20\u91cf\u5143\u7d20\u4e2d\u7684\u5747\u503c\u548c\u65b9\u5dee\uff0c\u6ce8\u610fmean\u65b9\u6cd5\u5bf9\u6d6e\u70b9\u578b\u5f20\u91cf\u624d\u6709\u6548\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-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=\"css\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__selector-tag\">print<\/span>(<span class=\"code-snippet__selector-tag\">t2<\/span><span class=\"code-snippet__selector-class\">.min<\/span>(),<span class=\"code-snippet__selector-tag\">t2<\/span><span class=\"code-snippet__selector-class\">.max<\/span>())<\/span><\/code><code><span class=\"code-snippet_outer\">#\u8f93\u51fa\uff1a<span class=\"code-snippet__selector-tag\">tensor<\/span>(0.) <span class=\"code-snippet__selector-tag\">tensor<\/span>(23.)<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__selector-tag\">print<\/span>(<span class=\"code-snippet__selector-tag\">t2<\/span><span class=\"code-snippet__selector-class\">.mean<\/span>(),<span class=\"code-snippet__selector-tag\">t2<\/span><span class=\"code-snippet__selector-class\">.std<\/span>())#\u5747\u503c(\u53ea\u6709\u6570\u636e\u4e0d\u662f\u6574\u6570\u578b\u624d\u80fd\u8ba1\u7b97)\u3001\u65b9\u5dee<\/span><\/code><code><span class=\"code-snippet_outer\">#\u8f93\u51fa\uff1a<span class=\"code-snippet__selector-tag\">tensor<\/span>(11<span class=\"code-snippet__selector-class\">.5000<\/span>) <span class=\"code-snippet__selector-tag\">tensor<\/span>(7<span class=\"code-snippet__selector-class\">.0711<\/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-weight: normal;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;font-family: \u5b8b\u4f53;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;\">\u8fd9\u6b21\u5185\u5bb9\u6709\u4e9b\u591a\uff0c\u5927\u5bb6\u597d\u597d\u6d88\u5316\u4e0b\u3002\u5f53\u7136\uff0c\u60f3\u771f\u6b63\u5b66\u597d\u673a\u5668\u5b66\u4e60\uff0c\u5149\u638c\u63e1PyTorch\u662f\u4e0d\u591f\u7684\uff0c\u9700\u8981\u4e86\u89e3<\/span><span style=\"font-size: 16px;letter-spacing: 1px;font-family: \u5b8b\u4f53;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;\">\u7edf\u8ba1\u5b66\u548c\u7ebf\u6027\u4ee3\u6570\u7684\u57fa\u7840\u77e5\u8bc6\uff0c\u8fd9\u6837\u624d\u80fd\u66f4\u52a0\u5f97\u5fc3\u5e94\u624b\u3002<\/span><\/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;color: windowtext;text-decoration: none;font-size: 16px;letter-spacing: 1px;\"> &nbsp; &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=\"100017285\" data-ratio=\"1\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/8_B2jkicacLzPjw4xMSqVvoucZjonVDA-2.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=\"100017287\" data-ratio=\"0.3253333333333333\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/9_7TvAyUibd1TPhJmZfialJtv6tu2SEg-2.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=\"100017286\" data-ratio=\"0.3811111111111111\" data-s=\"300,640\" src=\"http:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/10_9N02aBaau07RufXeXRLmvAHsrFZxtw-2.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;color: windowtext;font-size: 16px;letter-spacing: 1px;\">&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>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 \u5c0f\u679c&nbsp;&#038;nbs [&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\/55683"}],"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=55683"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/55683\/revisions"}],"predecessor-version":[{"id":55694,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/55683\/revisions\/55694"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=55683"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=55683"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=55683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}