def METHOD_NAME(torch_initializer, param_dict, init_func, layer):
    initializer = functools.partial(torch_initializer, **param_dict)
    init_func = functools.partial(init_func, initializer=initializer)
    recursive_init_func = functools.partial(
        recursive_init, obj=layer, init_func=init_func)
    return recursive_init_func, param_dict