设为首页 - 加入收藏 ASP站长网(Aspzz.Cn)- 科技、建站、经验、云计算、5G、大数据,站长网!
热搜: 数据 创业者 手机
当前位置: 首页 > 运营中心 > 建站资源 > 经验 > 正文

PyTorch最佳实践,怎样才能写出一手风格优美的代码(5)

发布时间:2019-05-06 17:40 所属栏目:19 来源:机器之心编译
导读:https://github.com/IgorSusmelj/pytorch-styleguide/issues/3 output=self.net.forward(input) #theyarenotequal! output=self.net(input) 原文链接:https://github.com/IgorSusmelj/pytorch-styleguide 【本文是

https://github.com/IgorSusmelj/pytorch-styleguide/issues/3

  1. output = self.net.forward(input) 
  2. # they are not equal! 
  3. output = self.net(input) 

原文链接:https://github.com/IgorSusmelj/pytorch-styleguide

【本文是51CTO专栏机构“机器之心”的原创译文,微信公众号“机器之心( id: almosthuman2014)”】

戳这里,看该作者更多好文

(编辑:ASP站长网)

网友评论
推荐文章
    热点阅读