code: def test_jit(self, device, dtype):
      if version.parse(torch.__version__) < version.parse("1.7.0"):
          warnings.warn(
              "This test is not compatible with pytorch < 1.7.0. This message will be removed as soon as we do not "
              "support pytorch 1.6.0. `rgb_to_hls()` method for pytorch < 1.7.0 version cannot be compiled with JIT.",
              DeprecationWarning,
              stacklevel=2,
          )
          return
      B, C, H, W = 2, 1, 4, 4
      img = torch.ones(B, C, H, W, device=device, dtype=dtype)
      op = kornia.color.raw_to_rgb
      op_jit = torch.jit.script(op)
      assert_close(
          op(img, kornia.color.raw.CFA.BG),
          op_jit(img, kornia.color.raw.CFA.BG),
      )
  
imports: import warnings
  import pytest
  import torch
  from packaging import version
  from torch.autograd import gradcheck
  import kornia
  from kornia.testing import BaseTester, assert_close
label_desc: Use image node_id 9 for calling the TestRawToRgb obj's underlying member method code with example usage: obj.test_jit(device, dtype) without return types