code: def test_get_params(self, layer):
      assert layer.get_params() == [layer.W, layer.b]
      assert layer.get_params(regularizable=False) == [layer.b]
      assert layer.get_params(regularizable=True) == [layer.W]
      assert layer.get_params(trainable=True) == [layer.W, layer.b]
      assert layer.get_params(trainable=False) == []
      assert layer.get_params(_nonexistent_tag=True) == []
      assert layer.get_params(_nonexistent_tag=False) == [
          layer.W,
          layer.b,
      ]
  
imports: from mock import Mock
  import numpy
  import pytest
  import theano
  import lasagne
label_desc: Use image node_id 8 for calling the TestNINLayer_c01b obj's underlying member method code with example usage: obj.test_get_params(layer) without return types