docstr: This function is to get all the arguments(excepts *args and **kwargs)
  It will return a tuple of seven things is returned:
  (args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotations).
  'args' is a list of the parameter names.
  'varargs' and 'varkw' are the names of the * and ** parameters or None.
  'defaults' is an n-tuple of the default values of the last n parameters.
  'kwonlyargs' is a list of keyword-only parameter names.
  'kwonlydefaults' is a dictionary mapping names from kwonlyargs to defaults.
  'annotations' is a dictionary mapping parameter names to annotations.
docstr_tok: ["This","function","is","to","get","all","the","arguments","(","excepts","*","args","and","*","*","kwargs",")","It","will","return","a","tuple","of","seven","things","is","returned",":","(","args",",","varargs",",","varkw",",","defaults",",","kwonlyargs",",","kwonlydefaults",",","annotations",")",".","'args","'","is","a","list","of","the","parameter","names",".","'varargs","'","and","'varkw","'","are","the","names","of","the","*","and","*","*","parameters","or","None",".","'defaults","'","is","an","n-tuple","of","the","default","values","of","the","last","n","parameters",".","'kwonlyargs","'","is","a","list","of","keyword-only","parameter","names",".","'kwonlydefaults","'","is","a","dictionary","mapping","names","from","kwonlyargs","to","defaults",".","'annotations","'","is","a","dictionary","mapping","parameter","names","to","annotations","."]
code: def get_forward_fullargspec(model):
      """
      This function is to get all the arguments(excepts *args and **kwargs)
      It will return a tuple of seven things is returned:
      (args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotations).
      'args' is a list of the parameter names.
      'varargs' and 'varkw' are the names of the * and ** parameters or None.
      'defaults' is an n-tuple of the default values of the last n parameters.
      'kwonlyargs' is a list of keyword-only parameter names.
      'kwonlydefaults' is a dictionary mapping names from kwonlyargs to defaults.
      'annotations' is a dictionary mapping parameter names to annotations.
      """
      from bigdl.nano.pytorch.lightning import LightningModule
      from bigdl.nano.pytorch.model import AcceleratedLightningModule
  
      forward_fullargspec = inspect.getfullargspec(model.forward)
      if isinstance(model, LightningModule):
          if not isinstance(model, AcceleratedLightningModule):
              # forward param list for compiled model
              forward_fullargspec = ModelInfo.get_forward_fullargspec(
                  model.model
              )
      return forward_fullargspec
  
imports: import inspect
  from typing import Optional, Union
  import torch
label_desc: Use image node_id 2 for calling the ModelInfo obj's underlying member method code with example usage: obj.get_forward_fullargspec(model) and returns: forward_fullargspec