code: def complex_abs_t(x: Tensor) -> Tensor:
      """
      Compute the absolute value of a complex tensor.
  
      Args:
          x: Input tensor with 2 channels in the last dimension representing real and imaginary parts.
  
      Returns:
          Absolute value along the last dimension
      """
      if x.shape[-1] != 2:
          raise ValueError(f"x.shape[-1] is not 2 ({x.shape[-1]}).")
      return (x[..., 0] ** 2 + x[..., 1] ** 2) ** 0.5
  
file_path: MONAI/monai/apps/reconstruction/complex_utils.py
imports: from __future__ import annotations
  import re
  import numpy
  import torch
  from torch import Tensor
  from monai.config.type_definitions import NdarrayOrTensor
  from monai.utils.type_conversion import convert_to_numpy, convert_to_tensor
label_desc: Use image node_id 2 for calling a global function with example usage: complex_abs_t(x) and returns: unknown