Skip to content

Commit

Permalink
Site updated: 2023-09-08 16:40:50
Browse files Browse the repository at this point in the history
  • Loading branch information
chen0495 committed Sep 8, 2023
1 parent e70bae5 commit 3a171a8
Show file tree
Hide file tree
Showing 115 changed files with 335 additions and 335 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
isHome: false,
isHighlightShrink: false,
isToc: false,
postUpdate: '2023-09-08 16:16:37'
postUpdate: '2023-09-08 16:40:43'
}</script><noscript><style type="text/css">
#nav {
opacity: 1
Expand Down
4 changes: 2 additions & 2 deletions about/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2020/04/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2020/07/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2020/08/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2020/09/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2020/12/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2020/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2020/page/2/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2021/04/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2021/05/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2021/06/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2021/07/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2021/08/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2021/09/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2021/12/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2021/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2021/page/2/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2022/04/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2022/05/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2022/07/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2022/08/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2022/09/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2022/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2023/01/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/2023/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/page/2/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/page/3/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions archives/page/4/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions artitalk/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions categories/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/ACM/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/PCA/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/Python/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/Pytorch/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/page/2/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/page/3/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/分布式/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/操作系统/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/数据结构/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/机器学习/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/概率论/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/线代/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/编译原理/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/计算机组成原理/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/计算机网络/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/学习/高数/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/教程/ACM/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/教程/Blog相关/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/教程/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/教程/爬虫/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/日志/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/日志/公告/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions categories/日志/随笔/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions index.html

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions link/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions page/2/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions page/3/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions page/4/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion posts/285f4694/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ <h1 id="建立神经网络"><a class="header-anchor" href="#建立神经网络">
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">print</span>(<span class="string">f&quot;First Linear weights: <span class="subst">&#123;model.linear_relu_stack[<span class="number">0</span>].weight&#125;</span> \n&quot;</span>)</span><br><span class="line"></span><br><span class="line"><span class="built_in">print</span>(<span class="string">f&quot;First Linear weights: <span class="subst">&#123;model.linear_relu_stack[<span class="number">0</span>].bias&#125;</span> \n&quot;</span>)</span><br></pre></td></tr></table></figure>
<p>输出模型结构和参数:</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">print</span>(<span class="string">&quot;Model structure: &quot;</span>, model, <span class="string">&quot;\n\n&quot;</span>)</span><br><span class="line"></span><br><span class="line"><span class="keyword">for</span> name, param <span class="keyword">in</span> model.named_parameters():</span><br><span class="line"> <span class="built_in">print</span>(<span class="string">f&quot;Layer: <span class="subst">&#123;name&#125;</span> | Size: <span class="subst">&#123;param.size()&#125;</span> | Values : <span class="subst">&#123;param[:<span class="number">2</span>]&#125;</span> \n&quot;</span>)</span><br></pre></td></tr></table></figure>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="https://Chen0495.github.io">Chen0495</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://chen0495.github.io/posts/285f4694/">https://chen0495.github.io/posts/285f4694/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外,均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://Chen0495.github.io" target="_blank">Chen0495的空间站</a></span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/Pytorch/">Pytorch</a><a class="post-meta__tags" href="/tags/model/">model</a></div><div class="post_share"><div class="social-share" data-image="https://img.chen0495.top/img2022/202208192013831.png" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://unpkg.com/butterfly-extsrc/sharejs/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://unpkg.com/butterfly-extsrc/sharejs/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/posts/f85198ba/" title="知识管理方案探讨&amp;主流笔记软件体验"><img class="cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://img.chen0495.top/img2022/202209131209904.png" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">知识管理方案探讨&amp;主流笔记软件体验</div></div></a></div><div class="next-post pull-right"><a href="/posts/37c7b13e/" title="【Pytorch学习 - 2】数据集及其规范化"><img class="cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://img.chen0495.top/img2022/202208192013831.png" onerror="onerror=null;src='/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">【Pytorch学习 - 2】数据集及其规范化</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/posts/37c7b13e/" title="【Pytorch学习 - 2】数据集及其规范化"><img class="cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://img.chen0495.top/img2022/202208192013831.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-08-20</div><div class="title">【Pytorch学习 - 2】数据集及其规范化</div></div></a></div><div><a href="/posts/1cc7acd9/" title="【Pytorch学习 - 1】何为Tensors?"><img class="cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://img.chen0495.top/img2022/202208192013831.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-08-19</div><div class="title">【Pytorch学习 - 1】何为Tensors?</div></div></a></div></div></div><hr class="custom-hr"/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div class="vcomment" id="vcomment"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#%E4%BB%80%E4%B9%88%E6%98%AF%E7%A5%9E%E7%BB%8F%E7%BD%91%E7%BB%9C%EF%BC%9F"><span class="toc-number">1.</span> <span class="toc-text">什么是神经网络?</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%BB%BA%E7%AB%8B%E7%A5%9E%E7%BB%8F%E7%BD%91%E7%BB%9C"><span class="toc-number">2.</span> <span class="toc-text">建立神经网络</span></a></li></ol></div></div></div></div></main><footer id="footer" style="background-image: url('https://img.chen0495.top/img2022/202207290206838.png')"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2023 By Chen0495</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">Hi, welcome to my <a target="_blank" rel="noopener" href="https://chen0495.top/">blog</a>!</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://unpkg.com/@fancyapps/ui/dist/fancybox/fancybox.umd.js"></script><script src="https://unpkg.com/vanilla-lazyload/dist/lazyload.iife.min.js"></script><div class="js-pjax"><script>function loadValine () {
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="https://Chen0495.github.io">Chen0495</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://chen0495.github.io/posts/285f4694/">https://chen0495.github.io/posts/285f4694/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外,均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://Chen0495.github.io" target="_blank">Chen0495的空间站</a></span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/Pytorch/">Pytorch</a><a class="post-meta__tags" href="/tags/model/">model</a></div><div class="post_share"><div class="social-share" data-image="https://img.chen0495.top/img2022/202208192013831.png" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://unpkg.com/butterfly-extsrc/sharejs/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://unpkg.com/butterfly-extsrc/sharejs/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/posts/f85198ba/" title="知识管理方案探讨&amp;主流笔记软件体验"><img class="cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://img.chen0495.top/img2022/202209131209904.png" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">知识管理方案探讨&amp;主流笔记软件体验</div></div></a></div><div class="next-post pull-right"><a href="/posts/37c7b13e/" title="【Pytorch学习 - 2】数据集及其规范化"><img class="cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://img.chen0495.top/img2022/202208192013831.png" onerror="onerror=null;src='/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">【Pytorch学习 - 2】数据集及其规范化</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/posts/1cc7acd9/" title="【Pytorch学习 - 1】何为Tensors?"><img class="cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://img.chen0495.top/img2022/202208192013831.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-08-19</div><div class="title">【Pytorch学习 - 1】何为Tensors?</div></div></a></div><div><a href="/posts/37c7b13e/" title="【Pytorch学习 - 2】数据集及其规范化"><img class="cover" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://img.chen0495.top/img2022/202208192013831.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-08-20</div><div class="title">【Pytorch学习 - 2】数据集及其规范化</div></div></a></div></div></div><hr class="custom-hr"/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div class="vcomment" id="vcomment"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#%E4%BB%80%E4%B9%88%E6%98%AF%E7%A5%9E%E7%BB%8F%E7%BD%91%E7%BB%9C%EF%BC%9F"><span class="toc-number">1.</span> <span class="toc-text">什么是神经网络?</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%BB%BA%E7%AB%8B%E7%A5%9E%E7%BB%8F%E7%BD%91%E7%BB%9C"><span class="toc-number">2.</span> <span class="toc-text">建立神经网络</span></a></li></ol></div></div></div></div></main><footer id="footer" style="background-image: url('https://img.chen0495.top/img2022/202207290206838.png')"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2023 By Chen0495</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">Hi, welcome to my <a target="_blank" rel="noopener" href="https://chen0495.top/">blog</a>!</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://unpkg.com/@fancyapps/ui/dist/fancybox/fancybox.umd.js"></script><script src="https://unpkg.com/vanilla-lazyload/dist/lazyload.iife.min.js"></script><div class="js-pjax"><script>function loadValine () {
function initValine () {
const valine = new Valine(Object.assign({
el: '#vcomment',
Expand Down
Loading

0 comments on commit 3a171a8

Please sign in to comment.