code: def test_undefined_shape(self, BatchNormLayer):
      # should work:
      BatchNormLayer((64, 2, None), axes=(0, 2))
      # should not work:
      with pytest.raises(ValueError) as exc:
          BatchNormLayer((64, None, 3), axes=(0, 2))
      assert "needs specified input sizes" in exc.value.args[0]
  
imports: from mock import Mock
  import numpy
  import pytest
  import theano
label_desc: Use image node_id 5 for calling the TestBatchNormLayer obj's underlying member method code with example usage: obj.test_undefined_shape(BatchNormLayer) without return types