code: def lab2hsv(tens: Tensor) -> Tensor:
      r"""
          Converts an LAB Tensor to its HSV version.
  
      Args:
          tens (Tensor): Valid LAB Tensor
  
      Returns:
          HSV Tensor of shape ``(height, width, channels)``
  
      Raises:
          ValueError: If `tens` is not of shape 3
  
      """
      if not _is_lab_image(tens):
          raise ValueError(
              f"Tensor of shape 3 expected. Found shape {len(tens.shape)}. "
              "This function converts a LAB Tensor to its HSV counterpart"
          )
  
      bgr = lab2bgr(tens)
  
      img = bgr2hsv(bgr)
      return to_tensor(img, cspace="hsv")
  
file_path: caer/caer/color/_lab.py
imports: import cv2
  from ..coreten import Tensor, to_tensor
  from ._constants import LAB2BGR, LAB2RGB
  from ._bgr import bgr2gray, bgr2hsv, bgr2hls, bgr2yuv, bgr2luv
label_desc: Use image node_id 5 for calling a global function with example usage: lab2hsv(tens) and returns: to_tensor