code: def squeeze_tensor(tensor):
      if tensor.shape[0] == 1:
          return tensor[0]
      else:
          return tensor
  
label_desc: Use image node_id 2 for calling a global function with example usage: squeeze_tensor(tensor) and returns: tensor, tensor