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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1186
Author: @imuday984
Created: 2/20/2026
Status: ❌ Closed
Base:
dev← Head:feature/tinytorch-type-hints📝 Commits (1)
1cbf819feat: 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.