class_docstr: `Callback` that can be used to register hooks on `modules`
code: def _register(self):
      self.hooks = Hooks(
          self.modules,
          self.hook,
          self.is_forward,
          self.detach,
          self.cpu,
      )
  
imports: from __future__ import annotations
  from ..basics import *
label_desc: Use image node_id 6 for calling the HookCallback obj's underlying member method code with example usage: obj._register() without return types