mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-23 07:23:03 -05:00
[PR #1216] [MERGED] fix(losses): clean up log_softmax implementation #9889
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/1216
Author: @minhdang26403
Created: 3/8/2026
Status: ✅ Merged
Merged: 3/15/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/log-softmax📝 Commits (1)
68cd5fcfix(losses): clean up log_softmax implementation to have clear variable names and reuse variables📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
tinytorch/src/04_losses/ABOUT.md(+4 -4)📄 Description
The current sample
log_softmaximplementation has inconsistent variable names and does not re-use theshiftedtensor variable. This commit attempts to fix these issues.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.