def _numpy_true_div(x, y):
 out = numpy.true_divide(x, y)
 if ((x.dtype in tensor.discrete_dtypes) and (y.dtype in tensor.discrete_dtypes)):
  out = theano._asarray(out, dtype=config.floatX)
 return out

def _numpy_true_div ( x , y ) : out = numpy . true_divide ( x , y ) if ( ( x . dtype in tensor . discrete_dtypes ) and ( y . dtype in tensor . discrete_dtypes ) ) : out = theano . _asarray ( out , dtype = config . floatX ) return out
performs true division .