code: def torch_rot180(x: Tensor):
      """
      Rotate 4D image tensor by 180 degrees
      :param x:
      :return:
      """
      return torch.rot90(x, k=2, dims=(2, 3))
  
imports: import itertools
  from collections.abc import Sized, Iterable
  from typing import Union, Tuple
  import torch
  from torch import Tensor
  from ..utils.support import pytorch_toolbelt_deprecated
label_desc: Use image node_id 9 for calling a global function with example usage: torch_rot180(x) and returns: torch