code: def _get_default_kwargs(f: Callable) -> "OrderedDict[str, Any]":
      """Get all default keyword arguments from function signature
  
      Example::
  
      >> def f(self, a, b=9):
             pass
      >> _get_default_kwargs(f)
      {"b": 9}
      """
      kwargs = {}
      for name, param in signature(f).parameters.items():
          if param.default is not param.empty:
              kwargs[name] = param.default
          elif param.kind is param.VAR_POSITIONAL:
              kwargs[name] = ()
          elif param.kind is param.VAR_KEYWORD:
              kwargs[name] = {}
      return OrderedDict(kwargs)
  
imports: import functools
  import warnings
  from collections import OrderedDict
  from inspect import getfullargspec, signature
  from typing import Any, Callable, Dict, Optional, Tuple, Union
  import torch
  from torch.ao.quantization.quant_type import QuantType
  from torch.fx import Node
  from torch.nn.utils.parametrize import is_parametrized
label_desc: Use image node_id 26 for calling a global function with example usage: _get_default_kwargs(f) and returns: OrderedDict