net.fc3 = caffe.layers.InnerProduct(net.pool1,
                                    num_output=1024,
                                    weight_filler=dict(type='xavier'),
                                    bias_filler=dict(type='constant',value=0))

输出:
layer {
  name: "fc3"
  type: "InnerProduct"
  bottom: "pool1"
  top: "fc3"
  inner_product_param {
    num_output: 1024
    weight_filler {
      type: "xavier"
    }
    bias_filler {
      type: "constant"
      value: 0.0
    }
  }
}

 

相关文章:

  • 2021-08-22
  • 2021-05-30
  • 2022-02-16
  • 2021-08-22
  • 2021-09-18
  • 2021-10-06
  • 2021-08-09
  • 2021-07-06
猜你喜欢
  • 2021-10-04
  • 2021-12-27
  • 2021-12-28
  • 2021-08-23
  • 2021-10-22
  • 2021-12-20
  • 2021-08-21
相关资源
相似解决方案