          """
          if self._backend == "amd":
              return
          if self._backend == "cpu":
              logger.verbose("Hiding GPUs from Tensorflow")
              tf.config.set_visible_devices([], "GPU")
              return
  
          gpus = tf.config.list_physical_devices('GPU')
          if exclude_gpus:
 
</s> remove             ``None`` to not exclude any GPUs. Default: ``None``
 </s> add             ``None`` to not exclude any GPUs </s> remove             and slower performance. Default: False
        exclude_gpus: list, optional
 </s> add             and slower performance
        exclude_gpus: list </s> remove     def _set_session(self, allow_growth, exclude_gpus):
 </s> add     def _set_session(self, allow_growth: bool, exclude_gpus: list) -> None: </s> remove         return self._model.predict(feed, batch_size=batch_size)
 </s> add         return self._model.predict(feed, verbose=0, batch_size=batch_size)
            logger.verbose("Hiding GPUs from Tensorflow")  # type:ignore
          """
          if self._backend == "amd":
              return
          if self._backend == "cpu":
            logger.verbose("Hiding GPUs from Tensorflow")  # type:ignore
              tf.config.set_visible_devices([], "GPU")
              return
  
          gpus = tf.config.list_physical_devices('GPU')
          if exclude_gpus:
keep keep keep keep replace keep keep keep keep keep
 Update TF to 2.9
    - Update TF to 2.7 to 2.9
    - Bump dependencies
    - Remove decode from pynvml calls
    - force keras predict functions to non-verbose
    - update tests
    - update Tensorboard logging
    - Update docs 
lib/model/session.py