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 } } }