code: def test_to_rgb():
      caer_rgb_rgb = caer.to_rgb(cv_rgb)
      caer_bgr_rgb = caer.to_rgb(cv_bgr)
      caer_gray_rgb = caer.to_rgb(cv_gray)
      caer_hsv_rgb = caer.to_rgb(cv_hsv)
      caer_hls_rgb = caer.to_rgb(cv_hls)
      caer_lab_rgb = caer.to_rgb(cv_lab)
      caer_yuv_rgb = caer.to_rgb(cv_yuv)
      caer_luv_rgb = caer.to_rgb(cv_luv)
  
      assert isinstance(caer_rgb_rgb, caer.Tensor)
      assert isinstance(caer_bgr_rgb, caer.Tensor)
      assert isinstance(caer_gray_rgb, caer.Tensor)
      assert isinstance(caer_hsv_rgb, caer.Tensor)
      assert isinstance(caer_hls_rgb, caer.Tensor)
      assert isinstance(caer_lab_rgb, caer.Tensor)
      assert isinstance(caer_yuv_rgb, caer.Tensor)
      assert isinstance(caer_luv_rgb, caer.Tensor)
  
      assert caer_rgb_rgb.shape == cv_rgb.shape
      assert caer_bgr_rgb.shape == cv_rgb.shape
      assert caer_gray_rgb.shape == cv_rgb.shape
      assert caer_hsv_rgb.shape == cv_rgb.shape
      assert caer_hls_rgb.shape == cv_rgb.shape
      assert caer_lab_rgb.shape == cv_rgb.shape
      assert caer_yuv_rgb.shape == cv_rgb.shape
      assert caer_luv_rgb.shape == cv_rgb.shape
  
      assert caer_rgb_rgb.cspace == "rgb"
      assert caer_bgr_rgb.cspace == "rgb"
      assert caer_gray_rgb.cspace == "rgb"
      assert caer_hsv_rgb.cspace == "rgb"
      assert caer_hls_rgb.cspace == "rgb"
      assert caer_lab_rgb.cspace == "rgb"
      assert caer_yuv_rgb.cspace == "rgb"
      assert caer_luv_rgb.cspace == "rgb"
  
      assert len(caer_rgb_rgb.shape) == 3
      assert len(caer_bgr_rgb.shape) == 3
      assert len(caer_gray_rgb.shape) == 3
      assert len(caer_hsv_rgb.shape) == 3
      assert len(caer_hls_rgb.shape) == 3
      assert len(caer_lab_rgb.shape) == 3
      assert len(caer_yuv_rgb.shape) == 3
      assert len(caer_luv_rgb.shape) == 3
  
file_path: caer/tests/color/test_core.py
imports: import caer
  import cv2
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: test_to_rgb() without return types