code: def make_disparity_image_pairs(disparity: Tensor, image: Tensor):
      disparity = make_disparity_image(disparity)
      # image is in [-1, 1], bring it to [0, 1]
      image = image.detach().cpu()
      image = image * 0.5 + 0.5
      return disparity, image
  
file_path: vision/references/depth/stereo/visualization.py
imports: import os
  from typing import List
  import numpy
  import torch
  from torch import Tensor
  from torchvision.utils import make_grid
label_desc: Use image node_id 2 for calling a global function with example usage: make_disparity_image_pairs(disparity, image) and returns: disparity,  image