code: def __init__(self, dim, mlp_mult=4, dropout=0.0):
      super().__init__()
      self.net = nn.Sequential(
          LayerNorm(dim),
          nn.Conv2d(dim, dim * mlp_mult, 1),
          nn.GELU(),
          nn.Dropout(dropout),
          nn.Conv2d(dim * mlp_mult, dim, 1),
          nn.Dropout(dropout),
      )
  
imports: from functools import partial
  import torch
  from torch import nn, einsum
  from einops import rearrange
  from einops.layers.torch import Rearrange, Reduce
label_desc: Use image node_id 1 to create a new FeedForward object from inherited base classes: nn with example: obj = FeedForward(dim, mlp_mult, dropout)