class_docstr: Applies LayerNorm, Dropout and adds to input.
  
  Standard AddNorm operations in Transformers
code: def __init__(self, input_dim: int, dropout: float):
      super().__init__()
      self.dropout = nn.Dropout(dropout)
      self.ln = nn.LayerNorm(input_dim)
  
imports: import math
  from typing import Optional
  import torch
  from einops import rearrange
  from torch import einsum, nn
  from pytorch_tabular.utils import _initialize_kaiming
  from .gated_units import GEGLU, PositionWiseFeedForward, ReGLU, SwiGLU
label_desc: Use image node_id 1 to create a new AddNorm object from inherited base classes: nn with example: obj = AddNorm(input_dim, dropout)