code: def tf_serving_retry_policy(name):
      return {
          "wait": wait_random_exponential(
              multiplier=1,
              min=4,
              max=20,
          ),
          "stop": stop_after_attempt(
              int(os.environ.get("MODELKIT_TF_SERVING_ATTEMPTS", 10))
          ),
          "retry": retry_if_exception(retriable_error),
          "after": log_after_retry(name),
          "reraise": True,
      }
  
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 3 for calling a global function with example usage: tf_serving_retry_policy(name) and returns: dict