class_docstr: Accelerator for XLA devices, normally TPUs.
  
  .. warning::  Use of this accelerator beyond import and instantiation is experimental.
class_docstr_tok: ["Accelerator","for","XLA","devices",",","normally","TPUs",".","..","warning",":",":","Use","of","this","accelerator","beyond","import","and","instantiation","is","experimental","."]
code: def register_accelerators(
      cls, accelerator_registry: _AcceleratorRegistry
  ) -> None:
      accelerator_registry.register(
          "tpu", cls, description=cls.__name__
      )
  
file_path: pytorch-lightning/src/lightning/pytorch/accelerators/xla.py
imports: from typing import Any, Dict
  from typing_extensions import override
  from lightning.fabric.accelerators import _AcceleratorRegistry
  from lightning.fabric.accelerators.xla import XLAAccelerator
  from lightning.fabric.utilities.types import _DEVICE
  from lightning.pytorch.accelerators.accelerator import Accelerator
label_desc: Use image node_id 2 for calling the XLAAccelerator obj's underlying member method code with example usage: obj.register_accelerators(cls, accelerator_registry) without return types