W3cubDocs

/PyTorch 2.9

torch.nn.functional.local_response_norm

torch.nn.functional.local_response_norm(input, size, alpha=0.0001, beta=0.75, k=1.0) [source]

Apply local response normalization over an input signal.

The input signal is composed of several input planes, where channels occupy the second dimension. Normalization is applied across channels.

See LocalResponseNorm for details.

Return type

Tensor

© 2025, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.9/generated/torch.nn.functional.local_response_norm.html