class_docstr: A hook that can contain several hooks and iterates through them at each event.
code: def pre_forward(self, module, *args, **kwargs):
      for hook in self.hooks:
          args, kwargs = hook.pre_forward(module, *args, **kwargs)
      return args, kwargs
  
imports: import functools
  from typing import Dict, List, Mapping, Optional, Union
  import torch
  import torch.nn
  from .state import PartialState
  from .utils import PrefixedDataset, find_device, named_module_tensors, send_to_device, set_module_tensor_to_device
  from .utils.modeling import get_non_persistent_buffers
label_desc: Use image node_id 3 for calling the SequentialHook obj's underlying member method code with example usage: obj.pre_forward(module) and returns: args,  kwargs