code: def rot180(input: Tensor) -> Tensor:
      r"""Rotate a tensor image or a batch of tensor images 180 degrees.
  
      .. image:: _static/img/rot180.png
  
      Input must be a tensor of shape (C, H, W) or a batch of tensors :math:`(*, C, H, W)`.
  
      Args:
          input: input tensor.
  
      Returns:
          The rotated image tensor.
      """
      return torch.flip(input, [-2, -1])
  
file_path: kornia/kornia/geometry/transform/flips.py
imports: import torch
  from kornia.core import Module, Tensor
label_desc: Use image node_id 1 for calling a global function with example usage: rot180(input) and returns: torch