code: def test_create_param_callable_returns_theano_expr():
      from lasagne.utils import create_param
  
      array = np.array([[1, 2, 3], [4, 5, 6]])
      param = theano.shared(array) * 2
      factory = Mock()
      factory.return_value = param
      result = create_param(factory, (2, 3))
      assert (result.eval() == array * 2).all()
      assert result is param
  
imports: from mock import Mock
  import pytest
  import numpy
  import theano
  import theano.tensor
label_desc: Use image node_id 25 for calling a global function with example usage: test_create_param_callable_returns_theano_expr() without return types