parameters: (value)
docstring: Sets the default float type.
  
    Arguments:
        value: String; 'float16', 'float32', or 'float64'.
    Example: ```python from keras import backend as K K.floatx() >>> 'float32'
      K.set_floatx('float16') K.floatx() >>> 'float16' ```
  
    Raises:
        ValueError: In case of invalid value.
docstring_summary: Sets the default float type.
docstring_tokens: Sets the default float type .
function: def set_floatx(value):
    """Sets the default float type.
  
    Arguments:
        value: String; 'float16', 'float32', or 'float64'.
    Example: ```python from keras import backend as K K.floatx() >>> 'float32'
      K.set_floatx('float16') K.floatx() >>> 'float16' ```
  
    Raises:
        ValueError: In case of invalid value.
    """
    global _FLOATX
    if value not in {'float16', 'float32', 'float64'}:
      raise ValueError('Unknown floatx type: ' + str(value))
    _FLOATX = str(value)
function_tokens: def set_floatx ( value ) : global _FLOATX if value not in { 'float16' , 'float32' , 'float64' } : raise ValueError ( 'Unknown floatx type: ' + str ( value ) ) _FLOATX = str ( value )