![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Torch
文章平均质量分 80
John2King
machine learning & computer vision 小白
展开
-
Torch-nn学习:Tabel Layer
1.ConcatTable:对每个成员模块应用相同输入。如图: +-----------+ +----> {member1, |+-------+ | | || input +----+----> member2, |+-------+ | | |原创 2016-11-15 14:19:02 · 3551 阅读 · 1 评论 -
Torch-nn学习: Simpley Layer
1.Linear:y = Ax + bmodule = nn.Linear(inputDimension, outputDimension, [bias = true]) module = nn.Linear(10, 5) -- 10 inputs, 5 outputs print(module.weight) //W print(module.bias) //原创 2016-11-15 16:58:01 · 4645 阅读 · 0 评论