Advertisement

caffeLayer解读: Slice

阅读量:
  • 层类型:Slice
    • 头文件路径:/include/caffe/layers/slice_layer.hpp
    • CPU 实现源文件路径: ./src/caffe/layers/slice_layer.cpp
    • CUDA GPU 实现源文件路径: ./src/caffe/layers/slice_layer.cu
    • Slice 层的作用:依据设定的参数,对输入层实施分割操作,分割单位为通道。

参数解读

复制代码
    layer {
      name: "slicer_label"
      type: "Slice"
      bottom: "label"
      ## Example of label with a shape N x 3 x 1 x 1
      ## Example of label with a shape N x 5 x 1 x 1
      top: "label1"
      top: "label2"
      top: "label3"
      slice_param {
    axis: 1
    slice_point: 1
    slice_point: 2
      }
    }
    
      
      
      
      
      

全部评论 (0)

还没有任何评论哟~