          if self.logger:
              self.logger.debug("Initialized %s", self.__class__.__name__)
  
      def initialize(self, log=False):
          """ Initialize pynvml """
          if not self.initialized:
              if K.backend() == "plaidml.keras.backend":
                  if self.logger:
                      self.logger.debug("plaidML Detected. Using plaidMLStats")
 
</s> remove     def get_card_most_free(self):
 </s> add     def get_card_most_free(self, supports_plaidml=True): </s> remove         if self.device_count == 0:
 </s> add         if self.device_count == 0 or (self.is_plaidml and not supports_plaidml): </s> remove         return plaidml.settings.device_ids
 </s> add         return [idx for idx, d_id in enumerate(self.ids) if d_id in plaidml.settings.device_ids] </s> remove     @staticmethod
    def get_vram_free():
 </s> add     def get_vram_free(self):
    @property
    def is_plaidml(self):
        """ Return whether running on plaidML backend """
        return self.plaid is not None

          if self.logger:
              self.logger.debug("Initialized %s", self.__class__.__name__)
  
    @property
    def is_plaidml(self):
        """ Return whether running on plaidML backend """
        return self.plaid is not None

      def initialize(self, log=False):
          """ Initialize pynvml """
          if not self.initialized:
              if K.backend() == "plaidml.keras.backend":
                  if self.logger:
                      self.logger.debug("plaidML Detected. Using plaidMLStats")
keep keep add keep keep keep keep keep keep
 Fix Active Devices for plaidML. Add Supports PlaidML to Extractors 
lib/gpu_stats.py