code: def cond_init(m:nn.Module, init_func:LayerFunc):
      "Initialize the non-batchnorm layers of `m` with `init_func`."
      if (not isinstance(m, bn_types)) and requires_grad(m): init_default(m, init_funcf cond_init(m:nn.Module, init_func:LayerFunc):
      "Initialize the non-batchnorm layers of `m` with `init_func`."
      if (not isinstance(m, bn_types)) and requires_grad(m): init_default(m, init_func)
docs: Initialize the non-batchnorm layers of `m` with `init_func`.