          elif self.plaid:
              vram = self.plaid.vram
          elif IS_MACOS:
              vram = [pynvx.cudaGetMemTotal(handle, ignore=True) / (1024 * 1024)
                      for handle in self.handles]
          else:
              vram = [pynvml.nvmlDeviceGetMemoryInfo(handle).total /
                      (1024 * 1024)
                      for handle in self.handles]
          if self.logger:
 
</s> remove                     for handle in self.handles]
 </s> add                     for handle in self._handles] </s> remove         elif self.plaid:
            vram = self.plaid.vram
 </s> add         elif self._is_plaidml:
            vram = self._plaid.vram </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                     for handle in self.handles]
        if self.logger:
            self.logger.debug("GPU VRAM: %s", vram)
 </s> add                     for handle in self._handles]
        self._log("debug", "GPU VRAM: {}".format(vram)) </s> remove     def get_free(self):
        """ Return the vram available """
        self.initialize()
        if self.plaid:
            # NB There is no useful way to get free VRAM on PlaidML.
            # OpenCL loads and unloads VRAM as required, so this returns the total memory
            # It's not particularly useful
            vram = self.plaid.vram
 </s> add         """
        self._initialize()
        if self._is_plaidml:
            vram = self._plaid.vram
                    for handle in self._handles]
          elif self.plaid:
              vram = self.plaid.vram
          elif IS_MACOS:
              vram = [pynvx.cudaGetMemTotal(handle, ignore=True) / (1024 * 1024)
                    for handle in self._handles]
          else:
              vram = [pynvml.nvmlDeviceGetMemoryInfo(handle).total /
                      (1024 * 1024)
                      for handle in self.handles]
          if self.logger:
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/gpu_stats.py