code: def unpad_3dim(img, pad):
      if pad[2] + pad[3] > 0:
          img = img[:, pad[2] : -pad[3], :]
      if pad[0] + pad[1] > 0:
          img = img[:, :, pad[0] : -pad[1]]
      return img
  
file_path: PaddleSeg/EISeg/eiseg/plugin/video/util/tensor_util.py
imports: import numpy
  import paddle
  import paddle.nn.functional
  from paddle.vision import transforms
label_desc: Use image node_id 11 for calling a global function with example usage: unpad_3dim(img, pad) and returns: img