code: def tensor_to_image(t: Tensor) -> np.ndarray:
      return t.detach().cpu().numpy().transpose(1, 2, 0)
  
file_path: icevision/icevision/utils/torch_utils.py
imports: from icevision.imports import *
label_desc: Use image node_id 2 for calling a global function with example usage: tensor_to_image(t) and returns: t