code: def test_rgb2lab():
      cv_rgb = cv.cvtColor(cv_bgr, cv.COLOR_BGR2RGB)
      cv_rgb = caer.to_tensor(cv_rgb, cspace="rgb")
      lab = caer.rgb2lab(cv_rgb)
  
      assert len(lab.shape) == 3
      assert isinstance(lab, caer.Tensor)
      assert lab.is_lab()
  
file_path: caer/tests/color/test_rgb.py
imports: import caer
  import cv2
  import os
label_desc: Use image node_id 5 for calling a global function with example usage: test_rgb2lab() without return types