Skip to content

Conversation

@guan404ming
Copy link
Member

Why

Batch normalization in training mode would threw away updated statistics.

How

batch_norm(...) → keep all 3 elements, pad to 5 for PyTorch

@guan404ming guan404ming force-pushed the fix-training-batch-norm branch from 8b5f3e1 to c97d03b Compare November 27, 2025 08:44
@guan404ming guan404ming marked this pull request as ready for review November 27, 2025 09:59
@guan404ming
Copy link
Member Author

cc @mshr-h @tlopex

Copy link
Member

@tlopex tlopex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

@tlopex tlopex merged commit d5d3d81 into apache:main Nov 27, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants