code: def get_module_forward_input_names(module: nn.Module):
      params = inspect.signature(module.forward).parameters
      param_names = [
          k for k, v in params.items() if not str(v).startswith("*")
      ]
      return param_names
  
imports: import inspect
  from typing import Optional
  import torch
  import torch.nn
label_desc: Use image node_id 1 for calling a global function with example usage: get_module_forward_input_names(module) and returns: param_names