code: def __init__(self, vector: Tensor) -> None:
      super().__init__(vector)
      KORNIA_CHECK(vector.shape[-1] == 3)
  
imports: from typing import Optional, Tuple, Union, cast
  from kornia.core import Device, Dtype, Tensor, as_tensor, normalize, rand, stack
  from kornia.core.check import KORNIA_CHECK
  from kornia.core.tensor_wrapper import TensorWrapper, wrap
  from kornia.geometry.linalg import batched_dot_product, batched_squared_norm
label_desc: Use image node_id 1 to create a new Vector3 object from inherited base classes: TensorWrapper with example: obj = Vector3(vector)