Hi,
torch.utils.hooks are just internal utility functions that we use to implement hooks but that’s it.
You can find Tensor hooks by looking for register_hook() on Tensor.
You can find nn.Module hook by looking for register_forward_hook(), register_pre_forward_hook() on nn.Module.