nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunctionFactory.java
public SDVariable localResponseNormalization(SDVariable inputs, LocalResponseNormalizationConfig lrnConfig) {
        LocalResponseNormalization lrn = LocalResponseNormalization.builder()
                .inputFunctions(new SDVariable[]{inputs})
                .sameDiff(sameDiff())
                .config(lrnConfig)
                .build();

        return lrn.outputVariables()[0];
    }
public SDVariable localResponseNormalization(SDVariable inputs, LocalResponseNormalizationConfig lrnConfig) {
        LocalResponseNormalization lrn = LocalResponseNormalization.builder()
                .inputFunctions(new SDVariable[]{inputs})
                .sameDiff(sameDiff())
                .config(lrnConfig)
                .build();

        return lrn.outputVariables()[0];
    }
Local response normalization operation.

@param inputs    the inputs to lrn
@param lrnConfig the configuration
@return