[cleanup] clearly document how backward/forward are working (#700)
_SyncBatchNormFunction is a little complex in that it does the full backward, including mean and var, but does not calculate statistics in the forward path. Statistics are calculated outside in the SyncBatchNorm nn.module. This change does not impact functionality.
Showing
Please register or sign in to comment