code: def set_value(attr_name, value, is_gpu_available):
      """Given name of ParamAttr, set numpy value to the parameter in global_scope
  
      Args:
          attr_name(string): ParamAttr name of parameter
          value(np.array): numpy value
          is_gpu_available(bool): whether is gpu available
      """
      place = (
          fluid.CUDAPlace(0) if is_gpu_available else fluid.CPUPlace()
      )
      var = _fetch_var(attr_name, return_numpy=False)
      var.set(value, place)
  
imports: import paddle.fluid
  from paddle.fluid.executor import _fetch_var
  from parl.utils import machine_info
label_desc: Use image node_id 3 for calling a global function with example usage: set_value(attr_name, value, is_gpu_available) without return types