Improve ASCII visualizations for ReLU and Sigmoid in Module 02
Summary
Refined the ASCII visualization graphs for the ReLU and Sigmoid activation functions to improve correctness and visual clarity.
Changes
Adjusted graph shape to better reflect true mathematical behavior
Improved alignment and symmetry
Corrected minor inconsistencies in representation
Educational Impact
These updates make the activation curves more accurate and intuitive for students, improving conceptual understanding without changing any functionality.
🔄 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/1183
**Author:** [@Pratham-ja](https://github.com/Pratham-ja)
**Created:** 2/19/2026
**Status:** ✅ Merged
**Merged:** 2/19/2026
**Merged by:** [@profvjreddi](https://github.com/profvjreddi)
**Base:** `dev` ← **Head:** `bugfix/fix-ascii-graphs`
---
### 📝 Commits (1)
- [`5f7a696`](https://github.com/harvard-edge/cs249r_book/commit/5f7a696077c1ca5c73ac13b3d01f43d2698eeb00) Improve activation graph visualization in Module 02
### 📊 Changes
**1 file changed** (+8 additions, -4 deletions)
<details>
<summary>View changed files</summary>
📝 `tinytorch/src/02_activations/02_activations.py` (+8 -4)
</details>
### 📄 Description
Improve ASCII visualizations for ReLU and Sigmoid in Module 02
## Summary
Refined the ASCII visualization graphs for the ReLU and Sigmoid activation functions to improve correctness and visual clarity.
## Changes
- Adjusted graph shape to better reflect true mathematical behavior
- Improved alignment and symmetry
- Corrected minor inconsistencies in representation
## Educational Impact
These updates make the activation curves more accurate and intuitive for students, improving conceptual understanding without changing any functionality.
---
<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/1183
Author: @Pratham-ja
Created: 2/19/2026
Status: ✅ Merged
Merged: 2/19/2026
Merged by: @profvjreddi
Base:
dev← Head:bugfix/fix-ascii-graphs📝 Commits (1)
5f7a696Improve activation graph visualization in Module 02📊 Changes
1 file changed (+8 additions, -4 deletions)
View changed files
📝
tinytorch/src/02_activations/02_activations.py(+8 -4)📄 Description
Improve ASCII visualizations for ReLU and Sigmoid in Module 02
Summary
Refined the ASCII visualization graphs for the ReLU and Sigmoid activation functions to improve correctness and visual clarity.
Changes
Educational Impact
These updates make the activation curves more accurate and intuitive for students, improving conceptual understanding without changing any functionality.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.