fn
global_response_norm_op
→TensorImplPtrint global_response_norm_op(const int & x, const int & gamma, const int & beta, double eps)Public free-function entry point for Global Response Normalization.
Thin wrapper that delegates to
GlobalResponseNormBackward::forward. This is the symbol the
pybind11 binding layer forwards to from the ConvNeXt-V2 building
block in lucid.nn.functional.
See Also
GlobalResponseNormBackward : Autograd node implementing the forward + backward.
Parameters
xTensorImplPtr4-D input tensor of shape
(N, C, H, W).gammaTensorImplPtrPer-channel scale of shape
(C,).betaTensorImplPtrPer-channel shift of shape
(C,).epsdoubleNumerical-stability constant.
Returns
TensorImplPtrNormalised output, same shape as x.