      """
      global _TF_VERS  # pylint:disable=global-statement
      if _TF_VERS is None:
          import tensorflow as tf  # pylint:disable=import-outside-toplevel
          _TF_VERS = float(".".join(tf.__version__.split(".")[:2]))  # pylint:disable=no-member
      return _TF_VERS
  
  
  def get_folder(path: str, make_folder: bool = True) -> str:
      """ Return a path to a folder, creating it if it doesn't exist
 
</s> remove         amd_ver = 2.2
        min_ver = 2.7
        max_ver = 2.9
 </s> add         amd_ver = (2, 2)
        min_ver = (2, 7)
        max_ver = (2, 9) </s> remove         if get_tf_version() > 2.7:
 </s> add         if get_tf_version() > (2, 7): </s> remove _TF_VERS: Optional[float] = None
 </s> add _TF_VERS: Optional[Tuple[int, int]] = None </s> remove def get_tf_version() -> float:
 </s> add def get_tf_version() -> Tuple[int, int]: </s> remove     tf_min: float = 2.0
 </s> add     tf_min: Tuple[int, int] = (2, 0)
        split = tf.__version__.split(".")[:2]
        _TF_VERS = (int(split[0]), int(split[1]))
      """
      global _TF_VERS  # pylint:disable=global-statement
      if _TF_VERS is None:
          import tensorflow as tf  # pylint:disable=import-outside-toplevel
        split = tf.__version__.split(".")[:2]
        _TF_VERS = (int(split[0]), int(split[1]))
      return _TF_VERS
  
  
  def get_folder(path: str, make_folder: bool = True) -> str:
      """ Return a path to a folder, creating it if it doesn't exist
keep keep keep keep replace keep keep keep keep keep
 Bugfix - TF Version check 
lib/utils.py