- Layer type: Eltwise
- 头文件位置:./include/caffe/layers/eltwise_layer.hpp
- CPU 执行源文件位置: ./src/caffe/layers/eltwise_layer.cpp
- CUDA GPU 执行源文件位置: ./src/caffe/layers/eltwise_layer.cu
- Eltwise层的功能:按元素操作层(Resnet 中的shortcut)。
参数解释
layer {
name: "eltwise"
type: "Eltwise"
bottom: "conv1"
bottom: "conv2"
bottom: "conv3"
top: "eltwise"
eltwise_param {
operation: SUM
}
}
对输入的三个卷积层的特征图做求和,最终合并成一层。
那么问题来了,如果我想要做差呢,那么coeff参数就起到