[PR #1186] [CLOSED] feat: add type hints to 01_tensor source file (#1167) #8023

Closed
opened 2026-04-27 17:18:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/harvard-edge/cs249r_book/pull/1186
Author: @imuday984
Created: 2/20/2026
Status: Closed

Base: devHead: feature/tinytorch-type-hints


📝 Commits (1)

  • 1cbf819 feat: add type hints to 01_tensor source file (#1167)

📊 Changes

1 file changed (+20 additions, -19 deletions)

View changed files

📝 tinytorch/src/01_tensor/01_tensor.py (+20 -19)

📄 Description

Resolves #1167 for the tensor module. I have added the type hints directly to the source file (src/01_tensor/01_tensor.py). However, I haven't run the tito module complete build step locally to update the generated package files. Let me know if you'd like me to set up the local environment to run the build, or if a maintainer can trigger it, however i have only added one file if this suits same approach can be applied to similar files too.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/harvard-edge/cs249r_book/pull/1186 **Author:** [@imuday984](https://github.com/imuday984) **Created:** 2/20/2026 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feature/tinytorch-type-hints` --- ### 📝 Commits (1) - [`1cbf819`](https://github.com/harvard-edge/cs249r_book/commit/1cbf819690bb63d456599838dd886245006c34f2) feat: add type hints to 01_tensor source file (#1167) ### 📊 Changes **1 file changed** (+20 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `tinytorch/src/01_tensor/01_tensor.py` (+20 -19) </details> ### 📄 Description Resolves #1167 for the tensor module. I have added the type hints directly to the source file (src/01_tensor/01_tensor.py). However, I haven't run the tito module complete build step locally to update the generated package files. Let me know if you'd like me to set up the local environment to run the build, or if a maintainer can trigger it, however i have only added one file if this suits same approach can be applied to similar files too. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-27 17:18:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#8023