code: def connect_tf_serving_rest(model_name, host, port) -> None:
      try:
          for attempt in Retrying(
              **tf_serving_retry_policy("tf-serving-rest")
          ):
              with attempt:
                  response = requests.get(
                      f"http://{host}:{port}/v1/models/{model_name}"
                  )
                  if response.status_code != 200:  # pragma: no cover
                      raise TFServingError(
                          "Error connecting to TF serving"
                      )
      except requests.exceptions.ConnectionError:
          logger.error("Error connecting to TF serving")
          raise
  
imports: import abc
  import json
  import os
  from typing import Any, Dict, List, Optional, Tuple, Type
  import aiohttp
  import requests
  from structlog import get_logger
  from tenacity import Retrying, retry_if_exception, stop_after_attempt, wait_random_exponential
  from modelkit.core.model import AsyncModel, Model
  from modelkit.core.types import ItemType, ReturnType
  from modelkit.utils.serialization import safe_np_dump
label_desc: Use image node_id 5 for calling a global function with example usage: connect_tf_serving_rest(model_name, host, port) without return types