π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
docs: add missing package docstrings (D104)
Keshav Singhd76c2a5f6799
diff --git a/kornia/__init__.py b/kornia/__init__.pyindex 3e94ae341..18cb73613 100644--- a/kornia/__init__.py+++ b/kornia/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia β Differentiable computer vision and image processing for PyTorch.+"""Kornia β Differentiable computer vision and image processing for PyTorch.This package exposes core modules (filters, geometry, etc.) and providesconvenience imports at the top level.diff --git a/kornia/augmentation/__init__.py b/kornia/augmentation/__init__.pyindex d97858e4b..af6bd7ed2 100644--- a/kornia/augmentation/__init__.py+++ b/kornia/augmentation/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Augmentation β Differentiable image, video, and 3D data augmentation for PyTorch.+"""Kornia Augmentation β Differentiable image, video, and 3D data augmentation for PyTorch.This subpackage provides a wide range of augmentation modules for computer vision tasks."""diff --git a/kornia/augmentation/auto/__init__.py b/kornia/augmentation/auto/__init__.pyindex 02c32c064..c82cf2700 100644--- a/kornia/augmentation/auto/__init__.py+++ b/kornia/augmentation/auto/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Augmentation Auto β Automated augmentation policies for computer vision.+"""Kornia Augmentation Auto β Automated augmentation policies for computer vision.This subpackage provides AutoAugment and related policy-based augmentation utilities."""diff --git a/kornia/augmentation/auto/autoaugment/__init__.py b/kornia/augmentation/auto/autoaugment/__init__.pyindex 01bbb8df3..0d6758b22 100644--- a/kornia/augmentation/auto/autoaugment/__init__.py+++ b/kornia/augmentation/auto/autoaugment/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia AutoAugment β AutoAugment policy implementations for Kornia augmentation.+"""Kornia AutoAugment β AutoAugment policy implementations for Kornia augmentation.This subpackage provides the AutoAugment class and related utilities."""diff --git a/kornia/augmentation/auto/operations/__init__.py b/kornia/augmentation/auto/operations/__init__.pyindex 00ddbeb59..82e55d62a 100644--- a/kornia/augmentation/auto/operations/__init__.py+++ b/kornia/augmentation/auto/operations/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia AutoAugment Operations β Building blocks for policy-based augmentation.+"""Kornia AutoAugment Operations β Building blocks for policy-based augmentation.This subpackage provides operation classes and utilities for AutoAugment policies."""diff --git a/kornia/augmentation/auto/rand_augment/__init__.py b/kornia/augmentation/auto/rand_augment/__init__.pyindex 9423f153c..5781dffd0 100644--- a/kornia/augmentation/auto/rand_augment/__init__.py+++ b/kornia/augmentation/auto/rand_augment/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia RandAugment β RandAugment policy implementations for Kornia augmentation.+"""Kornia RandAugment β RandAugment policy implementations for Kornia augmentation.This subpackage provides the RandAugment class and related utilities."""diff --git a/kornia/augmentation/auto/trivial_augment/__init__.py b/kornia/augmentation/auto/trivial_augment/__init__.pyindex 422a6c869..46caa539e 100644--- a/kornia/augmentation/auto/trivial_augment/__init__.py+++ b/kornia/augmentation/auto/trivial_augment/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia TrivialAugment β TrivialAugment policy implementations for Kornia augmentation.+"""Kornia TrivialAugment β TrivialAugment policy implementations for Kornia augmentation.This subpackage provides the TrivialAugment class and related utilities."""diff --git a/kornia/augmentation/container/__init__.py b/kornia/augmentation/container/__init__.pyindex 01073b931..817959350 100644--- a/kornia/augmentation/container/__init__.py+++ b/kornia/augmentation/container/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Augmentation Container β Sequential and dispatcher augmentation utilities.+"""Kornia Augmentation Container β Sequential and dispatcher augmentation utilities.This subpackage provides augmentation containers and dispatchers for flexible pipelines."""diff --git a/kornia/augmentation/presets/__init__.py b/kornia/augmentation/presets/__init__.pyindex 085dd8b1c..58ddd5dcd 100644--- a/kornia/augmentation/presets/__init__.py+++ b/kornia/augmentation/presets/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Augmentation Presets β Predefined augmentation pipelines and configurations.+"""Kornia Augmentation Presets β Predefined augmentation pipelines and configurations.This subpackage provides ready-to-use augmentation presets for common tasks."""diff --git a/kornia/augmentation/random_generator/__init__.py b/kornia/augmentation/random_generator/__init__.pyindex e739d1a67..bea7a1dfd 100644--- a/kornia/augmentation/random_generator/__init__.py+++ b/kornia/augmentation/random_generator/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Augmentation Random Generator β Random parameter generators for augmentations.+"""Kornia Augmentation Random Generator β Random parameter generators for augmentations.This subpackage provides random generators for 2D and 3D augmentation modules."""diff --git a/kornia/augmentation/utils/__init__.py b/kornia/augmentation/utils/__init__.pyindex b6f3d465e..e7fa52bbf 100644--- a/kornia/augmentation/utils/__init__.py+++ b/kornia/augmentation/utils/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Augmentation Utils β Helper functions and utilities for augmentations.+"""Kornia Augmentation Utils β Helper functions and utilities for augmentations.This subpackage provides internal helpers and utility functions for augmentation modules."""diff --git a/kornia/color/__init__.py b/kornia/color/__init__.pyindex 579d9d15f..c12955386 100644--- a/kornia/color/__init__.py+++ b/kornia/color/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Color β Color space conversions and color-related utilities for PyTorch.+"""Kornia Color β Color space conversions and color-related utilities for PyTorch.This subpackage provides modules for color transformations, colormaps, and conversions."""diff --git a/kornia/contrib/__init__.py b/kornia/contrib/__init__.pyindex 59136a28a..eb1d8ff6c 100644--- a/kornia/contrib/__init__.py+++ b/kornia/contrib/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Contrib β Experimental and contributed modules for Kornia.+"""Kornia Contrib β Experimental and contributed modules for Kornia.This subpackage provides community-contributed and experimental features."""diff --git a/kornia/contrib/models/__init__.py b/kornia/contrib/models/__init__.pyindex 758633d4d..e5405927d 100644--- a/kornia/contrib/models/__init__.py+++ b/kornia/contrib/models/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Contrib Models β Experimental and contributed model structures for Kornia.+"""Kornia Contrib Models β Experimental and contributed model structures for Kornia.This subpackage provides contributed model classes and result structures."""diff --git a/kornia/contrib/models/efficient_vit/__init__.py b/kornia/contrib/models/efficient_vit/__init__.pyindex 87760a2b8..ed02d6e3d 100644--- a/kornia/contrib/models/efficient_vit/__init__.py+++ b/kornia/contrib/models/efficient_vit/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Contrib EfficientViT β Efficient Vision Transformer models for Kornia.+"""Kornia Contrib EfficientViT β Efficient Vision Transformer models for Kornia.This subpackage provides EfficientViT model classes and configurations."""diff --git a/kornia/contrib/models/efficient_vit/nn/__init__.py b/kornia/contrib/models/efficient_vit/nn/__init__.pyindex 5ffb1c926..b453ad435 100644--- a/kornia/contrib/models/efficient_vit/nn/__init__.py+++ b/kornia/contrib/models/efficient_vit/nn/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Contrib EfficientViT NN β Neural network layers for EfficientViT models.+"""Kornia Contrib EfficientViT NN β Neural network layers for EfficientViT models.This subpackage provides neural network building blocks for EfficientViT."""diff --git a/kornia/contrib/models/efficient_vit/utils/__init__.py b/kornia/contrib/models/efficient_vit/utils/__init__.pyindex 4f755baca..a2d2b1634 100644--- a/kornia/contrib/models/efficient_vit/utils/__init__.py+++ b/kornia/contrib/models/efficient_vit/utils/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Contrib EfficientViT Utils β Utility functions for EfficientViT models.+"""Kornia Contrib EfficientViT Utils β Utility functions for EfficientViT models.This subpackage provides helper functions and utilities for EfficientViT implementations."""diff --git a/kornia/contrib/models/rt_detr/__init__.py b/kornia/contrib/models/rt_detr/__init__.pyindex 632c9402e..7aa256fd1 100644--- a/kornia/contrib/models/rt_detr/__init__.py+++ b/kornia/contrib/models/rt_detr/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Contrib RT-DETR β Real-time DEtection TRansformer models for Kornia.+"""Kornia Contrib RT-DETR β Real-time DEtection TRansformer models for Kornia.This subpackage provides RT-DETR model classes, configs, and post-processors."""diff --git a/kornia/contrib/models/rt_detr/architecture/__init__.py b/kornia/contrib/models/rt_detr/architecture/__init__.pyindex 15c8d45a7..028ddb379 100644--- a/kornia/contrib/models/rt_detr/architecture/__init__.py+++ b/kornia/contrib/models/rt_detr/architecture/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Contrib RT-DETR Architecture β Model architecture components for RT-DETR.+"""Kornia Contrib RT-DETR Architecture β Model architecture components for RT-DETR.This subpackage provides building blocks for RT-DETR model architectures."""diff --git a/kornia/contrib/models/sam/__init__.py b/kornia/contrib/models/sam/__init__.pyindex 5bc4836eb..d16bedc4e 100644--- a/kornia/contrib/models/sam/__init__.py+++ b/kornia/contrib/models/sam/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Contrib SAM β Segment Anything Model (SAM) integration for Kornia.+"""Kornia Contrib SAM β Segment Anything Model (SAM) integration for Kornia.This subpackage provides SAM model classes and configuration for segmentation tasks."""diff --git a/kornia/contrib/models/sam/architecture/__init__.py b/kornia/contrib/models/sam/architecture/__init__.pyindex 92e098df4..32f3f1df3 100644--- a/kornia/contrib/models/sam/architecture/__init__.py+++ b/kornia/contrib/models/sam/architecture/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Contrib SAM Architecture β Model architecture components for SAM.+"""Kornia Contrib SAM Architecture β Model architecture components for SAM.This subpackage provides building blocks for the Segment Anything Model (SAM)."""diff --git a/kornia/core/__init__.py b/kornia/core/__init__.pyindex 49e6e03e3..fc366686a 100644--- a/kornia/core/__init__.py+++ b/kornia/core/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Core β Core tensor operations, backends, and utilities for Kornia.+"""Kornia Core β Core tensor operations, backends, and utilities for Kornia.This subpackage provides core functionality, device management, and backend support."""diff --git a/kornia/core/mixin/__init__.py b/kornia/core/mixin/__init__.pyindex 6c0b33d2f..2be7a652b 100644--- a/kornia/core/mixin/__init__.py+++ b/kornia/core/mixin/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Core Mixin β Mixins for image modules and ONNX export in Kornia.+"""Kornia Core Mixin β Mixins for image modules and ONNX export in Kornia.This subpackage provides mixin classes for extending core functionality."""diff --git a/kornia/enhance/__init__.py b/kornia/enhance/__init__.pyindex d1973c13a..d3b96c945 100644--- a/kornia/enhance/__init__.py+++ b/kornia/enhance/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Enhance β Image enhancement operations for Kornia.+"""Kornia Enhance β Image enhancement operations for Kornia.This subpackage provides modules for brightness, contrast, and other image enhancements."""diff --git a/kornia/feature/__init__.py b/kornia/feature/__init__.pyindex eaac8c2de..1d334191d 100644--- a/kornia/feature/__init__.py+++ b/kornia/feature/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Feature β Feature detection, description, and matching for Kornia.+"""Kornia Feature β Feature detection, description, and matching for Kornia.This subpackage provides modules for keypoint detection, descriptors, and feature matching."""diff --git a/kornia/feature/adalam/__init__.py b/kornia/feature/adalam/__init__.pyindex 6acbac6df..89dfafddc 100644--- a/kornia/feature/adalam/__init__.py+++ b/kornia/feature/adalam/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Feature Adalam β AdaLAM feature matching for Kornia.+"""Kornia Feature Adalam β AdaLAM feature matching for Kornia.This subpackage provides AdaLAM filtering and matching utilities."""diff --git a/kornia/feature/dedode/__init__.py b/kornia/feature/dedode/__init__.pyindex 328fff5ef..e1bdf0ea9 100644--- a/kornia/feature/dedode/__init__.py+++ b/kornia/feature/dedode/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Feature DeDoDe β DeDoDe feature detector for Kornia.+"""Kornia Feature DeDoDe β DeDoDe feature detector for Kornia.This subpackage provides the DeDoDe keypoint detector and related utilities."""diff --git a/kornia/feature/dedode/transformer/__init__.py b/kornia/feature/dedode/transformer/__init__.pyindex a1dfa5766..1532a738a 100644--- a/kornia/feature/dedode/transformer/__init__.py+++ b/kornia/feature/dedode/transformer/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Feature DeDoDe Transformer β Transformer backbones for DeDoDe feature detector.+"""Kornia Feature DeDoDe Transformer β Transformer backbones for DeDoDe feature detector.This subpackage provides transformer models for DeDoDe feature extraction."""diff --git a/kornia/feature/dedode/transformer/layers/__init__.py b/kornia/feature/dedode/transformer/layers/__init__.pyindex 27b26dc51..5b0c24a82 100644--- a/kornia/feature/dedode/transformer/layers/__init__.py+++ b/kornia/feature/dedode/transformer/layers/__init__.py@@ -15,6 +15,12 @@# limitations under the License.#+"""Layers submodule for Kornia DeDoDe transformer.++This package provides transformer layer components such as attention, blocks, MLPs, patch embedding,+and SwiGLU FFN for DeDoDe feature extraction.+"""+# Copyright (c) Meta Platforms, Inc. and affiliates.# All rights reserved.#diff --git a/kornia/feature/disk/__init__.py b/kornia/feature/disk/__init__.pyindex f0b289f64..1aa46b512 100644--- a/kornia/feature/disk/__init__.py+++ b/kornia/feature/disk/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Feature DISK β DISK feature detector and descriptor for Kornia.+"""Kornia Feature DISK β DISK feature detector and descriptor for Kornia.This subpackage provides the DISK keypoint detector and feature structures."""diff --git a/kornia/feature/lightglue_onnx/__init__.py b/kornia/feature/lightglue_onnx/__init__.pyindex 04d3f100b..47fb8100e 100644--- a/kornia/feature/lightglue_onnx/__init__.py+++ b/kornia/feature/lightglue_onnx/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Feature LightGlue ONNX β ONNX-based LightGlue feature matcher for Kornia.+"""Kornia Feature LightGlue ONNX β ONNX-based LightGlue feature matcher for Kornia.This subpackage provides the OnnxLightGlue matcher and related utilities."""diff --git a/kornia/feature/lightglue_onnx/utils/__init__.py b/kornia/feature/lightglue_onnx/utils/__init__.pyindex d1ea8410f..646747c9d 100644--- a/kornia/feature/lightglue_onnx/utils/__init__.py+++ b/kornia/feature/lightglue_onnx/utils/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Feature LightGlue ONNX Utils β Utilities for ONNX-based LightGlue matcher.+"""Kornia Feature LightGlue ONNX Utils β Utilities for ONNX-based LightGlue matcher.This subpackage provides helper functions for LightGlue ONNX models."""diff --git a/kornia/feature/loftr/__init__.py b/kornia/feature/loftr/__init__.pyindex 89d1ab894..fdd0e3b26 100644--- a/kornia/feature/loftr/__init__.py+++ b/kornia/feature/loftr/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Feature LoFTR β LoFTR feature matcher for Kornia.+"""Kornia Feature LoFTR β LoFTR feature matcher for Kornia.This subpackage provides the LoFTR (Detector-Free Local Feature Matching) implementation."""diff --git a/kornia/feature/loftr/backbone/__init__.py b/kornia/feature/loftr/backbone/__init__.pyindex 6337e5d20..5578c37b4 100644--- a/kornia/feature/loftr/backbone/__init__.py+++ b/kornia/feature/loftr/backbone/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Feature LoFTR Backbone β Backbone modules for LoFTR feature matcher.+"""Kornia Feature LoFTR Backbone β Backbone modules for LoFTR feature matcher.This subpackage provides backbone architectures for LoFTR feature extraction."""diff --git a/kornia/feature/loftr/loftr_module/__init__.py b/kornia/feature/loftr/loftr_module/__init__.pyindex a871888a4..4add68032 100644--- a/kornia/feature/loftr/loftr_module/__init__.py+++ b/kornia/feature/loftr/loftr_module/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Feature LoFTR Module β LoFTR module components for Kornia.+"""Kornia Feature LoFTR Module β LoFTR module components for Kornia.This subpackage provides fine preprocessing and transformer modules for LoFTR."""diff --git a/kornia/feature/loftr/utils/__init__.py b/kornia/feature/loftr/utils/__init__.pyindex 072bcb211..14c536214 100644--- a/kornia/feature/loftr/utils/__init__.py+++ b/kornia/feature/loftr/utils/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Feature LoFTR Utils β Utilities for LoFTR feature matcher.+"""Kornia Feature LoFTR Utils β Utilities for LoFTR feature matcher.This subpackage provides helper functions for LoFTR modules."""diff --git a/kornia/feature/sold2/__init__.py b/kornia/feature/sold2/__init__.pyindex 08b4d265d..63a2db674 100644--- a/kornia/feature/sold2/__init__.py+++ b/kornia/feature/sold2/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Feature SOLD2 β SOLD2 line segment detector for Kornia.+"""Kornia Feature SOLD2 β SOLD2 line segment detector for Kornia.This subpackage provides the SOLD2 detector and related utilities."""diff --git a/kornia/filters/__init__.py b/kornia/filters/__init__.pyindex ad3036939..183dafaa9 100644--- a/kornia/filters/__init__.py+++ b/kornia/filters/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Filters β Image filtering operations for Kornia.+"""Kornia Filters β Image filtering operations for Kornia.This subpackage provides modules for blurring, sharpening, and other image filters."""diff --git a/kornia/geometry/__init__.py b/kornia/geometry/__init__.pyindex 44e264eaa..2d87fa256 100644--- a/kornia/geometry/__init__.py+++ b/kornia/geometry/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Geometry β Geometric vision operations for Kornia.+"""Kornia Geometry β Geometric vision operations for Kornia.This subpackage provides modules for transformations, camera models, and geometry processing."""diff --git a/kornia/geometry/calibration/__init__.py b/kornia/geometry/calibration/__init__.pyindex ac0489a0c..a660560f0 100644--- a/kornia/geometry/calibration/__init__.py+++ b/kornia/geometry/calibration/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Geometry Calibration β Camera calibration utilities for Kornia.+"""Kornia Geometry Calibration β Camera calibration utilities for Kornia.This subpackage provides functions for camera calibration, distortion, and undistortion."""diff --git a/kornia/geometry/camera/__init__.py b/kornia/geometry/camera/__init__.pyindex 15a832b07..763c13e24 100644--- a/kornia/geometry/camera/__init__.py+++ b/kornia/geometry/camera/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Geometry Camera β Camera models and camera-related utilities for Kornia.+"""Kornia Geometry Camera β Camera models and camera-related utilities for Kornia.This subpackage provides camera models, distortion, and projection functions."""diff --git a/kornia/geometry/epipolar/__init__.py b/kornia/geometry/epipolar/__init__.pyindex ba44a625b..48b2a10c3 100644--- a/kornia/geometry/epipolar/__init__.py+++ b/kornia/geometry/epipolar/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Geometry Epipolar β Epipolar geometry operations for Kornia.+"""Kornia Geometry Epipolar β Epipolar geometry operations for Kornia.This subpackage provides functions for epipolar distance, fundamental matrices, and stereo vision."""diff --git a/kornia/geometry/liegroup/__init__.py b/kornia/geometry/liegroup/__init__.pyindex b2f144113..b98a6eb52 100644--- a/kornia/geometry/liegroup/__init__.py+++ b/kornia/geometry/liegroup/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Geometry Lie Group β Lie group operations for Kornia.+"""Kornia Geometry Lie Group β Lie group operations for Kornia.This subpackage provides SE2, SE3, SO2, and related Lie group classes and utilities."""diff --git a/kornia/geometry/solvers/__init__.py b/kornia/geometry/solvers/__init__.pyindex 4f4e2e943..af4655acd 100644--- a/kornia/geometry/solvers/__init__.py+++ b/kornia/geometry/solvers/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Geometry Solvers β Polynomial and geometric solvers for Kornia.+"""Kornia Geometry Solvers β Polynomial and geometric solvers for Kornia.This subpackage provides polynomial solvers and related utilities for geometry tasks."""diff --git a/kornia/geometry/subpix/__init__.py b/kornia/geometry/subpix/__init__.pyindex ef4e3ec16..b4536299d 100644--- a/kornia/geometry/subpix/__init__.py+++ b/kornia/geometry/subpix/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Geometry Subpix β Subpixel operations for Kornia.+"""Kornia Geometry Subpix β Subpixel operations for Kornia.This subpackage provides subpixel localization and softmax utilities for geometry tasks."""diff --git a/kornia/geometry/transform/__init__.py b/kornia/geometry/transform/__init__.pyindex 01864f1ae..c1d46df49 100644--- a/kornia/geometry/transform/__init__.py+++ b/kornia/geometry/transform/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Geometry Transform β Geometric transformation operations for Kornia.+"""Kornia Geometry Transform β Geometric transformation operations for Kornia.This subpackage provides affine, crop, and other geometric transformation utilities."""diff --git a/kornia/grad_estimator/__init__.py b/kornia/grad_estimator/__init__.pyindex 9ce9b938b..9ad884015 100644--- a/kornia/grad_estimator/__init__.py+++ b/kornia/grad_estimator/__init__.py@@ -15,8 +15,7 @@# limitations under the License.#-"""-Kornia Grad Estimator β Gradient estimation utilities for Kornia.+"""Kornia Grad Estimator β Gradient estimation utilities for Kornia.This subpackage provides straight-through estimators and related functions."""diff --git a/kornia/image/__init__.py b/kornia/image/__init__.pyindex 72543880c..2dd22c4f9 100644--- a/kornia/image/__init__.py+++ b/kornia/image/__init__.py@@ -15,6 +15,12 @@# limitations under the License.#+"""Image submodule for Kornia.++This package provides image data structures and utilities, including image layout, size, pixel format,+and channel order definitions.+"""+from .base import ChannelsOrder, ImageLayout, ImageSize, PixelFormatfrom .image import Imagediff --git a/kornia/io/__init__.py b/kornia/io/__init__.pyindex 3aec3416b..32ceece8d 100644--- a/kornia/io/__init__.py+++ b/kornia/io/__init__.py@@ -15,6 +15,11 @@# limitations under the License.#+"""IO submodule for Kornia.++This package provides image input/output utilities, including image loading and writing functions.+"""+from .io import ImageLoadType, load_image, write_image__all__ = ["ImageLoadType", "load_image", "write_image"]diff --git a/kornia/losses/__init__.py b/kornia/losses/__init__.pyindex 6e99eea74..12cc5dd96 100644--- a/kornia/losses/__init__.py+++ b/kornia/losses/__init__.py@@ -15,6 +15,12 @@# limitations under the License.#+"""Losses submodule for Kornia.++This package provides a collection of loss functions for computer vision tasks, including SSIM,+PSNR, Dice, Focal, Lovasz, and more.+"""+from __future__ import annotationsfrom .cauchy import CauchyLoss, cauchy_lossdiff --git a/kornia/metrics/__init__.py b/kornia/metrics/__init__.pyindex 3eed02a04..839ad1653 100644--- a/kornia/metrics/__init__.py+++ b/kornia/metrics/__init__.py@@ -15,6 +15,12 @@# limitations under the License.#+"""Metrics submodule for Kornia.++This package provides evaluation metrics for computer vision, such as accuracy, mean IoU,+PSNR, SSIM, and endpoint error.+"""+from .accuracy import accuracyfrom .average_meter import AverageMeterfrom .confusion_matrix import confusion_matrixdiff --git a/kornia/models/__init__.py b/kornia/models/__init__.pyindex e86c211b6..c8bdff143 100644--- a/kornia/models/__init__.py+++ b/kornia/models/__init__.py@@ -15,6 +15,12 @@# limitations under the License.#+"""Models submodule for Kornia.++This package provides model architectures and utilities for tasks such as depth estimation,+detection, segmentation, super-resolution, and tracking.+"""+from . import (depth_estimation,detection,diff --git a/kornia/models/depth_estimation/__init__.py b/kornia/models/depth_estimation/__init__.pyindex 3b71e89fe..db1217c30 100644--- a/kornia/models/depth_estimation/__init__.py+++ b/kornia/models/depth_estimation/__init__.py@@ -15,5 +15,10 @@# limitations under the License.#+"""Depth estimation models submodule for Kornia.++This package provides model architectures and utilities for monocular depth estimation tasks.+"""+from .base import *from .depth_anything import *diff --git a/kornia/models/detection/__init__.py b/kornia/models/detection/__init__.pyindex d0631e432..ca1c992b4 100644--- a/kornia/models/detection/__init__.py+++ b/kornia/models/detection/__init__.py@@ -15,6 +15,11 @@# limitations under the License.#+"""Detection models submodule for Kornia.++This package provides model architectures and utilities for object detection tasks.+"""+from .base import *from .rtdetr import *from .utils import *diff --git a/kornia/models/edge_detection/__init__.py b/kornia/models/edge_detection/__init__.pyindex cd042359b..25c41b02c 100644--- a/kornia/models/edge_detection/__init__.py+++ b/kornia/models/edge_detection/__init__.py@@ -15,5 +15,10 @@# limitations under the License.#+"""Edge detection models submodule for Kornia.++This package provides model architectures and utilities for edge detection tasks.+"""+from .base import *from .dexined import *diff --git a/kornia/models/segmentation/__init__.py b/kornia/models/segmentation/__init__.pyindex eb1a695cd..bb8949159 100644--- a/kornia/models/segmentation/__init__.py+++ b/kornia/models/segmentation/__init__.py@@ -15,5 +15,10 @@# limitations under the License.#+"""Segmentation models submodule for Kornia.++This package provides model architectures and utilities for image segmentation tasks.+"""+from .base import *from .segmentation_models import *diff --git a/kornia/models/super_resolution/__init__.py b/kornia/models/super_resolution/__init__.pyindex 09fad8d53..5c01e6e94 100644--- a/kornia/models/super_resolution/__init__.py+++ b/kornia/models/super_resolution/__init__.py@@ -15,6 +15,11 @@# limitations under the License.#+"""Super-resolution models submodule for Kornia.++This package provides model architectures and utilities for image super-resolution tasks.+"""+from .base import *from .rrdbnet import *from .small_sr import *diff --git a/kornia/models/tracking/__init__.py b/kornia/models/tracking/__init__.pyindex a1b71eecb..413a0339c 100644--- a/kornia/models/tracking/__init__.py+++ b/kornia/models/tracking/__init__.py@@ -15,4 +15,9 @@# limitations under the License.#+"""Tracking models submodule for Kornia.++This package provides model architectures and utilities for object tracking tasks.+"""+from .boxmot_tracker import *diff --git a/kornia/morphology/__init__.py b/kornia/morphology/__init__.pyindex 2ece1b802..568ae5f16 100644--- a/kornia/morphology/__init__.py+++ b/kornia/morphology/__init__.py@@ -15,4 +15,9 @@# limitations under the License.#+"""Morphology submodule for Kornia.++This package provides morphological operations for image processing tasks.+"""+from .morphology import *diff --git a/kornia/nerf/__init__.py b/kornia/nerf/__init__.pyindex 4d273d5cb..b38a157df 100644--- a/kornia/nerf/__init__.py+++ b/kornia/nerf/__init__.py@@ -14,3 +14,8 @@# See the License for the specific language governing permissions and# limitations under the License.#++"""Neural Radiance Fields (NeRF) submodule for Kornia.++This package provides utilities and models for NeRF-based 3D scene representation and rendering.+"""diff --git a/kornia/onnx/__init__.py b/kornia/onnx/__init__.pyindex bceea4487..e29e783a2 100644--- a/kornia/onnx/__init__.py+++ b/kornia/onnx/__init__.py@@ -15,6 +15,11 @@# limitations under the License.#+"""ONNX submodule for Kornia.++This package provides utilities and modules for ONNX export and integration.+"""+from .module import *from .sequential import *from .utils import *diff --git a/kornia/sensors/__init__.py b/kornia/sensors/__init__.pyindex 4d273d5cb..e6e1a3dd9 100644--- a/kornia/sensors/__init__.py+++ b/kornia/sensors/__init__.py@@ -14,3 +14,8 @@# See the License for the specific language governing permissions and# limitations under the License.#++"""Sensors submodule for Kornia.++This package provides utilities and modules for sensor data processing and integration.+"""diff --git a/kornia/sensors/camera/__init__.py b/kornia/sensors/camera/__init__.pyindex 385ff3e05..321fa2ca7 100644--- a/kornia/sensors/camera/__init__.py+++ b/kornia/sensors/camera/__init__.py@@ -15,6 +15,11 @@# limitations under the License.#+"""Camera models submodule for Kornia sensors.++This package provides camera model definitions and utilities for camera calibration and projection.+"""+from .camera_model import (BrownConradyModel,CameraModel,diff --git a/kornia/tracking/__init__.py b/kornia/tracking/__init__.pyindex cc7c3fdb4..5613e098e 100644--- a/kornia/tracking/__init__.py+++ b/kornia/tracking/__init__.py@@ -15,6 +15,11 @@# limitations under the License.#+"""Tracking submodule for Kornia.++This package provides tracking algorithms and utilities, including planar homography tracking.+"""+from .planar_tracker import HomographyTracker__all__ = ["HomographyTracker"]diff --git a/kornia/transpiler/__init__.py b/kornia/transpiler/__init__.pyindex 63622a37d..9074294c1 100644--- a/kornia/transpiler/__init__.py+++ b/kornia/transpiler/__init__.py@@ -15,6 +15,11 @@# limitations under the License.#+"""Transpiler submodule for Kornia.++This package provides utilities to transpile Kornia operations to other frameworks such as JAX, NumPy, and TensorFlow.+"""+from .transpiler import to_jax, to_numpy, to_tensorflow__all__ = ["to_jax", "to_numpy", "to_tensorflow"]diff --git a/kornia/utils/__init__.py b/kornia/utils/__init__.pyindex 5dcfd5e06..377644fb4 100644--- a/kornia/utils/__init__.py+++ b/kornia/utils/__init__.py@@ -15,6 +15,11 @@# limitations under the License.#+"""Utils submodule for Kornia.++This package provides utility functions and helpers for image processing, device management, data conversion, and more.+"""+from ._compat import torch_meshgridfrom .download import CachedDownloaderfrom .draw import draw_convex_polygon, draw_line, draw_point2d, draw_rectanglediff --git a/kornia/x/__init__.py b/kornia/x/__init__.pyindex 84ac29368..1a4787ea3 100644--- a/kornia/x/__init__.py+++ b/kornia/x/__init__.py@@ -15,6 +15,11 @@# limitations under the License.#+"""Experimental submodule (x) for Kornia.++This package provides experimental features, trainers, callbacks, and utilities for advanced workflows.+"""+from .callbacks import EarlyStopping, ModelCheckpointfrom .trainer import Trainerfrom .trainers import ImageClassifierTrainer, ObjectDetectionTrainer, SemanticSegmentationTrainer