caffe
WhiteCipher
这个作者很懒,什么都没留下…
展开
-
caffe的reshape层探究
在caffe的reshape层参数设定中有两个特别的参数:axis和num_axes,看caffe.proto里的对reshape层的参考文档发现解释的不清楚,举的例子也存在错误,因此特地写了一个仿照reshape层实现的代码来探究这两个参数的作用,代码如下:#include #include using namespace std;int count(vector input, i原创 2017-02-24 22:33:47 · 4283 阅读 · 2 评论 -
caffe的LSTM层实现与解析(非官方版)
最近看CTPN的论文时看到了demo中实现的LSTM层,这和caffe官方的基于recurrent层的不一样,是独立的。我对它做了一些注解,在这里贴出来方便以后查看。#include #include "caffe/blob.hpp"#include "caffe/common.hpp"#include "caffe/filler.hpp"#include "caffe/layer.原创 2017-03-06 10:07:48 · 3161 阅读 · 3 评论