code: def constant_init(param, **kwargs):
      """
      Initialize the `param` with constants.
      Args:
          param (Tensor): Tensor that needs to be initialized.
      Examples:
          from paddleseg.cvlibs import param_init
          import paddle.nn as nn
          linear = nn.Linear(2, 4)
          param_init.constant_init(linear.weight, value=2.0)
          print(linear.weight.numpy())
          # result is [[2. 2. 2. 2.], [2. 2. 2. 2.]]
      """
      initializer = nn.initializer.Constant(**kwargs)
      initializer(param, param.block)
  
imports: import paddle.nn
label_desc: Use image node_id 1 for calling a global function with example usage: constant_init(param) without return types