code: def test_normalization(self, input_data, input_layer, layer):
      from lasagne.layers import get_output
  
      X = input_layer.input_var
      lrn = theano.function([X], get_output(layer, X))
      out = lrn(input_data)
  
      # ground_truth_normalizer assumes c01b
      input_data_c01b = input_data.transpose([1, 2, 3, 0])
      ground_out = ground_truth_normalizer(
          input_data_c01b,
          n=layer.n,
          k=layer.k,
          alpha=layer.alpha,
          beta=layer.beta,
      )
      ground_out = np.transpose(ground_out, [3, 0, 1, 2])
  
      assert out.shape == ground_out.shape
  
      assert np.allclose(out, ground_out)
  
imports: from mock import Mock
  import numpy
  import pytest
  import theano
label_desc: Use image node_id 8 for calling the TestLocalResponseNormalization2DLayer obj's underlying member method code with example usage: obj.test_normalization(input_data, input_layer, layer) without return types