code: def machine_family_to_gpu(machine_family: str) -> Optional[str]:
      return MACHINE_FAMILY_TO_ACCELERATOR_VERSIONS.get(machine_family)
  
file_path: hail/batch/batch/cloud/gcp/resource_utils.py
imports: import logging
  import re
  from typing import Optional, Tuple
label_desc: Use image node_id 9 for calling a global function with example usage: machine_family_to_gpu(machine_family) and returns: MACHINE_FAMILY_TO_ACCELERATOR_VERSIONS