      def format_ram(self):
          """ Format the RAM stats for human output """
          retval = list()
          for name in ("total", "available", "used", "free"):
              value = getattr(self, "ram_{}".format(name))
              value = int(value / (1024 * 1024))
              retval.append("{}: {}MB".format(name.capitalize(), value))
          return ", ".join(retval)
  
  
 
</s> remove     def format_ram(self):
        """ Format the RAM stats for human output """
 </s> add     def _format_ram(self):
        """ Format the RAM stats into Megabytes to make it more readable.

        Returns
        -------
        str
            The total, available, used and free RAM displayed in Megabytes
        """ </s> remove         retval += self.configs
 </s> add         retval += self._configs </s> remove     def format_text(key, val):
        """Format the text for output """
        return "{0: <25} {1}\n".format(key.strip() + ":", val.strip())


class State():
    """ State file for training command """
 </s> add     def _format_text(key, value):
        """Format a key value pair into a consistently spaced string output for display.

        Parameters
        ----------
        key: str
            The label for this display item
        value: str
            The value for this display item

        Returns
        -------
        str
            The formatted key value pair for display
        """
        return "{0: <25} {1}\n".format(key.strip() + ":", value.strip())


class _State():
    """ Parses the state file in the current model directory, if the model is training, and
    formats the content into a human readable format. """ </s> remove                     for handle in self.handles]
        self.shutdown()
        if self.logger:
            self.logger.debug("GPU VRAM free: %s", vram)
 </s> add                     for handle in self._handles]
        self._shutdown()
        self._log("debug", "GPU VRAM free: {}".format(vram)) </s> remove         """ Format system info human readable """
 </s> add         """ Obtain extensive system information stats, formatted into a human readable format.

        Returns
        -------
        str
            The system information for the currently running system, formatted for output to
            console or a log file.
        """
            value = getattr(self, "_ram_{}".format(name))
      def format_ram(self):
          """ Format the RAM stats for human output """
          retval = list()
          for name in ("total", "available", "used", "free"):
            value = getattr(self, "_ram_{}".format(name))
              value = int(value / (1024 * 1024))
              retval.append("{}: {}MB".format(name.capitalize(), value))
          return ", ".join(retval)
  
  
keep keep keep keep 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/sysinfo.py