code: def get_params(self):
      wd_params, nowd_params = [], []
      for name, module in self.named_modules():
          if isinstance(module, (nn.Linear, nn.Conv2d)):
              wd_params.append(module.weight)
              if not module.bias is None:
                  nowd_params.append(module.bias)
          elif isinstance(module, nn.BatchNorm2d):
              nowd_params += list(module.parameters())
      return wd_params, nowd_params
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from ParsingResnet import Resnet18
label_desc: Use image node_id 4 for calling the ContextPath obj's underlying member method code with example usage: obj.get_params() and returns: wd_params,  nowd_params