Skip to content

Commit

Permalink
modifying SyncBN doc for FP16 use case (apache#14041)
Browse files Browse the repository at this point in the history
LGTM
  • Loading branch information
mseth10 authored and stephenrawls committed Feb 16, 2019
1 parent 2134c52 commit c2dad9a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/mxnet/gluon/contrib/nn/basic_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,10 @@ class SyncBatchNorm(BatchNorm):
Standard BN [1]_ implementation only normalize the data within each device.
SyncBN normalizes the input within the whole mini-batch.
We follow the sync-onece implmentation described in the paper [2]_.
We follow the implementation described in the paper [2]_.
Note: Current implementation of SyncBN does not support FP16 training.
For FP16 inference, use standard nn.BatchNorm instead of SyncBN.
Parameters
----------
Expand Down

0 comments on commit c2dad9a

Please sign in to comment.