Batch Normalization: Layout's Performance Flip

Batch Normalization's performance is highly layout-dependent, often favoring NCHW (channels-first) in some frameworks and hardware for its efficiency in reducing over height and width dimensions, contrasting with convolutions' typical preference for NHWC.

Sources

Open the full topic