code: def add_parameter(layer, datas, name=None):
      parameter = layer.create_parameter(
          shape=(datas.shape), default_initializer=Assign(datas)
      )
      if name:
          layer.add_parameter(name, parameter)
      return parameter
  
file_path: PaddleDetection/ppdet/modeling/backbones/transformer_utils.py
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddle.nn.initializer import TruncatedNormal, Constant, Assign
label_desc: Use image node_id 3 for calling a global function with example usage: add_parameter(layer, datas, name) and returns: parameter