-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vectorize inner loop of BatchNormalization
BatchNormalization and InstanceNormalization are very similar, except BatchNormalization uses pre-computed mean and variance statistics while InstanceNormalization computes them dynamically. Extract the vectorized normalization step from `instance_normalization` and re-use it for `batch_normalization`.
- Loading branch information
1 parent
28675eb
commit 2c21c45
Showing
1 changed file
with
72 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters