MCPcopy Create free account
hub / github.com/ajbrock/BigGAN-PyTorch / SynchronizedBatchNorm2d

Class SynchronizedBatchNorm2d

sync_batchnorm/batchnorm.py:225–285  ·  view source on GitHub ↗

r"""Applies Batch Normalization over a 4d input that is seen as a mini-batch of 3d inputs .. math:: y = \frac{x - mean[x]}{ \sqrt{Var[x] + \epsilon}} * gamma + beta This module differs from the built-in PyTorch BatchNorm2d as the mean and standard-deviation are reduced acr

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected