code: def shuffle_lr(parts, pairs=None):
      """Shuffle the points left-right according to the axis of symmetry
      of the object.
  
      Arguments:
          parts {torch.tensor} -- a 3D or 4D object containing the
          heatmaps.
  
      Keyword Arguments:
          pairs {list of integers} -- [order of the flipped points] (default: {None})
      """
      if pairs is None:
          pairs = [
              16,
              15,
              14,
              13,
              12,
              11,
              10,
              9,
              8,
              7,
              6,
              5,
              4,
              3,
              2,
              1,
              0,
              26,
              25,
              24,
              23,
              22,
              21,
              20,
              19,
              18,
              17,
              27,
              28,
              29,
              30,
              35,
              34,
              33,
              32,
              31,
              45,
              44,
              43,
              42,
              47,
              46,
              39,
              38,
              37,
              36,
              41,
              40,
              54,
              53,
              52,
              51,
              50,
              49,
              48,
              59,
              58,
              57,
              56,
              55,
              64,
              63,
              62,
              61,
              60,
              67,
              66,
              65,
          ]
      if parts.ndimension() == 3:
          parts = parts[pairs, ...]
      else:
          parts = parts[:, pairs, ...]
  
      return parts
  
imports: import os
  import sys
  import errno
  import torch
  import math
  import numpy
  import cv2
  from skimage import io
  from skimage import color
  from numba import jit
  from urllib.parse import urlparse
  from torch.hub import download_url_to_file, HASH_REGEX
label_desc: Use image node_id 10 for calling a global function with example usage: shuffle_lr(parts, pairs) and returns: parts