MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / efficientnet_init_weights

Function efficientnet_init_weights

timm/models/efficientnet_builder.py:459–462  ·  view source on GitHub ↗
(model: nn.Module, init_fn=None)

Source from the content-addressed store, hash-verified

457
458
459def efficientnet_init_weights(model: nn.Module, init_fn=None):
460 init_fn = init_fn or _init_weight_goog
461 for n, m in model.named_modules():
462 init_fn(m, n)
463

Callers 5

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected