code: def check_v_shape(v: Tensor) -> None:
      v_shape = v.shape
      len_v_shape = len(v_shape)
      if (
          ((len_v_shape == 2) and (v_shape[1] != 3))
          or ((len_v_shape == 1) and (v_shape[0] != 3))
          or (len_v_shape > 3)
      ):
          raise ValueError(
              f"Invalid input shape, we expect [B, 3], [3] Got: {v_shape}"
          )
  
file_path: kornia/kornia/geometry/liegroup/_utils.py
imports: from kornia.core import Tensor
label_desc: Use image node_id 7 for calling a global function with example usage: check_v_shape(v) without return types