code: def _numpy_update(self, target_model, decay):
      target_parameters = dict(target_model.named_parameters())
      updated_parameters = {}
      for name, param in self.model.named_parameters():
          updated_parameters[name] = (
              decay * target_parameters[name].detach().cpu().numpy()
              + (1 - decay) * param.detach().cpu().numpy()
          )
      return updated_parameters
  
imports: import numpy
  import unittest
  import os
  from copy import deepcopy
  from collections import OrderedDict
  import torch
  import torch.nn
  import torch.optim
  from parl.utils import get_gpu_count
  import parl
label_desc: Use image node_id 3 for calling the ModelBaseTest obj's underlying member method code with example usage: obj._numpy_update(target_model, decay) and returns: updated_parameters