code: def test_usual_operations(make_input, return_type, op):
      dp = make_input()
      with tv_tensors.set_return_type(return_type):
          out = op(dp)
      assert type(out) is (
          type(dp) if return_type == "TVTensor" else torch.Tensor
      )
      if (
          isinstance(dp, tv_tensors.BoundingBoxes)
          and return_type == "TVTensor"
      ):
          assert hasattr(out, "format")
          assert hasattr(out, "canvas_size")
  
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 20 for calling a global function with example usage: test_usual_operations(make_input, return_type, op) without return types