Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Doc fix for padding arg (#2686)

Ashwin Nair8d1c1772f257
diff --git a/kornia/contrib/extract_patches.py b/kornia/contrib/extract_patches.py
index b16eaf05a..7552a3d95 100644
--- a/kornia/contrib/extract_patches.py
+++ b/kornia/contrib/extract_patches.py
@@ -80,10 +80,6 @@ class ExtractTensorPatches(Module):
- a ``tuple`` of two ints -- in which case, the first `int` is used for
the height dimension, and the second `int` for the width dimension.
- :attr:`padding` can also be a ``tuple`` of four ints -- in which case, the
- first two ints are for the height dimension while the last two ints are for
- the width dimension.
-
Args:
window_size: the size of the sliding window and the output patch size.
stride: stride of the sliding window.
@@ -155,10 +151,6 @@ class CombineTensorPatches(Module):
- a ``tuple`` of two ints -- in which case, the first `int` is used for
the height dimension, and the second `int` for the width dimension.
- :attr:`unpadding` can also be a ``tuple`` of four ints -- in which case, the
- first two ints are for the height dimension while the last two ints are for
- the width dimension.
-
Args:
patches: patched tensor.
original_size: the size of the original tensor and the output patch size.