[Quick question] How to write Local Response Normalization (LRN) layer in pytroch?

I am trying to reimplement a work in caffe using pytorch but can not find how to write the Local Response Normalization (LRN) layer.

Any suggestion?

Thanks!

1 Like

Yeah, I was looking for LRN which https://pytorch.org/docs/master/generated/torch.nn.LocalResponseNorm.html solved .

1 Like