code: def BatchNormLayer(self, request):
      dnn = request.param
      if not dnn:
          from lasagne.layers.normalization import BatchNormLayer
      elif dnn:
          try:
              from lasagne.layers.dnn import (
                  BatchNormDNNLayer as BatchNormLayer,
              )
          except ImportError:
              pytest.skip("cuDNN batch norm not available")
      return BatchNormLayer
  
imports: from mock import Mock
  import numpy
  import pytest
  import theano
label_desc: Use image node_id 1 for calling the TestBatchNormLayer obj's underlying member method code with example usage: obj.BatchNormLayer(request) and returns: BatchNormLayer