def move_to_gpu(data):
 if (str(data.dtype) in tensor.basic.complex_dtypes):
  return False
 if ((data.ndim == 0) and (str(data.dtype) in tensor.basic.discrete_dtypes)):
  return False
 return True

def move_to_gpu ( data ) : if ( str ( data . dtype ) in tensor . basic . complex_dtypes ) : return False if ( ( data . ndim == 0 ) and ( str ( data . dtype ) in tensor . basic . discrete_dtypes ) ) : return False return True
do we want to move this computation to the gpu? currently .