class_docstr: Construct a layernorm module (See citation for details).
code: def __init__(self, features, eps=1e-6):
      super(LayerNorm, self).__init__()
      self.a_2 = self.create_parameter(
          shape=[features],
          default_initializer=paddle.nn.initializer.Constant(1.0),
      )
      self.b_2 = self.create_parameter(
          shape=[features],
          default_initializer=paddle.nn.initializer.Constant(0.0),
      )
      self.eps = eps
  
imports: import copy
  import math
  import paddle
  import paddle.nn
  import paddle.nn.functional
label_desc: Use image node_id 1 to create a new LayerNorm object from inherited base classes: nn with example: obj = LayerNorm(features, eps)