Show torch.tensor shape instead contents in PyCharm debugger Follow
Hi @all,
i'd like to see the shape of a pytorch.tensor rather than its contents in the pycharm debugging window. Entering x.shape for ever tensor x slows down my coding considerably. I figured i'd have to overwrite the __repr__ method of torch.tensor, but still it keeps showing the contents of the tensor instead its shape.
any ideas appreciated!
Best, Nico
Please sign in to leave a comment.
Unfortunately there's no such feature at the moment, see related request: https://youtrack.jetbrains.com/issue/PY-39585