Is there a way to make python throw a warning when doing something like
torch.randn(3) * torch.randn(3,1) ?
Too many times have I had silent bugs in my code because of implicit broadcasts I was not aware of…