MCPcopy Create free account
hub / github.com/csxmli2016/DFDNet / _compute_mean_std

Method _compute_mean_std

sync_batchnorm/batchnorm.py:128–145  ·  view source on GitHub ↗

Compute the mean and standard-deviation with sum and square-sum. This method also maintains the moving average on the master device.

(self, sum_, ssum, size)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_data_parallel_masterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected