code: def _extract_kwargs(kwargs):
      if "stride" in kwargs:
          stride = kwargs["stride"]
      else:
          stride = 1
      # TODO: process str type padding
      if "padding" in kwargs:
          padding = kwargs["padding"]
      else:
          padding = 0
      if "dilation" in kwargs:
          dilation = kwargs["dilation"]
      else:
          dilation = 1
      if "output_padding" in kwargs:
          output_padding = kwargs["output_padding"]
      else:
          output_padding = 0
  
      return stride, padding, dilation, output_padding
  
file_path: ColossalAI/colossalai/fx/tracer/meta_patch/patched_function/convolution.py
imports: import collections
  import math
  from itertools import repeat
  import torch
  from ...registry import meta_patched_function
label_desc: Use image node_id 2 for calling a global function with example usage: _extract_kwargs(kwargs) and returns: stride,  padding,  dilation,  output_padding