class_docstr: Modified sequential class.
class_docstr_tok: ["Modified","sequential","class","."]
code: def __init__(self, list_of_modules):
      super().__init__()
      self.seq_modules = torch.nn.ModuleList(list_of_modules)
      self.LAYOUT = self.seq_modules[0].LAYOUT
  
imports: import torch
  import math
  from typing import Optional, Tuple
  from functools import partial
  from .embeddings import SinusoidalPositional, LearnablePositional, ScaledSinosoidal
  from .attention import get_attention_mechanism
label_desc: Use image node_id 1 to create a new Sequential object from inherited base classes: torch.nn with example: obj = Sequential(list_of_modules)