code: def ref_cast(x):
      if x.type.dtype == "float16":
          x = theano.tensor.cast(x, "float32")
      return x
  
imports: from __future__ import absolute_import, print_function, division
  from nose.plugins.skip import SkipTest
  import theano.tensor
  import theano.gpuarray
label_desc: Use image node_id 1 for calling a global function with example usage: ref_cast(x) and returns: x