code: def __init__(self, num_channels: int, eps: float = 1e-06) -> None:
      super().__init__()
      self.weight = paddle.create_parameter(
          shape=[num_channels],
          dtype="float32",
          default_initializer=nn.initializer.Constant(value=1.0),
      )
      self.bias = paddle.create_parameter(
          shape=[num_channels],
          dtype="float32",
          default_initializer=nn.initializer.Constant(value=0.0),
      )
      self.eps = eps
  
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 LayerNorm2d object from inherited base classes: nn with example: obj = LayerNorm2d(num_channels, eps)