MCPcopy Create free account
hub / github.com/Sense-GVT/DeCLIP / BNFunc

Function BNFunc

prototype/utils/misc.py:129–130  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

127 link.syncbnVarMode_t.L1 if var_mode == 'L1' else link.syncbnVarMode_t.L2)
128
129 def BNFunc(*args, **kwargs):
130 return link.nn.SyncBatchNorm2d(*args, **kwargs, **config.kwargs)
131
132 return BNFunc
133 else:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected