          os.rename(origfile, backupfile)
  
  
  def set_system_verbosity(loglevel):
      """ Set the verbosity level of tensorflow and suppresses
          future and deprecation warnings from any modules
          From:
 
</s> remove             if not IS_MACOS:
 </s> add             if not IS_MACOS and not self.plaid: </s> remove         logger.trace(retval)
 </s> add         self.logger.trace(retval) </s> remove         logger.trace(retval)
 </s> add         self.logger.trace(retval)
def keras_backend_quiet():
    """ Suppresses the "Using x backend" message when importing
        backend from keras """
    stderr = sys.stderr
    sys.stderr = open(os.devnull, 'w')
    from keras import backend as K
    sys.stderr = stderr
    return K


          os.rename(origfile, backupfile)
  
  
def keras_backend_quiet():
    """ Suppresses the "Using x backend" message when importing
        backend from keras """
    stderr = sys.stderr
    sys.stderr = open(os.devnull, 'w')
    from keras import backend as K
    sys.stderr = stderr
    return K


  def set_system_verbosity(loglevel):
      """ Set the verbosity level of tensorflow and suppresses
          future and deprecation warnings from any modules
          From:
keep keep add keep keep keep keep
 Experimental AMD Support (#764)

* PlaidML support in setup.py

* Add AMD flag for plaidml support

* PlaidML - Use .plaidML file if present, otherwise default to largest available

* Update training info message for GUI

* Add AMD option to Windows Installer

* Add quiet keras.backend importer and minor sysinfo amend.

* plug PlaidMLStats into GPUStats

* Update Docs 
lib/utils.py