code: def test_module(self, device, dtype):
      B, C, H, W = 2, 1, 4, 4
      img = torch.ones(B, C, H, W, device=device, dtype=dtype)
      raw_ops = kornia.color.RawToRgb2x2Downscaled(
          kornia.color.raw.CFA.BG
      ).to(device, dtype)
      raw_fcn = kornia.color.raw_to_rgb_2x2_downscaled
      self.assert_close(
          raw_ops(img), raw_fcn(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 7 for calling the TestRawToRgb2x2Downscaled obj's underlying member method code with example usage: obj.test_module(device, dtype) without return types