The module backward hook should be called after instantiating the module but likely only once and only. Note that module backward hooks are not terribly useful currently and a recent attempt to fix them was abandoned 47.
The tensor backward hooks on the other hand need to be added after every forward, but can be added at anytime before the backward.
Best regards
Thomas