code: def test_wrap(make_input):
      dp = make_input()
  
      # any operation besides the ones listed in _FORCE_TORCHFUNCTION_SUBCLASS will do here
      output = dp * 2
  
      dp_new = tv_tensors.wrap(output, like=dp)
  
      assert type(dp_new) is type(dp)
      assert dp_new.data_ptr() == output.data_ptr()
  
imports: from copy import deepcopy
  import pytest
  import torch
  from common_utils import assert_equal, make_bounding_boxes, make_image, make_segmentation_mask, make_video
  from PIL import Image
  from torchvision import tv_tensors
label_desc: Use image node_id 18 for calling a global function with example usage: test_wrap(make_input) without return types