![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
深度学习
lenry_zi
student
展开
-
Torch学习各类资源总结
Torch官网文档Torchtorchtorch——math函数(中文)nnnn模块学习optim优化方法总结实用程序Timer本类能够测量特定时间段内的时间(以秒为单位)。 例:timer = torch.Timer() -- the Timer starts to count now x = 0 for i=1,1000000 do x = x + math.sin(x) e...原创 2018-04-19 19:52:11 · 342 阅读 · 0 评论 -
Lua + Torch 踩坑小结
1.Tensor中选择元素时索引必须用number类型VS,tensor与table转换index53[torch.FloatTensor of size 2]p0.5162 0.4855 0.5177 0.5186 0.50070.4797 0.4709 0.4959 0.4905 0.4959[torch.FloatTensor of size 2x5]想要根据tensor...原创 2018-05-21 16:47:28 · 2343 阅读 · 0 评论