code: def test_unit(self, device, dtype):
      data = torch.tensor(
          [
              [[1.0, 1.0], [1.0, 1.0]],
              [[2.0, 2.0], [2.0, 2.0]],
              [[3.0, 3.0], [3.0, 3.0]],
          ],
          device=device,
          dtype=dtype,
      )  # 3x2x2
  
      expected = torch.tensor(
          [
              [[3.0, 3.0], [3.0, 3.0]],
              [[2.0, 2.0], [2.0, 2.0]],
              [[1.0, 1.0], [1.0, 1.0]],
          ],
          device=device,
          dtype=dtype,
      )  # 3x2x2
  
      f = kornia.color.rgb_to_bgr
      self.assert_close(f(data), expected)
  
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  from kornia.testing import BaseTester
label_desc: Use image node_id 5 for calling the TestRgbToBgr obj's underlying member method code with example usage: obj.test_unit(device, dtype) without return types