code: def save_param(dirname, var_name_list):
      """save_param"""
      if not os.path.exists(dirname):
          os.makedirs(dirname)
  
      for var_name in var_name_list:
          var = fluid.global_scope().find_var(var_name)
          var_tensor = var.get_tensor()
          np.save(
              os.path.join(dirname, var_name + ".npy"),
              np.array(var_tensor),
          )
  
imports: import os
  import sys
  import argparse
  import time
  import numpy
  import logging
  import pickle
  import shutil
  import glob
  import pgl
  from pgl.utils import paddle_helper
  import paddle
  import paddle.fluid
  import paddle.fluid.layers
  from utils import *
  import Dataset
  import model
  from pgl.utils import mp_reader
  from sklearn.metrics import auc, f1_score, precision_recall_curve, roc_auc_score
label_desc: Use image node_id 2 for calling a global function with example usage: save_param(dirname, var_name_list) without return types