code: def get_parameter(model, name):
      """
      Finds the named parameter within the given model.
      """
      for n, p in model.named_parameters():
          if n == name:
              return p
      raise LookupError(name)
  
imports: import contextlib
  import copy
  import inspect
  from collections import OrderedDict
  import torch
label_desc: Use image node_id 6 for calling a global function with example usage: get_parameter(model, name) and returns: p