![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
深度学习
文章平均质量分 58
bubbleoooooo
这个作者很懒,什么都没留下…
展开
-
Torch 在OSX 10.11.6 下的安装
参考官方文档:# in a terminal, run the commands WITHOUT sudo git clone https://github.com/torch/distro.git ~/torch –recursive cd ~/torch; bash install-deps; ./install.sh The first script installs the原创 2016-09-21 08:17:39 · 1181 阅读 · 0 评论 -
torch学习笔记(一) nn类结构-Module
网络的每一个模块都是由Modules组成的,可以使用一些 Module 的子类。容器类包括Sequential,Parallel和Concat,这些容器可以包含simple layers,比如Linear,Mean,Max和Reshape,或者是convolution layers以及transfer layers比如Tanh。 Loss functions 是作为Criterion子类实现的,原创 2016-09-24 17:37:29 · 2173 阅读 · 0 评论 -
oxford-cs-ml-2015/practical6 代码解读(LSTMs for language modelling)
查看具体项目文件请点击这里1. train.luarequire(modelname)require 用于加载不同的模块,torch、nn、nngraph、optim都为框架本身的模块,而’data.CharLMMinibatchLoader’、’LSTM’ 、’Embedding’、’model_utils’则为自定义模块。 其中data.表示在data目录下的CharLMMinibatchLo原创 2016-09-23 21:04:44 · 638 阅读 · 0 评论 -
torch学习笔记(二) nn类结构-Linear
Linear 是module的子类,是参数化module的一种,与其名称一样,表示着一种线性变换。创建 parent 的init函数 Linear的创建需要两个参数,inputSize 和 outputSize inputSize:输入节点数 outputSize:输出节点数 所以Linear 有7个字段: weight : Tensor , outputSize ×\times i原创 2016-09-26 17:24:50 · 43407 阅读 · 0 评论 -
论文
督促自己读完论文写总结!原创 2018-09-21 15:53:06 · 201 阅读 · 0 评论