this post was submitted on 22 May 2025
11 points (100.0% liked)

dynomight internet forum

73 readers
1 users here now

dynomight internet forum

founded 10 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] dynomight@lemmy.world 3 points 1 week ago

At one point, I actually had some (LLM-generated) boxes where you could click to switch between the different implementations for the same problem. But in the end I didn't like how it looked, so I switched to simple expandy-boxes. Design is hard...

There's no magical significance to the assert x.ndim==1 check. I think I just wanted to demonstrate that the softmax code was "simple" and didn't have to think about high dimensions. I think I'll just remove that, thanks.