usage of concat layer
来源:互联网 发布:php 开源 api文档工具 编辑:程序博客网 时间:2024/06/07 06:00
Concatenation
LayerType: CONCAT
CPU implementation: ./src/caffe/layers/concat_layer.cpp
CUDA GPU implementation: ./src/caffe/layers/concat_layer.cu
Parameters (ConcatParameter concat_param)
Optional
concat_dim [default 1]: 0 for concatenation along num and 1 for channels.
Input
n_i * c_i * h * w for each input blob i from 1 to K.
Output
Sample
layers {
name: "concat"
bottom: "in1"
bottom: "in2"
top: "out"
type: CONCAT
concat_param {
concat_dim: 1
}
}
The CONCAT layer is a utility layer that concatenates its multiple input blobs to one single output blob. Currently, the layer supports concatenation along num or channels only.
LayerType: CONCAT
CPU implementation: ./src/caffe/layers/concat_layer.cpp
CUDA GPU implementation: ./src/caffe/layers/concat_layer.cu
Parameters (ConcatParameter concat_param)
Optional
concat_dim [default 1]: 0 for concatenation along num and 1 for channels.
Input
n_i * c_i * h * w for each input blob i from 1 to K.
Output
if concat_dim = 0:
(n_1 + n_2 + ... + n_K) * c_1 * h * w, and all input c_i should be the same.
for example, two images img0, img1, which both have three channels, so im0: R0, G0, B0 and im1: R1, G1, B1, in this case,
after concatenation along image_num, the output blob is R0, G0, B0, R1, G1, B1.
if concat_dim = 1:
n_1 * (c_1 + c_2 + ... + c_K) * h * w, and all input n_i should be the same.
for example, two images img0, img1, which both have three channels, so im0: R0, G0, B0 and im1: R1, G1, B1, in this case,
Sample
layers {
name: "concat"
bottom: "in1"
bottom: "in2"
top: "out"
type: CONCAT
concat_param {
concat_dim: 1
}
}
The CONCAT layer is a utility layer that concatenates its multiple input blobs to one single output blob. Currently, the layer supports concatenation along num or channels only.
0 0
- usage of concat layer
- [Caffe]: 关于concat layer
- Usage of Pseudocode
- Usage of MFC CRectTracker
- Usage of awk
- effective usage of strtok
- Usage of Protocol Buffer
- Usage of pmake
- Usage sample of SSL
- usage of >>>、>> and << operators
- Extensive usage of Make
- Usage of Oracle Block
- Usage of TKPROF
- Usage of Ftp
- Usage of Func delegate
- Usage of Vmstat
- Usage Of TRCA
- Usage of #pragma
- android常用工具类 得到apk版本号和版本名字
- G++编译错误 no matching function for call to '_tag_data_value::StringAddLen(std::string, int, int)
- R语言处理缺失数据的高级方法
- Web 前端性能测试工具推荐
- socket编程
- usage of concat layer
- pdf转换器免费版下载使用
- 有限状态机(FSM)的设计与实现
- MyEclipse安装本地插件不成功的解决方案
- C#中子线程操作主线程中窗体上控件的方法
- JAVA对象及属性的内存堆栈管理(通过小程序简单说明)
- 十个最值得阅读学习的C开源项目代码
- android保存Bitmap图片到指定文件夹中的方法
- java 使用LinkedList模拟一个堆栈或者队列数据结构