mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-22 14:03:46 -05:00
[PR #1141] [MERGED] fix: fix Softmax's forward pass implementation #1140
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1141
Author: @minhdang26403
Created: 1/26/2026
Status: ✅ Merged
Merged: 1/26/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/softmax📝 Commits (1)
0cad877fix: fix Softmax's forward pass implementation to operate on underlying data directly📊 Changes
1 file changed (+5 additions, -7 deletions)
View changed files
📝
tinytorch/src/02_activations/02_activations.py(+5 -7)📄 Description
In module 6, students will implement SoftmaxBackward manually, so there is no need to work on Tensor for Softmax's forward pass implementation. We can compute on numpy array directly, which eliminates the overhead of computational graph construction.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.