[PR #1183] [MERGED] Improve activation graph visualization in Module 02 #1159

Closed
opened 2026-03-22 16:02:23 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: bugfix/fix-ascii-graphs


📝 Commits (1)

  • 5f7a696 Improve 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

  • 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>
GiteaMirror added the pull-request label 2026-03-22 16:02:23 -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#1159