code: def apply_init(m, init_func:LayerFunc):
      "Initialize all non-batchnorm layers of `m` with `init_func`."
      apply_leaf(m, partial(cond_init, init_func=init_func)f apply_init(m, init_func:LayerFunc):
      "Initialize all non-batchnorm layers of `m` with `init_func`."
      apply_leaf(m, partial(cond_init, init_func=init_func))
docs: Initialize all non-batchnorm layers of `m` with `init_func`.