code: def test_module(self, device, dtype):
      B, C, H, W = 2, 3, 4, 4
      img = torch.ones(B, C, H, W, device=device, dtype=dtype)
      ops = kornia.color.RgbToYuv420().to(device, dtype)
      fcn = kornia.color.rgb_to_yuv420
      self.assert_close(ops(img)[0], fcn(img)[0])
      self.assert_close(ops(img)[1], fcn(img)[1])
  
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  from kornia.testing import BaseTester
label_desc: Use image node_id 12 for calling the TestRgbToYuv420 obj's underlying member method code with example usage: obj.test_module(device, dtype) without return types