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