code: def _test_fn_save_load(fn, tmpdir):
      scripted_fn = torch.jit.script(fn)
      p = os.path.join(
          tmpdir,
          f"t_op_list_{getattr(fn, '__name__', fn.__class__.__name__)}.pt",
      )
      scripted_fn.save(p)
      _ = torch.jit.load(p)
  
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 6 for calling a global function with example usage: _test_fn_save_load(fn, tmpdir) without return types