Caffe卷积层中bias_filler类型“ constant”的默认值是什么?

时间:2018-08-23 21:03:31

标签: image-processing machine-learning computer-vision conv-neural-network caffe

在下面的示例层中,Caffe卷积层中bias_filler类型“ constant”的默认值是什么?

layer {
  name: "conv1"
  type: "Convolution"
  bottom: "data"
  top: "conv1"
  convolution_param {
    num_output: 12
    kernel_size: 3
    stride: 2
    weight_filler {
      type: "xavier"
    }
    bias_filler {
      type: "constant"
    }
  }
}

我在http://caffe.berkeleyvision.org/tutorial/layers/convolution.html的文档中找不到答案。

1 个答案:

答案 0 :(得分:0)

您可以在caffe.proto文件中找到很多文档/信息。该文件描述了caffe的prototxt / binaryproto的语法。

寻找常量填充符(line 46)的原型定义:

optional float value = 2 [default = 0]; // the value in constant filler

您可以看到默认值为0。