class_docstr: `Callback` that can be used to register hooks on `modules`
code: def __init__(
      self,
      modules=None,
      every=None,
      remove_end=True,
      is_forward=True,
      detach=True,
      cpu=True,
      include_paramless=False,
      **kwargs,
  ):
      store_attr(
          "modules,every,remove_end,is_forward,detach,cpu, include_paramless"
      )
      assert not kwargs
  
imports: from __future__ import annotations
  from ..basics import *
label_desc: Use image node_id 1 to create a new HookCallback object from inherited base classes: Callback with example: obj = HookCallback(modules, every, remove_end, is_forward, detach, cpu, include_paramless)