π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
removed output.clone() in _transform_output_shape() (#3510)
Hendrik010296d0283a
diff --git a/kornia/augmentation/utils/helpers.py b/kornia/augmentation/utils/helpers.pyindex 3be42706b..de017f719 100644--- a/kornia/augmentation/utils/helpers.py+++ b/kornia/augmentation/utils/helpers.py@@ -239,7 +239,7 @@ def _transform_output_shape(torch.Tensor"""- out_tensor = output.clone()+ out_tensor = outputfor dim in range(len(out_tensor.shape) - len(shape)):idx = 0