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.
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.