  
  def full_path_split(path):
      """ Split a given path into all of it's separate components """
      allparts = list()
      while True:
          parts = os.path.split(path)
          if parts[0] == path:   # sentinel for absolute paths
              allparts.insert(0, parts[0])
 
</s> remove             self.active_devices = list(range(self.device_count))
        if self.logger:
            self.logger.debug("Active GPU Devices: %s", self.active_devices)
 </s> add             devices = os.environ.get("CUDA_VISIBLE_DEVICES", None)
            if self.device_count == 0:
                self.active_devices = list()
            elif devices is not None:
                self.active_devices = [int(i) for i in devices.split(",") if devices]
            else:
                self.active_devices = list(range(self.device_count))
            if self.logger:
                self.logger.debug("Active GPU Devices: %s", self.active_devices)
    logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  def full_path_split(path):
      """ Split a given path into all of it's separate components """
    logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
      allparts = list()
      while True:
          parts = os.path.split(path)
          if parts[0] == path:   # sentinel for absolute paths
              allparts.insert(0, parts[0])
keep keep add keep 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