code: def judge_params_equal(ema_model, model):
      for ema_param, param in zip(
          ema_model.named_parameters(), model.named_parameters()
      ):
          if not paddle.equal_all(ema_param[1], param[1]):
              # print("Difference in", ema_param[0])
              return False
      return True
  
imports: import numpy
  import paddle
label_desc: Use image node_id 1 for calling a global function with example usage: judge_params_equal(ema_model, model) and returns: True, False