mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-17 08:28:07 -05:00
[PR #1202] [MERGED] Fix incorrect matrix multiplication computation in notebook example #8939
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/1202
Author: @adityamulik
Created: 2/25/2026
Status: ✅ Merged
Merged: 2/25/2026
Merged by: @profvjreddi
Base:
dev← Head:module_1_doc_fix📝 Commits (1)
e5d8395The multiplication process example is corrected📊 Changes
1 file changed (+5 additions, -5 deletions)
View changed files
📝
tinytorch/src/01_tensor/01_tensor.py(+5 -5)📄 Description
Corrected arithmetic error in matrix multiplication example.
The previous implementation had an incorrect term in the computation of C[1,1]
(second row, second column).
Updated the calculation to correctly follow row × column dot product logic.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.