def init_default(m, func=nn.init.kaiming_normal_):
    "Initialize `m` weights with `func` and set `bias` to 0."
    if func and hasattr(m, "weight"):
        func(m.weight)
    with torch.no_grad():
        if getattr(m, "bias", None) is not None:
            m.bias.fill_(0.0)
    return m
Initialize `m` weights with `func` and set `bias` to 0.
analyze/convnexts4nd/src/models/baselines/nonaka/xresnet.py