Comment by olooney

17 hours ago

This really nice. For `torch.mul(x, y)`, it would be nice if it highlighted the entire row or column in the other matrix and result. Right now it shows only a single multiplication, which gives a misleading impression of how matrix multiply works. I wouldn't mention it, except that matrix multiplication is so important that it's worth showcasing. I've bookmarked the site and will share it at a pytorch training session I'm leading in a couple of weeks.

https://whytorch.org/torch.mul/

Are you perhaps thinking of torch.matmul? torch.mul (and torch.multiply, and the * operator) perform element-wise multiplication.

torch.matmul was one of the first functions I implemented on WhyTorch and it uses and highlights rows and columns as you would expect.

I’d love to hear any feedback or outcomes from your training session, please feel free to reach out - email in profile.