code: def floatX(arr):
      """Converts data to a numpy array of dtype ``theano.config.floatX``.
  
      Parameters
      ----------
      arr : array_like
          The data to be converted.
  
      Returns
      -------
      numpy ndarray
          The input array in the ``floatX`` dtype configured for Theano.
          If `arr` is an ndarray of correct dtype, it is returned as is.
      """
      return np.asarray(arr, dtype=theano.config.floatX)
  
file_path: Lasagne/lasagne/utils.py
imports: import numbers
  import numpy
  import theano
  import theano.tensor
label_desc: Use image node_id 1 for calling a global function with example usage: floatX(arr) and returns: np