You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @rchiodo , thx for your quick replay, do you mean that no matter how I implement __repr__, it will not affect the debug window like this right?
If that is the case, I think my problem is solved. Because I just don't want it to print the actual values of the array, it's kind messy, I only need to print the shape of the tensors in inline preview.
I have a use case where I need to know the shapes of each torch.Tensor, I have a custom hack for
pytorch
inpython
:Now it looks like this in debug mode:
Is it possible to make it shorter like this:
The text was updated successfully, but these errors were encountered: