code: def copy_to_master_param(p, block):
      v = block.vars.get(p.name, None)
      if v is None:
          raise ValueError("no param name %s found!" % p.name)
      new_p = fluid.framework.Parameter(
          block=block,
          shape=v.shape,
          dtype=fluid.core.VarDesc.VarType.FP32,
          type=v.type,
          lod_level=v.lod_level,
          stop_gradient=p.stop_gradient,
          trainable=p.trainable,
          optimize_attr=p.optimize_attr,
          regularizer=p.regularizer,
          gradient_clip_attr=p.gradient_clip_attr,
          error_clip=p.error_clip,
          name=v.name + ".master",
      )
      return new_p
  
file_path: PGL/ogb_examples/linkproppred/ogbl-ppa/utils/fp16.py
imports: from __future__ import print_function
  import paddle
  import paddle.fluid
label_desc: Use image node_id 2 for calling a global function with example usage: copy_to_master_param(p, block) and returns: new_p