mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-21 13:31:55 -05:00
[PR #1140] [MERGED] fix: no need to clip input value of Sigmoid #1139
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/1140
Author: @minhdang26403
Created: 1/26/2026
Status: ✅ Merged
Merged: 1/26/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/sigmoid📝 Commits (1)
c4c3eeefix: no need to clip input value of Sigmoid📊 Changes
1 file changed (+7 additions, -9 deletions)
View changed files
📝
tinytorch/src/02_activations/02_activations.py(+7 -9)📄 Description
The code already handles overflow by splitting the input into positive and negative branches:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.