code: def test_unsupported_settings(self, DummyInputLayer):
      from lasagne.layers import LocallyConnected2DLayer
  
      input_layer = DummyInputLayer((10, 2, 4, 4))
      for pad in "valid", "full", 1:
          with pytest.raises(NotImplementedError) as exc:
              LocallyConnected2DLayer(input_layer, 2, 3, pad=pad)
          assert "requires pad='same'" in exc.value.args[0]
      with pytest.raises(NotImplementedError) as exc:
          LocallyConnected2DLayer(input_layer, 2, 3, stride=2)
      assert "requires stride=1 / (1, 1)" in exc.value.args[0]
  
file_path: Lasagne/lasagne/tests/layers/test_local.py
imports: import numpy
  import pytest
  import theano
  from lasagne.utils import floatX
label_desc: Use image node_id 2 for calling the TestLocallyConnected2DLayer obj's underlying member method code with example usage: obj.test_unsupported_settings(DummyInputLayer) without return types