code: def __init__(
      self,
      embedding_dim: int,
      mlp_dim: int,
      act: Type[nn.Layer] = nn.GELU,
  ) -> None:
      super().__init__()
      self.lin1 = nn.Linear(embedding_dim, mlp_dim)
      self.lin2 = nn.Linear(mlp_dim, embedding_dim)
      self.act = act()
  
file_path: PaddleSeg/contrib/SegmentAnything/segment_anything/modeling/common.py
imports: import paddle
  import paddle.nn
  from typing import Type
label_desc: Use image node_id 1 to create a new MLPBlock object from inherited base classes: nn with example: obj = MLPBlock(embedding_dim, mlp_dim, act)