code: def get_distribution_strategy_str(run_kwargs):
      """Gets the name of a distribution strategy based on cloud run config."""
      if (
          "worker_count" in run_kwargs
          and run_kwargs["worker_count"] > 0
      ):
          if (
              "worker_config" in run_kwargs
              and machine_config.is_tpu_config(
                  run_kwargs["worker_config"]
              )
          ):
              return "tpu"
          else:
              return "multi_mirror"
      elif (
          "chief_config" in run_kwargs
          and run_kwargs["chief_config"].accelerator_count > 1
      ):
          return "mirror"
      else:
          return "one_device"
  
imports: import os
  import pickle
  from typing import Any, Dict, Optional
  import uuid
  from ..None import machine_config
  from ..None import run
  import tensorflow
  import tensorflow_datasets
  from official.legacy.image_classification.efficientnet import efficientnet_model
  from official.legacy.image_classification.resnet import resnet_model
label_desc: Use image node_id 14 for calling a global function with example usage: get_distribution_strategy_str(run_kwargs) and returns: str, str, str, str