@isalirezag @ptrblck I fixed the typo and the wrong link.
If I understand correctly, register_forward_hook inserts a function (hook, in this case) into the end of the forward method of the specified module.
_value_hook can be any names you like except ones already used in the module.