NativeSyncBatchNorm¶
- class pytorch_lightning.plugins.NativeSyncBatchNorm[source]¶
Bases:
pytorch_lightning.plugins.layer_sync.LayerSync
A plugin that wraps all batch normalization layers of a model with synchronization logic for multiprocessing.
This plugin has no effect in single-device operation.