Solved by ptrblck in post #2 
              
              
                No, the forward hook won’t terminate the execution and you could store the intermediate output in e.g. a list or dict as seen here.