                          return
                  except Exception as err:  # pylint: disable=broad-except
                      msg = ("An unhandled exception occured loading pynvml. "
                             "Original error: {}".format(str(err)))
                      if self.logger:
                          self.logger.error(msg)
                      else:
                          print(msg)
                      self.initialized = True
                      return
              self.initialized = True
 
</s> remove                         if self.logger:
                            self.logger.warning(msg)
                        self.initialized = True
 </s> add                         self._log("warning", msg)
                        self._initialized = True </s> remove                     self.initialized = True
 </s> add                     self._initialized = True </s> remove                     if self.logger:
                        self.logger.debug("OS is not macOS. Using pynvml")
 </s> add                     self._log("debug", "OS is not macOS. Trying pynvml") </s> remove         retval = SysInfo().full_info()
 </s> add         retval = _SysInfo().full_info() </s> remove                     self.initialized = True
 </s> add                     self._initialized = True
                    if self._logger:
                        self._logger.error(msg)
                          return
                  except Exception as err:  # pylint: disable=broad-except
                      msg = ("An unhandled exception occured loading pynvml. "
                             "Original error: {}".format(str(err)))
                    if self._logger:
                        self._logger.error(msg)
                    if self._logger:
                        self._logger.error(msg)
                      else:
                          print(msg)
                      self.initialized = True
                      return
              self.initialized = True
keep keep keep keep replace replace keep keep keep keep keep
 Core Updates (#1015)

- Remove lib.utils.keras_backend_quiet and replace with get_backend() where relevant
- Document lib.gpu_stats and lib.sys_info
- Remove call to GPUStats.is_plaidml from convert and replace with get_backend()
- lib.gui.menu - typofix 
lib/gpu_stats.py