Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

minimal reordering in filters docs

edgarriba7bb9aaf1df82
diff --git a/docs/source/filters.rst b/docs/source/filters.rst
index dcd55e254..427c45991 100644
--- a/docs/source/filters.rst
+++ b/docs/source/filters.rst
@@ -5,11 +5,6 @@ torchgeometry.filters
The functions in this sections perform various image filtering operations.
-.. autofunction:: get_gaussian_kernel
-.. autofunction:: get_gaussian_kernel2d
-.. autofunction:: get_laplacian_kernel
-.. autofunction:: get_laplacian_kernel2d
-
.. autofunction:: box_blur
.. autofunction:: median_blur
.. autofunction:: gaussian_blur
@@ -17,6 +12,11 @@ The functions in this sections perform various image filtering operations.
.. autofunction:: sobel
.. autofunction:: spatial_gradient
+.. autofunction:: get_gaussian_kernel
+.. autofunction:: get_gaussian_kernel2d
+.. autofunction:: get_laplacian_kernel
+.. autofunction:: get_laplacian_kernel2d
+
.. autoclass:: BoxBlur
.. autoclass:: MedianBlur
.. autoclass:: GaussianBlur
diff --git a/torchgeometry/filters/sobel.py b/torchgeometry/filters/sobel.py
index eeb4f284d..48f2f5cb6 100644
--- a/torchgeometry/filters/sobel.py
+++ b/torchgeometry/filters/sobel.py
@@ -2,13 +2,6 @@ import torch
import torch.nn as nn
import torch.nn.functional as F
-__all__ = [
- "SpatialGradient",
- "Sobel",
- "sobel",
- "spatial_gradient",
-]
-
def _get_sobel_kernel_3x3() -> torch.Tensor:
"""Utility function that returns a sobel kernel of 3x3"""