[PR #1113] [MERGED] fix: correct RandomHorizontalFlip axis for HWC inputs #1123

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

📋 Pull Request Information

Original PR: https://github.com/harvard-edge/cs249r_book/pull/1113
Author: @minhdang26403
Created: 1/19/2026
Status: Merged
Merged: 1/19/2026
Merged by: @profvjreddi

Base: devHead: fix/random-horizontal-flip-axis


📝 Commits (1)

  • ea9b06f fix: correct RandomHorizontalFlip axis for HWC inputs

📊 Changes

1 file changed (+30 additions, -13 deletions)

View changed files

📝 tinytorch/src/05_dataloader/05_dataloader.py (+30 -13)

📄 Description

  • Flip on width axis for HWC vs CHW/HW formats
  • Tested locally: Data Loader unit test passes after this change and there is no regression

🔄 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/1113 **Author:** [@minhdang26403](https://github.com/minhdang26403) **Created:** 1/19/2026 **Status:** ✅ Merged **Merged:** 1/19/2026 **Merged by:** [@profvjreddi](https://github.com/profvjreddi) **Base:** `dev` ← **Head:** `fix/random-horizontal-flip-axis` --- ### 📝 Commits (1) - [`ea9b06f`](https://github.com/harvard-edge/cs249r_book/commit/ea9b06f3939abd0c660a219aff9e79ef557a3824) fix: correct RandomHorizontalFlip axis for HWC inputs ### 📊 Changes **1 file changed** (+30 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `tinytorch/src/05_dataloader/05_dataloader.py` (+30 -13) </details> ### 📄 Description - Flip on width axis for HWC vs CHW/HW formats - Tested locally: Data Loader unit test passes after this change and there is no regression --- <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:01:14 -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#1123