def METHOD_NAME(submodule, inputs):
    def _run_after_backward_function(submodule):
        for hook in ophook_list:
            assert isinstance(submodule, torch.nn.Module)
            hook.post_bwd_exec(submodule, inputs)
    return _apply_to_tensors_only(submodule, PostBackwardFunction, _run_after_backward_function, inputs)