code: def tensor2obj(tensor):
      """Deserialize tensor to picklable python object."""
      return pickle.loads(tensor.cpu().numpy().tobytes())
  
file_path: mmdetection/mmdet/utils/dist_utils.py
imports: import functools
  import pickle
  import warnings
  from collections import OrderedDict
  import numpy
  import torch
  import torch.distributed
  from mmengine.dist import get_dist_info
  from torch._utils import _flatten_dense_tensors, _take_tensors, _unflatten_dense_tensors
label_desc: Use image node_id 5 for calling a global function with example usage: tensor2obj(tensor) and returns: pickle