MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / test_frozen_synced_bn

Function test_frozen_synced_bn

imperative/python/test/integration/test_bn.py:74–79  ·  view source on GitHub ↗
(is_training, use_trace, use_symbolic)

Source from the content-addressed store, hash-verified

72@pytest.mark.parametrize("use_trace", [False, True])
73@pytest.mark.parametrize("use_symbolic", [False, True])
74def test_frozen_synced_bn(is_training, use_trace, use_symbolic):
75 @dist.launcher(n_gpus=2)
76 def worker():
77 run_frozen_bn(SyncBatchNorm, is_training, use_trace, use_symbolic)
78
79 worker()
80
81
82def test_bn_no_track_stat():

Callers

nothing calls this directly

Calls 1

workerFunction · 0.70

Tested by

no test coverage detected