def set_floatx(floatx):
 global _FLOATX
 if (floatx not in {'float16', 'float32', 'float64'}):
  raise ValueError(('Unknown floatx type: ' + str(floatx)))
 _FLOATX = str(floatx)

def set_floatx ( floatx ) : global _FLOATX if ( floatx not in { 'float16' , 'float32' , 'float64' } ) : raise ValueError ( ( 'Unknown floatx type: ' + str ( floatx ) ) ) _FLOATX = str ( floatx )
sets the default float type .