code: def layer_vars(self, NINLayer_c01b, dummy_input_layer):
      W = Mock()
      b = Mock()
      nonlinearity = Mock()
  
      W.return_value = np.ones((5, 3))
      b.return_value = np.ones((5,))
      layer = NINLayer_c01b(
          dummy_input_layer,
          num_units=5,
          W=W,
          b=b,
          nonlinearity=nonlinearity,
      )
  
      return {
          "W": W,
          "b": b,
          "nonlinearity": nonlinearity,
          "layer": layer,
      }
  
imports: from mock import Mock
  import numpy
  import pytest
  import theano
  import lasagne
label_desc: Use image node_id 3 for calling the TestNINLayer_c01b obj's underlying member method code with example usage: obj.layer_vars(NINLayer_c01b, dummy_input_layer) and returns: dict