Skip to content

Commit 7f55738

Browse files
authored
remove custom __repr__ from prototype features (#5916)
1 parent 734ee25 commit 7f55738

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

torchvision/prototype/features/_feature.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,3 @@ def __torch_function__(
8383
return cls.new_like(args[0], output, dtype=output.dtype, device=output.device)
8484
else:
8585
return output
86-
87-
def __repr__(self) -> str:
88-
return cast(str, torch.Tensor.__repr__(self)).replace("tensor", type(self).__name__)

0 commit comments

Comments
 (0)