class_docstr: Inspects a given class and collects information about its instance
  methods.
  
  Args:
      cls (Type): The class to inspect.
docstr: Returns the parameters of the inspected function :obj:`func`.
  
  Args:
      func (str or callable): The function.
      exclude (list[str], optional): The parameter names to exclude.
          (default: :obj:`None`)
docstr_tok: ["Returns","the","parameters","of","the","inspected","function",":","obj",":","`","func","`",".","Args",":","func","(","str","or","callable",")",":","The","function",".","exclude","(","list","[","str","]",",","optional",")",":","The","parameter","names","to","exclude",".","(","default",":",":","obj",":","`","None","`",")"]
code: def get_params(
      self,
      func: Union[Callable, str],
      exclude: Optional[List[str]] = None,
  ) -> List[Parameter]:
      r"""Returns the parameters of the inspected function :obj:`func`.
  
      Args:
          func (str or callable): The function.
          exclude (list[str], optional): The parameter names to exclude.
              (default: :obj:`None`)
      """
      return list(self.get_param_dict(func, exclude).values())
  
imports: import inspect
  import re
  import sys
  import typing
  from typing import Any, Callable, Dict, List, NamedTuple, Optional, Type, Union
  from torch import Tensor
label_desc: Use image node_id 11 for calling the Inspector obj's underlying member method code with example usage: obj.get_params(func, exclude) and returns: list