class_docstr: Create several hooks on the modules in `ms` with `hook_func`.
code: def __init__(
      self, ms, hook_func, is_forward=True, detach=True, cpu=False
  ):
      self.hooks = [
          Hook(m, hook_func, is_forward, detach, cpu) for m in ms
      ]
  
imports: from __future__ import annotations
  from ..basics import *
label_desc: Use image node_id 1 to create a new Hooks object  with example: obj = Hooks(ms, hook_func, is_forward, detach, cpu)