内积层和全连接层是一样的
2016-02-01 10:25
183 查看
http://caffe.berkeleyvision.org/tutorial/layers.html#data-layers
The InnerProduct layer (also usually referred to as the fully connected layer) treats the input as a simple vector and produces an output in the form of a single vector (with the blob’s height and width set to 1).
就是定义输出的个数,然后就全部连接所有的滤波器的所有通道(特征子图)的所有元素。
使用方法:(可以看出它的计算方法)
********************************************************
Parameters (InnerProductParameter inner_product_param)
Required
num_output (c_o): the number of filters
Strongly recommended
weight_filler [default type: 'constant' value: 0]
Optional
bias_filler [default type: 'constant' value: 0]
bias_term [default true]: specifies whether to learn and apply a set of additive biases to the filter outputs
Input
n * c_i * h_i * w_i
Output
n * c_o * 1 * 1
The InnerProduct layer (also usually referred to as the fully connected layer) treats the input as a simple vector and produces an output in the form of a single vector (with the blob’s height and width set to 1).
就是定义输出的个数,然后就全部连接所有的滤波器的所有通道(特征子图)的所有元素。
使用方法:(可以看出它的计算方法)
********************************************************
Parameters (InnerProductParameter inner_product_param)
Required
num_output (c_o): the number of filters
Strongly recommended
weight_filler [default type: 'constant' value: 0]
Optional
bias_filler [default type: 'constant' value: 0]
bias_term [default true]: specifies whether to learn and apply a set of additive biases to the filter outputs
Input
n * c_i * h_i * w_i
Output
n * c_o * 1 * 1
相关文章推荐
- (二) shiro入门 :输出 hello world
- LeetCode Majority Element
- maven项目强制转换到jdk1.7 1.8
- 深入分析JavaWeb 5 -- Servlet开发
- sql语句优化
- JAVA泛型应用-获取容器运行时的泛型Class对象
- Android UI 优化(1)——使用HierarchyViewer工具
- Eclipse快捷键
- 渗透工具sqlmap学习
- ios创建画笔的样例(双笔画效果)
- iOS中的webView加载HTML
- underscorejs-max学习
- poll案例
- HDU 1850 Nim-Sum思想总结、
- UVAlive 3263 That Nice Euler Circuit(欧拉定理)
- Oracle 统计一个字段中某字符出现的次数
- Binder框架的一些简单总结(关于自定义服务中的Binder)
- 网站监控应该什么时候做?
- quick-cocos2d-x的c++层真机调试
- 大型网站图片服务器架构的演进