  
      def cudnn_checkfiles_windows(self):
          """ Return the checkfile locations for windows """
          # TODO A more reliable way of getting the windows location
          if not self._cuda_path and not self.cuda_keys_windows:
              return list()
          if not self._cuda_path:
              self._cuda_path = os.environ[self.cuda_keys_windows[0]]
  
          cudnn_checkfile = os.path.join(self._cuda_path, "include", "cudnn.h")
 
</s> remove             self._cuda_path = os.environ[self.cuda_keys_windows[0]]
 </s> add             self._cuda_path = os.environ[self._cuda_keys_windows[0]] </s> remove     def cudnn_checkfiles_windows(self):
        """ Return the checkfile locations for windows """
 </s> add     def _cudnn_checkfiles_windows(self):
        """ Obtain the location of the files to check for cuDNN location in Windows.

        Returns
        str:
            The location of the header files for cuDNN
        """ </s> remove     def get_cuda_path(self):
        """ Return the correct CUDA Path """
        if self.is_linux:
            path = self.cuda_path_linux()
        elif self.is_windows:
            path = self.cuda_path_windows()
 </s> add     def _get_cuda_path(self):
        """ Obtain the path to Cuda install location.

        Returns
        -------
        str
            The path to the install location of Cuda on the system
        """
        if self._is_linux:
            path = self._cuda_path_linux()
        elif self._is_windows:
            path = self._cuda_path_windows() </s> remove     def cudnn_checkfiles_linux():
        """ Return the checkfile locations for linux """
 </s> add     def _cudnn_checkfiles_linux():
        """ Obtain the location of the files to check for cuDNN location in Linux.

        Returns
        str:
            The location of the header files for cuDNN
        """ </s> remove             self.initialized = True
            self.get_device_count()
            self.get_active_devices()
            self.get_handles()

    def shutdown(self):
        """ Shutdown pynvml """
        if self.initialized:
            self.handles = list()
            if not IS_MACOS and not self.plaid:
 </s> add             self._initialized = True
            self._get_device_count()
            self._get_active_devices()
            self._get_handles()

    def _shutdown(self):
        """ Shutdown pynvml if it was the library used for obtaining stats and set
        :attr:`_initialized` back to ``False``. """
        if self._initialized:
            self._handles = list()
            if not IS_MACOS and not self._is_plaidml:
        if not self._cuda_path and not self._cuda_keys_windows:
  
      def cudnn_checkfiles_windows(self):
          """ Return the checkfile locations for windows """
          # TODO A more reliable way of getting the windows location
        if not self._cuda_path and not self._cuda_keys_windows:
              return list()
          if not self._cuda_path:
              self._cuda_path = os.environ[self.cuda_keys_windows[0]]
  
          cudnn_checkfile = os.path.join(self._cuda_path, "include", "cudnn.h")
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