Advertisement

caffeLayer: Reduction

阅读量:
  • Layer type: Reduction
    • 头文件路径:./include/caffe/layers/reduction_layer.hpp
    • CPU 实现源文件路径: ./src/caffe/layers/reduction_layer.cpp
    • CUDA GPU 实现源文件路径: ./src/caffe/layers/reduction_layer.cu
    • Reduction层的作用:依据指定参数所定义的维度,对输入的blob执行sum或mean等运算。(简单来说,即根据预设的维度对输入的特征图实施加总或均值计算)。

参数解读

复制代码
    layer {
      name: "rnn_o_concat"
      type: "Concat"
      bottom: "o_1"
      bottom: "o_2"
      bottom: "o_3"
      top: "o"
      concat_param {
    axis: 0
      }
    }
    layer {
      name: "o_pseudoloss"
      type: "Reduction"
      bottom: "o"
      top: "o_pseudoloss"
      loss_weight

全部评论 (0)

还没有任何评论哟~