def get_accelerator_type(accl_type):
    """Returns the accelerator type to be used on a GCP machine."""
    accl_type_map = {
        "CPU": "ACCELERATOR_TYPE_UNSPECIFIED",
        "K80": "NVIDIA_TESLA_K80",
        "P100": "NVIDIA_TESLA_P100",
        "V100": "NVIDIA_TESLA_V100",
        "P4": "NVIDIA_TESLA_P4",
        "T4": "NVIDIA_TESLA_T4",
        "TPU_V2": "TPU_V2",
        "TPU_V3": "TPU_V3",
    }
    return accl_type_map[accl_type]