code: def _get_tf_runtime_version(tf_version: str) -> str:
      """Returns the tensorflow runtime version used in Cloud AI Platform.
  
      This is only used for prediction service.
  
      Args:
        tf_version: version string returned from `tf.__version__`.
      Returns: same major.minor version of installed tensorflow, except when
        overriden by _TF_COMPATIBILITY_OVERRIDE.
      """
      tf_version = ".".join(tf_version.split(".")[0:2])
      return _TF_COMPATIBILITY_OVERRIDE.get(tf_version) or tf_version
  
imports: import abc
  import sys
  import time
  from typing import Any, Dict, Optional, Union
  from absl import logging
  from google.cloud import aiplatform
  from googleapiclient import discovery
  from googleapiclient import errors
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: _get_tf_runtime_version(tf_version) and returns: unknown