π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
Fix docstring of normalize_quaternion (#1374)
Bharath Raje0c088c419b3
diff --git a/kornia/geometry/conversions.py b/kornia/geometry/conversions.pyindex 2656ac5b7..f51551e56 100644--- a/kornia/geometry/conversions.py+++ b/kornia/geometry/conversions.py@@ -456,7 +456,7 @@ def rotation_matrix_to_quaternion(def normalize_quaternion(quaternion: torch.Tensor, eps: float = 1.0e-12) -> torch.Tensor:r"""Normalize a quaternion.- The quaternion should be in (x, y, z, w) format.+ The quaternion should be in (x, y, z, w) or (w, x, y, z) format.Args:quaternion: a tensor containing a quaternion to be normalized.