code: def _test_op(
      func,
      method,
      device,
      channels=3,
      fn_kwargs=None,
      meth_kwargs=None,
      test_exact_match=True,
      **match_kwargs,
  ):
      _test_functional_op(
          func,
          device,
          channels,
          fn_kwargs,
          test_exact_match=test_exact_match,
          **match_kwargs,
      )
      _test_class_op(
          method,
          device,
          channels,
          meth_kwargs,
          test_exact_match=test_exact_match,
          **match_kwargs,
      )
  
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 5 for calling a global function with example usage: _test_op(func, method, device, channels, fn_kwargs, meth_kwargs, test_exact_match) without return types