code: def _build_ln(n_in, name):
      return D.LayerNorm(
          normalized_shape=n_in,
          param_attr=F.ParamAttr(
              name="%s_layer_norm_scale" % name
              if name is not None
              else None,
              initializer=F.initializer.Constant(1.0),
          ),
          bias_attr=F.ParamAttr(
              name="%s_layer_norm_bias" % name
              if name is not None
              else None,
              initializer=F.initializer.Constant(1.0),
          ),
      )
  
imports: from __future__ import division
  from __future__ import absolute_import
  from __future__ import print_function
  from __future__ import unicode_literals
  import logging
  import paddle.fluid.dygraph
  import paddle.fluid
  import paddle.fluid.layers
label_desc: Use image node_id 2 for calling a global function with example usage: _build_ln(n_in, name) and returns: D