π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
fix doc example
dvd42b7833e591564
diff --git a/kornia/augmentation/augmentations.py b/kornia/augmentation/augmentations.pyindex 5d6e5f2f6..26801d194 100644--- a/kornia/augmentation/augmentations.py+++ b/kornia/augmentation/augmentations.py@@ -67,10 +67,9 @@ class RandomHorizontalFlip(RandomFlip):wont be concatenatedExamples:- >>> input = torch.tensor([[[- [0., 0., 0.],- [0., 0., 0.],- [0., 1., 1.]]]])+ >>> input = torch.tensor([[[[0., 0., 0.],+ [0., 0., 0.],+ [0., 1., 1.]]]])>>> seq = nn.Sequential(kornia.augmentation.RandomHorizontalFlip(p=1.0, return_transform=True),kornia.augmentation.RandomHorizontalFlip(p=1.0, return_transform=True))@@ -109,10 +108,9 @@ class RandomVerticalFlip(RandomFlip):wont be concatenatedExamples:- >>> input = torch.tensor([[[- [0., 0., 0.],- [0., 0., 0.],- [0., 1., 1.]]]])+ >>> input = torch.tensor([[[[0., 0., 0.],+ [0., 0., 0.],+ [0., 1., 1.]]]])>>> seq = nn.Sequential(kornia.augmentation.RandomVerticalFlip(p=1.0, return_transform=True))>>> seq(input)(tensor([[0., 1., 1.],