π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
Remove methods with unnecessary super delegation. (#1202)
deepsource-autofix[bot]55bfbaf73700
diff --git a/kornia/color/gray.py b/kornia/color/gray.pyindex 671f0eb32..301f5a97b 100644--- a/kornia/color/gray.py+++ b/kornia/color/gray.py@@ -128,9 +128,6 @@ class GrayscaleToRgb(nn.Module):>>> output = rgb(input) # 2x3x4x5"""- def __init__(self) -> None:- super(GrayscaleToRgb, self).__init__()-def forward(self, image: torch.Tensor) -> torch.Tensor: # type: ignorereturn grayscale_to_rgb(image)