深度学习caffe之Slice层
Concat是将多个bottom合并成一个topslice层把一个bottom分解成多个topslice层三个参数:axis:默认为1,切分channel维度slice_dim:过时参数同axis,不支持负数slice_point:切分点,没有设置的时候则对axis进行均匀分解message SliceParameter {// The axis along which to s...
·
Concat是将多个bottom合并成一个top
slice层把一个bottom分解成多个top
slice层三个参数:
axis:默认为1,切分channel维度
slice_dim:过时参数同axis,不支持负数
slice_point:切分点,没有设置的时候则对axis进行均匀分解
message SliceParameter {
// The axis along which to slice -- may be negative to index from the end
// (e.g., -1 for the last axis).
// By default, SliceLayer concatenates blobs along the "channels" axis (1).
optional int32 axis = 3 [default = 1];
repeated uint32 slice_point = 2;
// DEPRECATED: alias for "axis" -- does not support negative indexing.
optional uint32 slice_dim = 1 [default = 1];
}
实例
layer {
name: "slice1"
type: "Slice"
bottom: "conv_blob40"
top: "cat_blob7"
top: "cat_blob8"
top: "cat_blob9"
slice_param {
axis: 1
}
}
更多推荐
所有评论(0)