π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
docs: fix the two docstring defects that merged on 2026-09-17 (#4630)
Dmytro Mishkin5be74dc9fa9b
diff --git a/kornia/augmentation/_2d/intensity/auto_contrast.py b/kornia/augmentation/_2d/intensity/auto_contrast.pyindex 8e41f19a7..199d87928 100644--- a/kornia/augmentation/_2d/intensity/auto_contrast.py+++ b/kornia/augmentation/_2d/intensity/auto_contrast.py@@ -52,7 +52,7 @@ class RandomAutoContrast(IntensityAugmentationBase2D):(``inf / inf``) and every other element comes back exactly ``0`` (a finite numerator over ``inf``).``[-60000, 60000, 0, 1]`` in ``float16`` returns ``[0, nan, 0, 0]``.- - non-contiguous input, such as a ``transpose``d or ``permute``d image, produces the same+ - non-contiguous input, such as a transposed or permuted image, produces the samevalues as its contiguous copy... note::diff --git a/kornia/augmentation/_2d/intensity/normalize.py b/kornia/augmentation/_2d/intensity/normalize.pyindex ad25a5952..1900cf1cc 100644--- a/kornia/augmentation/_2d/intensity/normalize.py+++ b/kornia/augmentation/_2d/intensity/normalize.py@@ -58,7 +58,7 @@ class Normalize(IntensityAugmentationBase2D):inverts this class, up to float rounding, when both apply -- each draws its own ``p`` gate.- the result is not clamped: moving an image out of ``[0, 1]`` is what this class is for.- - non-contiguous input, such as a ``transpose``d or ``permute``d image, produces the same+ - non-contiguous input, such as a transposed or permuted image, produces the samevalues as its contiguous copy... note::diff --git a/kornia/geometry/bbox.py b/kornia/geometry/bbox.pyindex 3bea8752a..b53637ff5 100644--- a/kornia/geometry/bbox.py+++ b/kornia/geometry/bbox.py@@ -655,7 +655,7 @@ def bbox_generator3d(bbox[:, :, 0] += x_start.view(-1, 1)bbox[:, :, 1] += y_start.view(-1, 1)bbox[:, :, 2] += z_start.view(-1, 1)- # Extent is start + size, not start + size - 1: see the warning in this function's docstring (#4018).+ # Far corner is at start + size, not start + size - 1: see the warning in this function's docstring (#4018).bbox[:, 1, 0] += width.view(-1)bbox[:, 2, 0] += width.view(-1)bbox[:, 2, 1] += height.view(-1)@@ -663,7 +663,7 @@ def bbox_generator3d(# backbbox_back = bbox.clone()- # Extent is start + size, not start + size - 1: see the warning in this function's docstring (#4018).+ # Far corner is at start + size, not start + size - 1: see the warning in this function's docstring (#4018).bbox_back[:, :, -1] += depth.view(-1, 1).expand(-1, 4)bbox = torch.cat([bbox, bbox_back], dim=1)