1. 程式人生 > >caffe Python API 之LRN

caffe Python API 之LRN

net.mylrn = caffe.layers.LRN(net.pool1,local_size=5,alpha=1e-4,beta=0.75)

輸出:
layer {
  name: "mylrn"
  type: "LRN"
  bottom: "pool1"
  top: "lrn"
  lrn_param {
    local_size: 5
    alpha: 9.99999974738e-05
    beta: 0.75
  }
}