Hacker Newsnew | past | comments | ask | show | jobs | submit | kukanani's commentslogin

An open source website I built to explain tensor functions in PyTorch: https://whytorch.org

It makes tricky functions like torch.gather and torch.scatter more intuitive by showing element-level relationships between inputs and outputs.

For any function, you can click elements in the result to see where they came from, or elements in the inputs to see how they contribute to the result to see exactly how it contributes to the result. I found that visually tracing tensor operations clarifies indexing, slicing, and broadcasting in ways reading that the docs can't.

You can also jump straight to WhyTorch from the PyTorch docs pages by modifying the base URL directly.

I launched a week or two back and now have the top post of all time on r/pytorch, which has been pretty fun.


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.


Yes, I was thinking of `matmul()`, sorry about that! The visualization is everything I hoped:

https://x.com/oranlooney/status/1977728062289555967


Awesome work. Surprised rand isn't implemented yet, I found it pretty useful for playing around.


I have a PhD in robotics. Got my start with Lego Mindstorms and highly recommend them.

Another commenter mentioned FIRST LEGO League, which is a great idea. However, it does require that you have a nearby league, and the experience is probably going to depend a lot on the quality of that league (funding, coaches, etc.) So if you have the funds (but not the time), starting out with the kits just at home could be a great first step.


LEGO Mindstorms was also the recommended thing in gifted homeschooling circles back when I was active in such.



This looks like what I was expecting to see.

The Users Guide from SpaceX looks more like a brochure.


Indeed. I expect a user guide to have exact instructions on how to use a device. SpaceX's brochure doesn't even go far enough to call it a specification sheet.


To be fair, Delta IV had been flying for decades



It may be marketing, but believe it or not, this is standard practice for rockets!

Here's the ULA Delta IV User Guide - https://www.ulalaunch.com/docs/default-source/rockets/delta-...


Hello, Hacker News! I'm the dev for this project.

Our early testers have found Cherry very useful for preventing interruptions during recording sessions. It works for any size studio, home or pro.

We are trying to remove barriers to creativity. Giving peace of mind during recording is one little way to do that.

Cherry is one of my pandemic side projects. I've learned a lot about SwiftUI and reverse-engineering simple communication protocols, like how digital audio workstations (DAWs) communicate with peripherals.


Yep, I think it was a Twitter trending topic.


You couldn't buy a ticket, invite and media only.


I was on this flight, and it was incredible! AMA


Who sit on the left side of rows?


What was it like EXITING totality? Was it like God said, let there be light?


It was pretty incredible. The "diamond ring" really bursts out over the edge of the moon, and then it's glasses on or look away, because the sun's back.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: