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>
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/1113
Author: @minhdang26403
Created: 1/19/2026
Status: ✅ Merged
Merged: 1/19/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/random-horizontal-flip-axis📝 Commits (1)
ea9b06ffix: 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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.