Skip to content

lrn

Local response normalizaion.

This layer performs local response normalization (LRN) calculated by the following equation.

It is compatible with Caffe and supports only ACROSS_CHANNELS mode.
Default parameters are , , and for AlexNet.


Parameter

  • alpha : the scaling parameter (default: 10^{-4})
  • beta : the exponent (default: 0.75)
  • kappa : the offset (default: 2.0)
  • local_size : the number of channels to sum over (for cross channel LRN) or the side length of the square region to sum over (for within channel LRN)
  • is_within_ch : normalize in spatial dimension (default: false)