The code adds hooks to the backward pass. When i debugging the code, it just ignore the breakpoints i set in the hook functions.
My IDE is pycharm.
I want to know if there’s any method to get into the hook function when debugging?
Any suggestions will greatly appreciated.
Solved the problem by using pdb(The Python Debugger)