code: def _rotate(
      video: torch.Tensor, factor: float, **kwargs
  ) -> torch.Tensor:
      """
      Rotate the image by angle.
  
      Args:
          video (torch.Tensor): Video tensor with shape (T, C, H, W).
          factor (float): The rotation angle value in degrees, counter-clockwise.
      """
      _check_fill_arg(kwargs)
      return torchvision.transforms.functional.rotate(
          video,
          factor,
          fill=kwargs["fill"],
          interpolation=InterpolationMode.BILINEAR,
      )
  
imports: from typing import Any, Callable, Dict, List, Optional, Tuple, Union
  import torch
  import torchvision
  from torch import Tensor
  from torchvision.transforms.functional import InterpolationMode
label_desc: Use image node_id 5 for calling a global function with example usage: _rotate(video, factor) and returns: torchvision