class_docstr: Inspects a given class and collects information about its instance
  methods.
  
  Args:
      cls (Type): The class to inspect.
code: def __init__(self, cls: Type):
      self._cls = cls
      self._signature_dict: Dict[str, Signature] = {}
      self._source_dict: Dict[str, str] = {}
  
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 1 to create a new Inspector object  with example: obj = Inspector(cls)