Unable to get repr for <class 'torch.Tensor'> when I run the torch.multinomial()

In the debug setting, this error happens after I run line 56.