code: def _test_transform_vs_scripted(
      transform, s_transform, tensor, msg=None
  ):
      torch.manual_seed(12)
      out1 = transform(tensor)
      torch.manual_seed(12)
      out2 = s_transform(tensor)
      assert_equal(out1, out2, msg=msg)
  
imports: import os
  import sys
  import numpy
  import PIL.Image
  import pytest
  import torch
  from common_utils import _assert_approx_equal_tensor_to_pil, _assert_equal_tensor_to_pil, _create_data, _create_data_batch, assert_equal, cpu_and_cuda, float_dtypes, get_tmp_dir, int_dtypes
  from torchvision import transforms
  from torchvision.transforms import functional, InterpolationMode
  from torchvision.transforms.autoaugment import _apply_op
label_desc: Use image node_id 1 for calling a global function with example usage: _test_transform_vs_scripted(transform, s_transform, tensor, msg) without return types