code: def test_create_param_retain_ndarray_dtype():
      from lasagne.utils import create_param
  
      param = np.array([[1, 2, 3], [4, 5, 6]])
  
      param = param.astype("float64")
      result = create_param(param, (2, 3))
      assert result.dtype == param.dtype
  
      param = param.astype("int16")
      result = create_param(param, (2, 3))
      assert result.dtype == param.dtype
  
imports: from mock import Mock
  import pytest
  import numpy
  import theano
  import theano.tensor
label_desc: Use image node_id 28 for calling a global function with example usage: test_create_param_retain_ndarray_dtype() without return types