code: def get_forward_defaults(model):
      """
      This function is to get all the defaults
      It will return a list of default values
      E.g.
      def forward(self, a, b=1, c: int = 3, *args, **kwargs):
          pass
      it will return (1, 3)
      """
      from bigdl.nano.pytorch.lightning import LightningModule
      from bigdl.nano.pytorch.model import AcceleratedLightningModule
  
      forward_defaults = inspect.getfullargspec(model.forward).defaults
      if isinstance(model, LightningModule):
          if not isinstance(model, AcceleratedLightningModule):
              # forward param list for compiled model
              forward_defaults = get_forward_defaults(model.model)
      return forward_defaults
  
imports: import inspect
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: get_forward_defaults(model) and returns: forward_defaults