mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-21 13:31:55 -05:00
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/1192
Author: @imuday984
Created: 2/21/2026
Status: ✅ Merged
Merged: 3/20/2026
Merged by: @profvjreddi
Base:
dev← Head:feature/type-hints-03-04📝 Commits (2)
4888caefeat: add type hints to 03_layers and 04_losses (#1167)9b01eb1feat: add type hints to 05_dataloader📊 Changes
3 files changed (+82 additions, -49 deletions)
View changed files
📝
tinytorch/src/03_layers/03_layers.py(+52 -29)📝
tinytorch/src/04_losses/04_losses.py(+18 -8)📝
tinytorch/src/05_dataloader/05_dataloader.py(+12 -12)📄 Description
Resolves #1167 for modules 03 and 04.
Following the discussion with @harishb00 in my previous PR, I have left 01_tensor and 02_activations for them to push. I have applied the suggested future imports and TypeAlias patterns to these new modules for cleaner code.
Note: I added these directly to the source files (src/) but haven't run the tito module complete build step locally to update the generated package files. Let me know if a maintainer can trigger the build.
thank you.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.