code: def rgb2bgr(x):
      """
      Convert clip frames from RGB mode to BRG mode.
      Args:
          x (Tensor): A tensor of the clip's RGB frames with shape:
              (channel, time, height, width).
  
      Returns:
          x (Tensor): Converted tensor
      """
      return x[[2, 1, 0], ...]
  
imports: import functools
  import os
  from typing import Dict
  import torch
  from torch.utils.data import DistributedSampler, RandomSampler, SequentialSampler
  from torchvision.transforms import Compose, Lambda
  from torchvision.transforms._transforms_video import NormalizeVideo, RandomCropVideo, RandomHorizontalFlipVideo
  import slowfast.utils.logging
  from pytorchvideo.data import Charades, LabeledVideoDataset, SSv2, make_clip_sampler
  from pytorchvideo.data.labeled_video_paths import LabeledVideoPaths
  from pytorchvideo.transforms import ApplyTransformToKey, RandomShortSideScale, ShortSideScale, UniformCropVideo, UniformTemporalSubsample
  from .None import utils
  from .build import DATASET_REGISTRY
label_desc: Use image node_id 4 for calling a global function with example usage: rgb2bgr(x) and returns: x